author | Paul Crowley <paul@lshift.net> |
Fri, 06 Mar 2009 12:46:22 +0000 | |
changeset 73 | 5d81ec164e5d |
parent 72 | 582808b47653 |
child 74 | 9d2ae2841bf2 |
permissions | -rw-r--r-- |
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 | 6 |
- make mercurial_server.paths module; a function sets a global based on sys.argv[0] |
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 |
72 | 9 |
|
67
fd16d9a1234b
Put .py files into a directory of their own
Paul Crowley <paul@lshift.net>
parents:
65
diff
changeset
|
10 |
Todo: |
fd16d9a1234b
Put .py files into a directory of their own
Paul Crowley <paul@lshift.net>
parents:
65
diff
changeset
|
11 |
|
65
d5c3bb61607b
Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
12 |
- move most of do-refresh-auth into a module |
d5c3bb61607b
Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
13 |
- give that module a hook, and call the hook instead of the exe |
d5c3bb61607b
Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
14 |
- abolish refresh-auth shell script and rename do-refresh-auth to refresh-auth |
d5c3bb61607b
Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
15 |
- replace env vars with Python globals |
d5c3bb61607b
Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
16 |
- change refresh-auth to refer to hg-ssh directly, abolish hg-ssh-wrapper |
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 |