author | Paul Crowley <paul@lshift.net> |
Fri, 06 Mar 2009 12:27:16 +0000 | |
changeset 70 | abb9ed8972e0 |
parent 67 | fd16d9a1234b |
child 72 | 582808b47653 |
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 |
67
fd16d9a1234b
Put .py files into a directory of their own
Paul Crowley <paul@lshift.net>
parents:
65
diff
changeset
|
6 |
|
fd16d9a1234b
Put .py files into a directory of their own
Paul Crowley <paul@lshift.net>
parents:
65
diff
changeset
|
7 |
Todo: |
fd16d9a1234b
Put .py files into a directory of their own
Paul Crowley <paul@lshift.net>
parents:
65
diff
changeset
|
8 |
|
65
d5c3bb61607b
Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
9 |
- make mercurial_server.paths module; a function sets a global based on sys.argv[0] |
d5c3bb61607b
Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
10 |
- reduce hg-ssh-wrapper to nothing by moving all functionality into hg-ssh |
d5c3bb61607b
Describe plan to abolish shell scripts and un-hard-wire paths
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
11 |
- same for refresh-auth |
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 |