Wizard is the new autoinstaller management system for
-scripts.mit.edu. It resides in:
+scripts.mit.edu. It resides on not-backward.mit.edu at:
- /mit/scripts/wizard
-
-It runs out of the box with the binaries in bin/; try
-`bin/wizard help` for some ideas on what to do.
-Repositories for autoinstall applications should reside
-in srv/, but are not versioned here.
+ /wizard
Developers, read on:
internally. Use helper functions liberally. Place all error classes
at the bottom.
+== 'app' package ==
+
+There is a certain amount of application specific code that
+needs to be written for each autoinstaller. These go here.
+
+== Notes when fiddling with application repositories ==
+
+- 'git rebase -p -i' is your friend. Use it to rewrite history!
+
+- The obvious scripts specific change that a new repository
+ will have are the patches, but you should also check the
+ autoinstall scripts if they do anything special. In particular:
+
+ - If it's a PHP application, it's probably inserting a php.ini
+ file and creating symlinks to it. Be sure to replace the
+ appropriate values with placeholders WIZARD_SESSIONNAME
+ and WIZARD_TMPDIR
+
+ - You will probably need to generate relevant configuration
+ files for each version
+
== Design decisions ==
- A mass tool will plow ahead even if the subcommand throws
- Better error message if daemon/scripts-security-upd
is not on scripts-security-upd list
-- Put php.ini links in repos (probably will need another
- script in .scripts)
-
- Add repository flag to migrate so that we can specify an
arbitrary repository to migrate to
- The great initial deploy:
- Turn on mediawiki new autoinstaller
- - Migrate all mediawik installs
+ - Migrate all mediawiki installs
- Consider making usermode wizard operation a support mode
(mostly for letting users upgrade things themself)