]> scripts.mit.edu Git - wizard.git/blob - TODO
s/Upgrade/Update/ for Wordpress.
[wizard.git] / TODO
1 - Bug out immediately if tags are not present in the master tip
2   of the repository
3
4 - [SCRIPTS] MediaWiki 1.6.7, 1.9.3 and 1.10.0
5
6 - geofft comments:
7     "Connection to scripts.mit.edu closed" is confusing
8     the URL should be easier to copy and paste, which means we should
9       move it out of dialog
10     We should ... upgrade our autoinstaller
11     Apparently installing WordPress updates or themes never indicates
12       completion, and just says "Downloading..", and you have to guess
13       when it's done
14
15 - [SCRIPTS] phpBB
16     - phpBB or phpbb? (right now it's the former)
17     - need an upgrade story; srv needs more versions
18     - need a story about install/ contrib/
19
20 - Give users a "certificate" of their merge, which they can
21   use to reuse that merge commit if something unrelated fails.
22
23 - Human readable quota output
24 - Nice error message on --continue if you forgot to git add your
25   resolved file (look for conflict markers)
26 - The merge interface is a kind of major UI disaster; you won't
27   be able to use it unless you know how Git works.  Also, the
28   merges can be quite difficult to resolve if upstream has made
29   large formatting changes like reindenting.  We may also consider
30   providing a --rebase option, which seems to do better when
31   big problems like this show up.
32
33 - Better mass-* support for just one user (this includes letting
34   a user mass upgrade just his own autoinstalls)
35
36 - Show progress or something when upgrading
37 - Allow 'sticky notes' for future upgraders to notice
38 - .wizard/url semantics are subtly wrong: in particular, if we
39   explicitly configure a URL at install, we should be able to
40   detect this URL as baked in from the configuration
41
42 - Rerere support doesn't actually work
43 - "Version 3.0.0 doesn't exist; did you mean 3.0?"
44 - Be a little more intelligent when perform web checks; for example,
45   if we get a forbidden message, that probably means we go the right
46   address but it's blocked off; if we get a 404 message, that probably
47   means wrong address. Account Unknown is something particularly good
48   to check for.
49 - Wordpress module can do something intelligent if we get redirected
50   to the installation page.
51 - wizardResolve* files seem to get left in tmp en-mass, and we don't
52   know why.
53
54 - [SCRIPTS] Wordpress needs to get rid of the siteurl hack, so that it
55   actually has a fully-qualified URL http://foo.scripts.mit.edu/blah.
56   This will also fix Wordpress's cron functionality.  We should be
57   careful not to write over users who are on vhosts.  We should figure
58   out who is still on twiddle paths.  We should make sure the redirect
59   is handled correctly.
60
61 - Remerges aren't reflected in the parent files, so `git diff` output is
62   spurious.  Not sure how to fix this w/o tree hackery.
63 - Sometimes users remove files. Well, if those files change, they automatically
64   get marked as conflicted.  Maybe we should say for certain files "if they're
65   gone, they're gone forever"?  What is the proper resolution?
66
67 - Parse output HTML for class="error" and give those errors back to the user (done),
68   then boot them back into configure so they can enter in something different
69
70 - [SCRIPTS] If you try to do an install on scripts w/o sql, it will sign
71   you up but fail to write the sql.cnf file. This sucks.
72
73 - [SCRIPTS] Web application for installing autoinstalls has a hard
74   problem with credentials (as well as installations that are not
75   conducted on an Athena machine.)  We have some crazy ideas involving a
76   signed Java applet that uses jsch to SSH into athena.dialup and
77   perform operations.
78
79 - Pay back code debt
80     - Tidy up common code in callAsUser and drop_priviledges in shell;
81       namely cooking up the sudo and environment variable lines
82     - Summary script should be more machine friendly, and should not
83       output summary charts when I increase specificity
84     - util.fetch() should use urllib under the hood, not httplib.  Code
85       has to be changed.  We should log if we get redirected.
86
87 - Other stuff
88     - Add support for mypristine workflow
89     - Figure out why Sphinx sometimes fails to crossref :func: but wil
90       crossref :meth:, even though the dest is very clearly a function.
91       Example: :func:`wizard.app.php.re_var`
92     - The TODO extension for Sphinx doesn't properly force a full-rebuild
93     - Make single user mass-migrate work when not logged in as root.  The
94       primary difficulty is making the parallel-find information easily
95       accessible to individual users: perhaps we can do a single-user
96       parallel-find on the fly.
97     - Don't use the scripts heuristics unless we're on scripts with the
98       AFS patch.  Check with `fs sysname`
99     - Make 'wizard summary' generate nice pretty graphs of installs by date
100       (more histograms, will need to check actual .scripts-version files.)
101     - It should be able to handle installs like Django where there's a component
102       that gets installed in web_scripts and another directory that gets installed
103       in Scripts.
104
105 - [SCRIPTS] ACLs is a starting point for sending mail to users, but it
106   has several failure modes:
107     - Old maintainers who don't care who are still on the ACL
108     - Private AFS groups that aren't mailing lists and that we can't get
109       to A question is whether or not sending mail actually helps us:
110       many users will probably have to come back to us for help; many
111       other users won't care.
112     - Whatever happens here should be used to improve user.email()
113
114 [ XXX: metadata.rst ]
115
116 COMMIT MESSAGE FIELDS:
117
118 Installed-by: username@hostname
119 Pre-commit-by: Real Name <username@mit.edu>
120 Upgraded-by: Real Name <username@mit.edu>
121 Migrated-by: Real Name <username@mit.edu>
122 Wizard-revision: abcdef1234567890
123 Wizard-args: /wizard/bin/wizard foo bar baz
124
125 GIT COMMIT FIELDS:
126
127 Committer: Real Name <username@mit.edu>
128 Author: lockername locker <lockername@scripts.mit.edu>
129
130 OVERALL PLAN:
131
132 [ XXX: doc/deps.rst ]
133 * Some parts of the infrastructure will not be touched, although I plan
134   on documenting them.  Specifically, we will be keeping:
135
136     - get-homedirs.sh. which needs to be run as root on scripts.  Store
137       in /mit/scripts/sec-tools/store/scriptslist
138
139     - parallel-find.pl, and the resulting
140       /mit/scripts/sec-tools/store/versions
141
142 [ XXX: doc/deploy.rst ]
143       GET APPROVAL BEFORE PROCEEDING ANY FURTHER;
144       THIS IS PUSHING THE CHANGES TO THE PUBLIC
145
146       NOTE: The following commands are to be run on not-backward.mit.edu.
147       You'll need to add daemon.scripts-security-upd to
148       scripts-security-upd to get bits to do this.  Make sure you remove
149       these bits when you're done.
150
151    10. Run `wizard research appname`
152        which uses Git commands to check how many
153        working copies apply the change cleanly, and writes out a logfile
154        with the working copies that don't apply cleanly.  It also tells
155        us about "corrupt" working copies, i.e. working copies that
156        have over a certain threshold of changes.
157
158    11. Run `wizard mass-upgrade appname`, which applies the update to all working
159        copies possible.
160
161    12. Run parallel-find.pl to update our inventory
162
163 [ XXX: doc/metadata.rst ]
164 * The repository for a given application will contain the following files:
165
166     - The actual application's files, as from the official tarball
167
168     - A .scripts directory, with the intent of holding Scripts specific files
169       if they become necessary.
170
171         - .scripts/dsn, overriding database source name
172