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