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