doc/PLAN
author Paul Crowley <paul@lshift.net>
Fri, 06 Mar 2009 13:03:46 +0000
changeset 75 5af89523a9d3
parent 74 9d2ae2841bf2
child 76 e6a35b0f853c
permissions -rw-r--r--
give refreshauth.py a hook and call that in hgadmin hgrc

Plan: do away with shell scripts, and un-hard-wire the path /usr/local/lib/mercurial-server.

Done:

- move all modules into mercurial_server directory
- make mercurial_server.paths module; a function sets a global based on sys.argv[0]
- reduce hg-ssh-wrapper to nothing by moving all functionality into hg-ssh
- same for refresh-auth
- move most of do-refresh-auth into a module
- give that module a hook, and call the hook instead of the exe

Todo:

- abolish refresh-auth shell script and rename do-refresh-auth to refresh-auth
- replace env vars with Python globals
- change refresh-auth to refer to hg-ssh directly, abolish hg-ssh-wrapper
- add comment check and -f flag to refresh-auth
- change install script to a Python script, abolishing hginit