First page Back Continue Last page Overview Graphics
Implementation: Changeset Rules
There are many rules for writing changesets:
- changesets are numbered in the order you need them to run
- changesets can be run multiple times and have to be written accordingly
- do not generate any stderr output unless it's a warning or error
- changesets run under bash's errexit. All lines of code have to return true
- you cannot change the current directory, but you can use pushd/popd
- you must not use apt-get install -y foo to get its dependencies: list all the dependencies and remove conflicting packages first. This safeguards you against some package removing other ones you didn't expect
- remember, this all runs unattended, expect the unexpected and be very careful
Notes: