On Thu, Feb 2, 2012 at 2:17 PM, lkcl luke <[email protected]> wrote:
>
> okay!  right.  i now have working code:
>    git clone git://pyjs.org/pyjamaswebwiki

i think you mean `pyjamasgitwiki`, and you forgot the `/git/` dir ...
(we should remove that extra /git/ dir anyway, git requests have a
specific signature that's easy to match, should we move to an http
solution [inevitable]):

git clone git://pyjs.org/git/pyjamasgitwiki

... is proper URI.

> it's based on simplewiki, modified to have a "save" button, and the
> back-end uses dulwich (which is a complete bitch, btw).rather than
> save to the local filesystem i faked up adding a file to the index.
> destroyed several git object stores before getting this right :)
>
> so, although i'd _like_ to add this to the pyjamas repository, so that
> the wiki files actually live *in* the pyjamas repository, to be really
> blunt i don't trust the code yet not to completely fuck up the pyjamas
> repository.
>
> so, for a while, i'll run them in tandem (the new one and ikiwiki) -
> see how people get on.  they'll operate off the same wiki git
> repository.

i couldn't get this running ...

) `static` symlink tries to be created everytime
) `cjson` doesn't exist in 2.7 IIRC ... either way should try `json`
) `dulwich` maybe not exist
) config not exist ....
) wtf? global config? nay
) doesnt create new repo on init
) you committed hardcode path to /home/lkcl ...
) commited a bunch of junk? test*.py and PythonCGIServer.py?
) run_server.sh has an arg ... hardcoded path, doesnt respect it anyway
) because of ^^^ all relative paths break (must be in output dir when ran)
) loads/dumps not encode/decode
) ... some other prob, and then i quit

heh, did this ever really run?  i have my doubts ... python 2.7 is the current.

-- 

C Anthony

Reply via email to