X-Git-Url: https://scripts.mit.edu/gitweb/wizard.git/blobdiff_plain/be35f8ddac730fb1100d7cd2b9561e2e3fcc4359..d5a1592d7d682a4d453e05ac5cecea604f35f323:/TODO diff --git a/TODO b/TODO index 53e33c4..547b5b1 100644 --- a/TODO +++ b/TODO @@ -2,39 +2,42 @@ 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. (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 +184,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 +266,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