Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix ./check on Squeeze | Sam Thursfield | 2013-02-21 | 1 | -2/+11 |
| | |||||
* | Merge branch 'liw/build-progress2' | Sam Thursfield | 2013-02-21 | 2 | -3/+14 |
|\ | |||||
| * | Make BuildCommand report current and total build steps | Lars Wirzenius | 2013-02-21 | 2 | -3/+14 |
| | | | | | | | | | | | | This adds a [Build 1/12765] to the output of the building of each artifact. This makes it easier to see how much work there might still be remaining. | ||||
* | | Merge branch 'samthursfield/only-build-systems' of ↵ | Richard Maw | 2013-02-21 | 40 | -124/+267 |
|\ \ | | | | | | | | | | | | | | | | | | | git://git.baserock.org/baserock/baserock/morph This includes a merge fixup in ./check, so that it does not complain about build-system-autotools' test's tabs. | ||||
| * | | buildcommand: Refuse to build chunks or strata out of context | Sam Thursfield | 2013-02-20 | 3 | -1/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | Building invididual chunks is bad because we have no idea what build mode to use. Building individual strata would work, but all of the stratum's build dependencies would need to be built first so there would be little time saved in any case. There is also no way to test them beyond checking that the build was successful. | ||||
| * | | tests.build: Don't build individual chunks or strata | Sam Thursfield | 2013-02-20 | 26 | -128/+100 |
| | | | | | | | | | | | | | | | We can't rely on this being possible any more. It was mostly only used for testing in any case. | ||||
| * | | Separate out build tests from general Morph tests | Sam Thursfield | 2013-02-20 | 34 | -17/+152 |
| | | | |||||
* | | | Merge branch 'samthursfield/edit-morph' of ↵ | Richard Maw | 2013-02-21 | 2 | -4/+213 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | git://git.baserock.org/baserock/baserock/morph This merge includes modifying edit-morph to use self.output.write instead of print for output. | ||||
| * | | | scripts/edit-morph: Add to-yaml and to-json commands | Sam Thursfield | 2013-02-18 | 1 | -0/+42 |
| | | | | |||||
| * | | | Allow forcing output format (useful for edit-morph script) | Sam Thursfield | 2013-02-18 | 1 | -4/+8 |
| | | | | |||||
| * | | | Add scripts/edit-morph.py | Sam Thursfield | 2013-02-18 | 1 | -0/+163 |
| | | | | | | | | | | | | | | | | | | | | This allows programmatic edits of certain kinds to morphologies, to minimise the need for manual editing. | ||||
* | | | | Merge branch 'samthursfield/morph-update-improvements' of ↵ | Richard Maw | 2013-02-21 | 3 | -148/+258 |
|\ \ \ \ | |/ / / | | | | | | | | | git://git.baserock.org/baserock/baserock/morph | ||||
| * | | | Make writing morphologies back out properly non-destructive | Sam Thursfield | 2013-02-18 | 3 | -154/+252 |
| | | | | | | | | | | | | | | | | | | | | | | | | Remove the special case hacks we had and do a proper comparison between original and new in-memory dict when writing updates to user morphologies. | ||||
| * | | | Handle morphs that are not dicts (By failing) | Sam Thursfield | 2013-02-18 | 2 | -3/+6 |
| | | | | |||||
| * | | | Detect and abort on empty morphologies | Sam Thursfield | 2013-02-18 | 2 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If given an empty string to parse yamlparse.load() will return None, but this breaks code further down that expects to be dealing with a dict. Raise an exception to avoid crashing. Also, avoid catching 'Exception' when we only want to catch JSON parse errors. | ||||
| * | | | Catch only JSON parse exceptions, not Exception | Sam Thursfield | 2013-02-18 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'liw/debug-jjardon-assert-fail' | Sam Thursfield | 2013-02-20 | 2 | -13/+2 |
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| | | |||||
| * | | Make rootfs-tarball build only the tarball also on ARM | Lars Wirzenius | 2013-02-20 | 2 | -13/+2 |
|/ / | |||||
* | | Merge branch 'liw/build-ordering' | Sam Thursfield | 2013-02-19 | 9 | -407/+134 |
|\ \ | |/ |/| | |||||
| * | Add clarifying comment | Sam Thursfield | 2013-02-19 | 1 | -1/+3 |
| | | | | | | | | | | Making the changes mentioned in the comment would be quite invasive, and we don't have to do so quite yet. | ||||
| * | Rewrite show-dependencies to work without BuildOrder | Lars Wirzenius | 2013-02-19 | 2 | -109/+66 |
| | | |||||
| * | Stop computing the old build ordering | Lars Wirzenius | 2013-02-19 | 4 | -267/+17 |
| | | |||||
| * | Replace builder order graph with just a single artifact | Lars Wirzenius | 2013-02-19 | 4 | -36/+54 |
|/ | | | | | The artifact's build dependencies replace the build order graph from previously. | ||||
* | Merge branch 'baserock/richardmaw/fix-edit-build-depends' | Sam Thursfield | 2013-02-13 | 6 | -36/+117 |
|\ | |||||
| * | Amend tests to trigger failure to recursively update strata | Richard Maw | 2013-02-13 | 5 | -3/+51 |
| | | |||||
| * | morph edit: Recursively edit strata | Richard Maw | 2013-02-13 | 1 | -33/+66 |
| | | | | | | | | | | | | | | | | | | | | | | Previously the code would edit strata that dependended on the stratum being edited, but would ignore the dependency chain beyond that. In fact, we need to edit all strata in the dependency chain to avoid having two different versions of a stratum in the same build. This splits the modification into two steps: changing the stratum that points to the chunk, and recursively changing references to any strata that have been altered. | ||||
* | | Merge branch 'liw/disable-test-on-squeeze' | Lars Wirzenius | 2013-02-12 | 1 | -2/+9 |
|\ \ | | | | | | | | | | Reviewed-By: Richard Maw (in real life) | ||||
| * | | Disable deployment test on Python 2.6 | Lars Wirzenius | 2013-02-12 | 1 | -2/+9 |
|/ / | | | | | | | | | Also, make test use bash instead of sh, so it passes on squeeze as well as Baserock. | ||||
* | | Merge branch 'liw/deployment-fixes' | Lars Wirzenius | 2013-02-12 | 2 | -2/+3 |
|\ \ | | | | | | | | | | Reviewed-By: Richard Maw (on irc) | ||||
| * | | Improve message phrasing | Lars Wirzenius | 2013-02-12 | 1 | -2/+2 |
| | | | | | | | | | | | | Suggested-By: Richard Maw | ||||
| * | | Add missing "import sys" to fix error messages | Lars Wirzenius | 2013-02-12 | 1 | -0/+1 |
|/ / | | | | | | | Reported-By: Richard Maw | ||||
* | | Merge branch 'liw/deployment-refactor' of ↵ | Richard Maw | 2013-02-12 | 16 | -2/+995 |
|\ \ | | | | | | | | | | git://git.baserock.org/baserock/baserock/morph | ||||
| * | | Add missing argument to create_local_system method | Lars Wirzenius | 2013-02-07 | 1 | -1/+1 |
| | | | | | | | | | | | | Reported-By: Richard Maw | ||||
| * | | Refactor: Add WriteExtension.create_local_system method | Lars Wirzenius | 2013-02-07 | 4 | -69/+52 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows code sharing amongst all the places that create a system in a raw disk image. This also adds the creation of a factory-run subvolume, and fixes error messages for errors that happen during a disk image creation. Suggested-By: Richard Maw Suggested-By: Sam Thursfield | ||||
| * | | Remove debugging output | Lars Wirzenius | 2013-02-07 | 3 | -29/+0 |
| | | | | | | | | | | | | Suggested-By: Richard Maw | ||||
| * | | Do away with unnecessary fstab entries for proc, sys | Lars Wirzenius | 2013-02-07 | 1 | -2/+0 |
| | | | | | | | | | | | | Suggested-By: Richard Maw | ||||
| * | | Let mount choose loop device | Lars Wirzenius | 2013-02-07 | 1 | -2/+1 |
| | | | | | | | | | | | | Suggested-By: Richard Maw | ||||
| * | | Create hole in-process without executing dd(1) | Lars Wirzenius | 2013-02-07 | 1 | -7/+4 |
| | | | | | | | | | | | | Suggested-By: Richard Maw | ||||
| * | | Comment logic in _run_extension | Lars Wirzenius | 2013-02-07 | 1 | -0/+3 |
| | | | | | | | | | | | | Suggested-By: Sam Thursfield | ||||
| * | | Make configuration-extensions have a default value | Lars Wirzenius | 2013-02-07 | 2 | -12/+11 |
| | | | | | | | | | | | | | | | | | | | | | This saves a check (and an indentation) in the deployment plugin, making the code a tiny bit simpler. Suggested-By: Sam Thursfield | ||||
| * | | Fix docstring and error message | Lars Wirzenius | 2013-02-07 | 1 | -3/+3 |
| | | | | | | | | | | | | Suggested-By: Sam Thursfield | ||||
| * | | Describe how we re-use code from branch+merge plugin | Lars Wirzenius | 2013-02-07 | 1 | -0/+6 |
| | | | | | | | | | | | | Suggested-By: Sam Thursfield | ||||
| * | | Set PYTHONPATH during tests | Lars Wirzenius | 2013-02-06 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | This is necessary so that the write extension run by cmdtest finds the morphlib of the source tree we're running ./check in, rather than the system installed one. | ||||
| * | | Fix setup.py to also install deployment extensions | Lars Wirzenius | 2013-02-06 | 1 | -0/+1 |
| | | | |||||
| * | | Add cmdtest for "morph deploy" and rawdisk.write | Lars Wirzenius | 2013-02-06 | 5 | -5/+278 |
| | | | |||||
| * | | Add a write extension for kvm+libvirt | Lars Wirzenius | 2013-02-06 | 1 | -0/+140 |
| | | | |||||
| * | | Add a write extension for VirtualBox | Lars Wirzenius | 2013-02-06 | 1 | -0/+158 |
| | | | |||||
| * | | Add a write extension for raw disk images | Lars Wirzenius | 2013-02-06 | 1 | -0/+70 |
| | | | |||||
| * | | Add a configuration extension for setting hostname | Lars Wirzenius | 2013-02-06 | 1 | -0/+27 |
| | | | |||||
| * | | Add morphlib module for common write extension code | Lars Wirzenius | 2013-02-06 | 3 | -0/+160 |
| | | |