]> scripts.mit.edu Git - wizard.git/blobdiff - TODO
Move a number of common parameters to the baton.
[wizard.git] / TODO
diff --git a/TODO b/TODO
index 53e33c42c2b21fea6855086940afe4151d49dfc1..2f44e559c86b6fb996cc32271446da15c741e62b 100644 (file)
--- a/TODO
+++ b/TODO
@@ -2,39 +2,43 @@ The Git Autoinstaller
 
 TODO NOW:
 
-- Make sure massmigrate cleanly ignores already migrated
-  installs
-- Push su code to migrate, not mass-migrate (only do it
-  as root, this serves as a safe guard)
-- Rename massmigrate to mass-migrate
-- Move migration code into Wizard, since we already deal
-  with installation there anyway (this TODO has been updated
-  accordingly)
+- Remove "already migrated" cruft that will accumulate if we do small
+  --limit and then increase.
+- Allow to migrate just one user (user filtering of installs, also
+  has userland capabilities, although it means we need some way of
+  selectively publishing the versions directory)
+- Make migrate script rollback if it's interrupted (especially if
+  by signal)
 
 - Make parallel-find.pl use `sudo -u username git describe --tags`
-  to determine version
-- Remove .scripts/version generation in install script
-- Make the installer use 'wizard install'
+  to determine version.  Make parallel-find.pl have this have greater
+  precedence.  This also means, however, that we get
+  full mediawiki-1.2.3-2-abcdef names (Have patch, pending testing and commit)
+- Make the installer use 'wizard install' /or/ do a migration
+  after doing a normal install (the latter makes it easier
+  for mass-rollbacks).
+- Have the upgrader do locking (.scripts/lock, probably)
+
+- Relax MediaWiki regexes to terminate on semicolon, and not
+  require its own line.
 
 - Better error message if daemon/scripts-security-upd
   is not on scripts-security-upd list
 
-- Fix retarded logging mechanism
-    - This is interesting because the non-retarded way would be
-      to have each subprocess send data through stdout, but
-      this runs the risk of filling up the tubes.  Maybe just
-      create a log directory and give each process different
-      files.
-- Remove log functionality; we don't care about it besides
-  for parsing old style installs
+- MediaWiki upgrade script does not give proper exit code;
+  if it fails, so be sure to check for "Done" in the last 10 characters.
+- Custom merge algo: absolute php.ini symlinks to relative symlinks
+- Custom merge algo: re-constitute AdminSettings.php if missing.  It looks
+  like this is the case for most 1.5.8 installs (check what the merges
+  do in both directions).  All 1.11.0 installs except four have
+  the other (check diff -u with all in /root)
 
-- The great initial deploy:
-    - Turn on mediawiki new autoinstaller
-    - Migrate all mediawiki installs
+- Make upgrade and install take version as a parameter
 
 - Redo Wordpress conversion, with an eye for automating everything
   possible (such as downloading the tarball and unpacking)
 
+- Genericize callAsUser and drop_priviledges in shell
 - Summary script should be more machine friendly, and should not
   output summary charts when I increase specificity
 
@@ -181,6 +185,9 @@ A   6. Check for empty directories and add stub files as necessary.
 
 /- wizard prepare-new --
 
+    Currently not used for anything besides parallel-find.pl, but
+    we reserve the right to place files in here in the future.
+
 A       mkdir .scripts
 A       echo "Deny from all" > .scripts/.htaccess
 
@@ -260,16 +267,8 @@ A  15. Run `wizard mass-upgrade appname`, which applies the update to all workin
 
     - The actual application's files, as from the official tarball
 
-    - A .scripts directory, which contains the following information:
-
-        * .scripts/.htaccess to prevent this directory from being accessed
-          from the web.
-
-        * .scripts/old-version (optional) the old value of .scripts-version,
-          basically used for reverting an install to pre-migrated state.
-
-        * .scripts/lock (generated) which locks the autoinstall during an upgrade
-
-        * .scripts/version (deprecated)
+    - A .scripts directory, with the intent of holding Scripts specific files
+      if they become necessary.
 
+        * .scripts/lock (generated) which locks an autoinstall during upgrade