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