]> scripts.mit.edu Git - wizard.git/blobdiff - TODO
Update migration semantics to work better.
[wizard.git] / TODO
diff --git a/TODO b/TODO
index 6b4d905768c3504c818005ff56eedcaa31b73235..ebd023968ab6186f807aef6268e4c8d9c6c41adf 100644 (file)
--- a/TODO
+++ b/TODO
@@ -2,22 +2,18 @@ The Git Autoinstaller
 
 TODO NOW:
 
-- Update docs to note that .scripts-version is kept in its original place
-- Make sure we're not generating .scripts/version
 - Fix MediaWiki 1.11.0 Setup.php (we incorrectly applied the scripts
   patch when it was actually not in this version) --- we need to figure
   out the sequencer NOW.
 - Genericize callAsUser and drop_priviledges in shell
 - Remove "already migrated" cruft that will accumulate if we do small
   --limit and then increase.
-- .git to .git.bak semantics are not actually helpful (if we run with
-  force a bunch of times, we won't notice that we nuked a .git directory)
 - Make sure to generate reports about what errored and what had warnings.
   Same goes for our output
 - Change from using hashes to using numbers corresponding to when we
   processed them (padded to 7 width) and make sure we sort listdir
   the versions directory.
-- Allow to migrate just one user
+- Allow to migrate just one user (user filtering of installs)
 - Make sure MediaWiki upgrade script gives correct exit code if it fails.
 - Custom merge algo: absolute php.ini symlinks to relative symlinks
 - Custom merge algo: re-constitute AdminSettings.php if missing.  It looks
@@ -25,8 +21,9 @@ TODO NOW:
   do in both directions).  All 1.11.0 installs except four have
   the other (check diff -u with all in /root)
 - Further reduce logging by making sh.call() debug?
-- Make git tell us about unversioned files in info (this will have a lot
-  of noise)
+- Fix dirty code for handling remigrating migrated code.  This is
+  dirty because we overload the meaning behind version "1.2.3"
+  for both the pristine copy, and for an unmigrated install.
 
 - Make parallel-find.pl use `sudo -u username git describe --tags`
   to determine version.  Make parallel-find.pl have this have greater
@@ -34,6 +31,7 @@ TODO NOW:
 - 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/migrater do locking (.scripts/lock, probably)
 
 - Better error message if daemon/scripts-security-upd
   is not on scripts-security-upd list
@@ -194,6 +192,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
 
@@ -273,16 +274,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