]> scripts.mit.edu Git - wizard.git/blob - TODO
Reorganize and prune TODO list.
[wizard.git] / TODO
1 The Git Autoinstaller
2
3 TODO NOW:
4
5 - Plugin-ify!
6
7 - Add support for mypristine workflow
8 - Wordpress needs to get rid of the siteurl hack, so that it actually
9   has a fully-qualified URL http://foo.scripts.mit.edu/blah.  This will
10   also fix Wordpress's cron functionality.  We should be careful not
11   to write over users who are on vhosts.  We should figure out who is
12   still on twiddle paths.  We should make sure the redirect is handled
13   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 - If you try to do an install on scripts w/o sql, it will sign you up but fail to write
25   the sql.cnf file. This sucks.
26
27 - Web application for installing autoinstalls has a hard problem
28   with credentials (as well as installations that are not conducted
29   on an Athena machine.)  We have some crazy ideas involving a signed
30   Java applet that uses jsch to SSH into athena.dialup and perform
31   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     - Figure out why Sphinx sometimes fails to crossref :func: but wil
41       crossref :meth:, even though the dest is very clearly a function.
42       Example: :func:`wizard.app.php.re_var`
43     - The TODO extension for Sphinx doesn't properly force a full-rebuild
44     - Make single user mass-migrate work when not logged in as root.  The
45       primary difficulty is making the parallel-find information easily
46       accessible to individual users: perhaps we can do a single-user
47       parallel-find on the fly.
48     - Don't use the scripts heuristics unless we're on scripts with the
49       AFS patch.  Check with `fs sysname`
50     - Make 'wizard summary' generate nice pretty graphs of installs by date
51       (more histograms, will need to check actual .scripts-version files.)
52     - It should be able to handle installs like Django where there's a component
53       that gets installed in web_scripts and another directory that gets installed
54       in Scripts.
55
56 - ACLs is a starting point for sending mail to users, but it has
57   several failure modes:
58     - Old maintainers who don't care who are still on the ACL
59     - Private AFS groups that aren't mailing lists and that we
60       can't get to
61   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 NOTES:
82
83 [ XXX: upgrade.rst ]
84
85 - It is not required nor expected for update scripts to exist for all
86   intervening versions that were present pre-migration; only for it
87   to work on the most recent migration.
88
89 [ XXX: repo.rst ]
90
91 - Currently all repositories are initialized with --shared, which
92   means they have basically ~no space footprint.  However, it
93   also means that /mit/scripts/wizard/srv MUST NOT lose revs after
94   deployment.
95
96 OVERALL PLAN:
97
98 [ XXX: doc/deps.rst ]
99 * Some parts of the infrastructure will not be touched, although I plan
100   on documenting them.  Specifically, we will be keeping:
101
102     - get-homedirs.sh. which needs to be run as root on scripts.  Store
103       in /mit/scripts/sec-tools/store/scriptslist
104
105     - parallel-find.pl, and the resulting
106       /mit/scripts/sec-tools/store/versions
107
108 [ XXX: doc/deploy.rst ]
109       GET APPROVAL BEFORE PROCEEDING ANY FURTHER;
110       THIS IS PUSHING THE CHANGES TO THE PUBLIC
111
112       NOTE: The following commands are to be run on not-backward.mit.edu.
113       You'll need to add daemon.scripts-security-upd to
114       scripts-security-upd to get bits to do this.  Make sure you remove
115       these bits when you're done.
116
117    10. Run `wizard research appname`
118        which uses Git commands to check how many
119        working copies apply the change cleanly, and writes out a logfile
120        with the working copies that don't apply cleanly.  It also tells
121        us about "corrupt" working copies, i.e. working copies that
122        have over a certain threshold of changes.
123
124    11. Run `wizard mass-upgrade appname`, which applies the update to all working
125        copies possible.
126
127    12. Run parallel-find.pl to update our inventory
128
129 [ XXX: doc/layout.rst ]
130 * The repository for a given application will contain the following files:
131
132     - The actual application's files, as from the official tarball
133
134     - A .scripts directory, with the intent of holding Scripts specific files
135       if they become necessary.
136
137         - .scripts/dsn, overriding database source name
138