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