]> scripts.mit.edu Git - wizard.git/blob - TODO
Implement all user information hooks.
[wizard.git] / TODO
1 - [SCRIPTS] MediaWiki 1.9.3 and 1.6.7
2
3 - util.fetch() should use urllib under the hood, not httplib.  Code
4   has to be changed.  We should log if we get redirected.
5 - Be a little more intelligent when perform web checks; for example,
6   if we get a forbidden message, that probably means we go the right
7   address but it's blocked off; if we get a 404 message, that probably
8   means wrong address. Account Unknown is something particularly good
9   to check for.
10 - Wordpress module can do something intelligent if we get redirected
11   to the installation page.
12 - The need to run egg_info can make things a little fragile when pulling
13   if you forget.  How can we make this less easily forgotten?
14 - wizardResolve* files seem to get left in tmp en-mass, and we don't
15   know why.
16
17 - Plugin-ify! Hook-ify! In more detail, applications should all be moved
18   out into plugins, scripts specific behavior should be moved into
19   plugins, and hooks need to be made available so that we can exert
20   the correct level of control.
21
22 - [SCRIPTS] Wordpress needs to get rid of the siteurl hack, so that it
23   actually has a fully-qualified URL http://foo.scripts.mit.edu/blah.
24   This will also fix Wordpress's cron functionality.  We should be
25   careful not to write over users who are on vhosts.  We should figure
26   out who is still on twiddle paths.  We should make sure the redirect
27   is handled correctly.
28
29 - Remerges aren't reflected in the parent files, so `git diff` output is
30   spurious.  Not sure how to fix this w/o tree hackery.
31 - Sometimes users remove files. Well, if those files change, they automatically
32   get marked as conflicted.  Maybe we should say for certain files "if they're
33   gone, they're gone forever"?  What is the proper resolution?
34
35 - Parse output HTML for class="error" and give those errors back to the user (done),
36   then boot them back into configure so they can enter in something different
37
38 - [SCRIPTS] If you try to do an install on scripts w/o sql, it will sign
39   you up but fail to write the sql.cnf file. This sucks.
40
41 - [SCRIPTS] Web application for installing autoinstalls has a hard
42   problem with credentials (as well as installations that are not
43   conducted on an Athena machine.)  We have some crazy ideas involving a
44   signed Java applet that uses jsch to SSH into athena.dialup and
45   perform operations.
46
47 - Pay back code debt
48     - Tidy up common code in callAsUser and drop_priviledges in shell;
49       namely cooking up the sudo and environment variable lines
50     - Summary script should be more machine friendly, and should not
51       output summary charts when I increase specificity
52
53 - Other stuff
54     - Add support for mypristine workflow
55     - Figure out why Sphinx sometimes fails to crossref :func: but wil
56       crossref :meth:, even though the dest is very clearly a function.
57       Example: :func:`wizard.app.php.re_var`
58     - The TODO extension for Sphinx doesn't properly force a full-rebuild
59     - Make single user mass-migrate work when not logged in as root.  The
60       primary difficulty is making the parallel-find information easily
61       accessible to individual users: perhaps we can do a single-user
62       parallel-find on the fly.
63     - Don't use the scripts heuristics unless we're on scripts with the
64       AFS patch.  Check with `fs sysname`
65     - Make 'wizard summary' generate nice pretty graphs of installs by date
66       (more histograms, will need to check actual .scripts-version files.)
67     - It should be able to handle installs like Django where there's a component
68       that gets installed in web_scripts and another directory that gets installed
69       in Scripts.
70
71 - [SCRIPTS] ACLs is a starting point for sending mail to users, but it
72   has several failure modes:
73     - Old maintainers who don't care who are still on the ACL
74     - Private AFS groups that aren't mailing lists and that we can't get
75       to A question is whether or not sending mail actually helps us:
76       many users will probably have to come back to us for help; many
77       other users won't care.
78     - Whatever happens here should be used to improve user.email()
79
80 [ XXX: metadata.rst ]
81
82 COMMIT MESSAGE FIELDS:
83
84 Installed-by: username@hostname
85 Pre-commit-by: Real Name <username@mit.edu>
86 Upgraded-by: Real Name <username@mit.edu>
87 Migrated-by: Real Name <username@mit.edu>
88 Wizard-revision: abcdef1234567890
89 Wizard-args: /wizard/bin/wizard foo bar baz
90
91 GIT COMMIT FIELDS:
92
93 Committer: Real Name <username@mit.edu>
94 Author: lockername locker <lockername@scripts.mit.edu>
95
96 OVERALL PLAN:
97
98 [ XXX: doc/deps.rst ]
99 * Some parts of the infrastructure will not be touched, although I plan
100   on documenting them.  Specifically, we will be keeping:
101
102     - get-homedirs.sh. which needs to be run as root on scripts.  Store
103       in /mit/scripts/sec-tools/store/scriptslist
104
105     - parallel-find.pl, and the resulting
106       /mit/scripts/sec-tools/store/versions
107
108 [ XXX: doc/deploy.rst ]
109       GET APPROVAL BEFORE PROCEEDING ANY FURTHER;
110       THIS IS PUSHING THE CHANGES TO THE PUBLIC
111
112       NOTE: The following commands are to be run on not-backward.mit.edu.
113       You'll need to add daemon.scripts-security-upd to
114       scripts-security-upd to get bits to do this.  Make sure you remove
115       these bits when you're done.
116
117    10. Run `wizard research appname`
118        which uses Git commands to check how many
119        working copies apply the change cleanly, and writes out a logfile
120        with the working copies that don't apply cleanly.  It also tells
121        us about "corrupt" working copies, i.e. working copies that
122        have over a certain threshold of changes.
123
124    11. Run `wizard mass-upgrade appname`, which applies the update to all working
125        copies possible.
126
127    12. Run parallel-find.pl to update our inventory
128
129 [ XXX: doc/metadata.rst ]
130 * The repository for a given application will contain the following files:
131
132     - The actual application's files, as from the official tarball
133
134     - A .scripts directory, with the intent of holding Scripts specific files
135       if they become necessary.
136
137         - .scripts/dsn, overriding database source name
138