doc/PLAN
author Paul Crowley <paul@lshift.net>
Sun, 08 Mar 2009 15:19:19 +0000
changeset 93 fc66737db3f0
parent 79 3a58a95fae2f
child 100 db219a5a14f8
permissions -rw-r--r--
remove duplication - don't know how that got there!
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
65
d5c3bb61607b Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     1
Plan: do away with shell scripts, and un-hard-wire the path /usr/local/lib/mercurial-server.
d5c3bb61607b Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     2
67
fd16d9a1234b Put .py files into a directory of their own
Paul Crowley <paul@lshift.net>
parents: 65
diff changeset
     3
Done:
65
d5c3bb61607b Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     4
d5c3bb61607b Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     5
- move all modules into mercurial_server directory
72
582808b47653 All work now in hg-ssh
Paul Crowley <paul@lshift.net>
parents: 67
diff changeset
     6
- make mercurial_server.paths module; a function sets a global based on sys.argv[0]
582808b47653 All work now in hg-ssh
Paul Crowley <paul@lshift.net>
parents: 67
diff changeset
     7
- reduce hg-ssh-wrapper to nothing by moving all functionality into hg-ssh
73
5d81ec164e5d do-refresh-auth now does all the work
Paul Crowley <paul@lshift.net>
parents: 72
diff changeset
     8
- same for refresh-auth
74
9d2ae2841bf2 Move meat of do-refresh-auth into a module
Paul Crowley <paul@lshift.net>
parents: 73
diff changeset
     9
- move most of do-refresh-auth into a module
75
5af89523a9d3 give refreshauth.py a hook and call that in hgadmin hgrc
Paul Crowley <paul@lshift.net>
parents: 74
diff changeset
    10
- give that module a hook, and call the hook instead of the exe
76
e6a35b0f853c Abolish wrapper around refresh-auth
Paul Crowley <paul@lshift.net>
parents: 75
diff changeset
    11
- abolish refresh-auth shell script and rename do-refresh-auth to refresh-auth
78
2a3407a14654 Replaced env vars with Python globals
Paul Crowley <paul@lshift.net>
parents: 76
diff changeset
    12
- replace env vars with Python globals
79
3a58a95fae2f abolish hg-ssh-wrapper
Paul Crowley <paul@lshift.net>
parents: 78
diff changeset
    13
- change refresh-auth to refer to hg-ssh directly, abolish hg-ssh-wrapper
72
582808b47653 All work now in hg-ssh
Paul Crowley <paul@lshift.net>
parents: 67
diff changeset
    14
67
fd16d9a1234b Put .py files into a directory of their own
Paul Crowley <paul@lshift.net>
parents: 65
diff changeset
    15
Todo:
fd16d9a1234b Put .py files into a directory of their own
Paul Crowley <paul@lshift.net>
parents: 65
diff changeset
    16
65
d5c3bb61607b Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    17
- add comment check and -f flag to refresh-auth
d5c3bb61607b Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    18
- change install script to a Python script, abolishing hginit
d5c3bb61607b Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    19
d5c3bb61607b Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff changeset
    20