# HG changeset patch # User Paul Crowley # Date 1235471508 0 # Node ID d5c3bb61607b0f566d63707b34a3965311f07959 # Parent 60c557a63810a0f8f996efc5d320ba77299940dc Describe plan to abolish shell scripts and un-hard-wire paths diff -r 60c557a63810 -r d5c3bb61607b doc/PLAN --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/PLAN Tue Feb 24 10:31:48 2009 +0000 @@ -0,0 +1,17 @@ +Plan: do away with shell scripts, and un-hard-wire the path /usr/local/lib/mercurial-server. + +Steps: + +- 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 +- 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 + +