Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix how we set TMPDIR in the build environment | Lars Wirzenius | 2012-04-26 | 2 | -1/+5 |
| | |||||
* | Fix how unmounting of /proc inside chroot is done | Lars Wirzenius | 2012-04-26 | 1 | -5/+8 |
| | | | | | Note to self, everyone: /path/to/chroot/proc does not actually exist inside the chroot. | ||||
* | Unmounted /proc in staging before assembling chunks, and only if it is there | Lars Wirzenius | 2012-04-25 | 1 | -3/+2 |
| | | | | | We have no use for /proc while building chunk artifacts, and hopefully this will prevent accidentally including /proc in them. | ||||
* | Log /proc pathname in chroot when unmounting | Lars Wirzenius | 2012-04-25 | 1 | -1/+1 |
| | | | | This is to make debugging easier. | ||||
* | Fix "morph build" when building stuff that uses submodules | Lars Wirzenius | 2012-04-25 | 2 | -1/+8 |
| | |||||
* | Move repo and submodule caching into a helper method | Lars Wirzenius | 2012-04-25 | 1 | -0/+6 |
| | | | | This will be useful for later fixing of cmd_build. | ||||
* | Fix update-gits to update repos of submodules, too | Lars Wirzenius | 2012-04-25 | 1 | -2/+32 |
| | |||||
* | Make test output be quite quiet with squeeze's version of git | Lars Wirzenius | 2012-04-25 | 1 | -1/+2 |
| | |||||
* | Make test output more quite by telling git init to be quite | Lars Wirzenius | 2012-04-25 | 1 | -1/+1 |
| | |||||
* | Remove set -x to make test output be silent | Lars Wirzenius | 2012-04-25 | 1 | -1/+1 |
| | |||||
* | Oops, that error message was _not_ actually expected | Lars Wirzenius | 2012-04-25 | 1 | -1/+0 |
| | | | | | | We should be failing the test, since the code is broken. The expected output should not include the error; when the error goes away the test will pass. | ||||
* | Add morphlib.Error and make local repo cache exceptions be based on it | Lars Wirzenius | 2012-04-25 | 2 | -2/+11 |
| | | | | | This way, cliapp will automatically print an error message, rather than a stack trace. | ||||
* | Merge branch 'master' of gitorious.org:baserock/morph | Lars Wirzenius | 2012-04-25 | 2 | -0/+42 |
|\ | |||||
| * | tests: add test for update-gits caching submodules | Richard Maw | 2012-04-25 | 2 | -0/+42 |
| | | | | | | | | | | | | | | | | | | | | The test creates a repository with an empty commit to be a submodule, alters the chunk to have this repository as a submodule, then after building checks whether each of the repositories have been cached. This is tested by testing if the repositories are in there rather than listing all the repositories because the normalisation fails when the URIs have been mangled | ||||
* | | Add test for building something with a chunk that uses submodules | Lars Wirzenius | 2012-04-25 | 2 | -0/+69 |
| | | |||||
* | | Merge branch 'master' of gitorious.org:baserock/morph | Lars Wirzenius | 2012-04-25 | 3 | -14/+13 |
|\ \ | |/ | |||||
| * | builder2 tests: add extra required parameter | Richard Maw | 2012-04-25 | 1 | -2/+3 |
| | | |||||
| * | Merge branch 'rm/cpan-paths' | Richard Maw | 2012-04-25 | 3 | -14/+13 |
| |\ | |||||
| | * | build-system: cpan tests: simplify and correct | Richard Maw | 2012-04-25 | 2 | -13/+6 |
| | | | | | | | | | | | | | | | | | | | | | The normalisation code is no longer needed because it is configured to always generate the right path now. This also needs the output to be corrected | ||||
| | * | CPANBuildSystem: split command into lines | Richard Maw | 2012-04-25 | 1 | -1/+7 |
| | | | |||||
| | * | CPANBuildSystem: install into perl dirs instead | Richard Maw | 2012-04-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | This is needed because otherwise it will install the .pod file into where the building perl expects it to be, which we should not assume is the same as what we are building for. | ||||
| | * | CPANBuildSystem: install to standard paths | Richard Maw | 2012-04-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | This needs to be set otherwise the paths of the perl building it will be used. This needs to be kept in sync with the perl that is being built as well otherwise it won't be able to find modules | ||||
* | | | Fix unit testsw for builder2 | Lars Wirzenius | 2012-04-25 | 1 | -2/+3 |
|/ / | | | | | | | | | From Richard Maw, I'm just applying the patch. Having trouble with the git server so can't do this via it. | ||||
* | | Setup /proc in staging only if using chroot; install staging-fillers | Lars Wirzenius | 2012-04-25 | 2 | -19/+42 |
| | | |||||
* | | Log installed artifacts; do not log shell commands | Lars Wirzenius | 2012-04-25 | 1 | -2/+4 |
| | | | | | | | | | | The -x to sh didn't actually produce any output to help in my debugging, so I remove it now. | ||||
* | | Add logging to /proc mounting and unmounting, and create /proc | Lars Wirzenius | 2012-04-24 | 1 | -0/+4 |
| | | |||||
* | | Mount /proc while building a chunk | Lars Wirzenius | 2012-04-24 | 1 | -0/+14 |
| | | |||||
* | | Only remove temporary directory if it exists | Lars Wirzenius | 2012-04-24 | 1 | -1/+1 |
| | | |||||
* | | builder2: fix line width | Richard Maw | 2012-04-24 | 1 | -1/+2 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into rm/timings-back | Richard Maw | 2012-04-24 | 4 | -9/+24 |
|\ \ | |||||
| * | | Remove debugging aid I made for myself | Lars Wirzenius | 2012-04-24 | 1 | -1/+1 |
| | | | |||||
| * | | Use submodule url, not path, to find it in the repo cache | Lars Wirzenius | 2012-04-24 | 1 | -1/+1 |
| | | | |||||
| * | | Make builder get submodule cache repo path cleanly | Lars Wirzenius | 2012-04-24 | 3 | -13/+19 |
| | | | |||||
| * | | Fix fix of submodule checkouts | Lars Wirzenius | 2012-04-24 | 1 | -2/+3 |
| | | | |||||
| * | | Fix how the new builder code checks out submodules | Lars Wirzenius | 2012-04-24 | 1 | -1/+7 |
| | | | |||||
| * | | Give a littl emore feedback during builds | Lars Wirzenius | 2012-04-24 | 1 | -0/+2 |
| | | | |||||
* | | | builder2: fix system building | Richard Maw | 2012-04-24 | 1 | -3/+4 |
| |/ |/| | | | | | | | Accidental indentation caused this function to not be defined in the correct scope. | ||||
* | | builder tests: cover metadata writing to cache | Richard Maw | 2012-04-24 | 1 | -1/+69 |
| | | |||||
* | | builder: cache metadata in the right path | Richard Maw | 2012-04-24 | 1 | -2/+3 |
| | | | | | | | | | | | | Build times belong in cachekey.meta. This is part of the source's metadata, rather than the artifact's. Otherwise it would be in cachekey.artifact.meta | ||||
* | | builder: add build times again | Richard Maw | 2012-04-24 | 1 | -139/+183 |
|/ | |||||
* | bootstrap: disable dumping of build times | Richard Maw | 2012-04-24 | 1 | -3/+3 |
| | | | | | The required metadata is not written to the cache any more. This should be re-implemented. | ||||
* | cachekeycomputer: use sha1s in the cache_id | Richard Maw | 2012-04-23 | 1 | -1/+1 |
| | | | | This makes the dicts smaller, so should be faster and more manageable | ||||
* | cachekeycomputer: log get_cache_id as well | Richard Maw | 2012-04-23 | 1 | -0/+4 |
| | | | | get_cache_id is called recursively, so it would help to log that too | ||||
* | Add missing import, oops | Lars Wirzenius | 2012-04-23 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' of gitorious.org:baserock/morph | Lars Wirzenius | 2012-04-23 | 2 | -2/+3 |
|\ | |||||
| * | build-system: python-distutils, correct output | Richard Maw | 2012-04-23 | 1 | -2/+2 |
| | | |||||
| * | build-system: distutils test, fix output | Richard Maw | 2012-04-23 | 1 | -0/+1 |
| | | | | | | | | | | | | | | Debian systems install python packages into dist-packages, default python behaviour is to install into site-packages. To reconcile this difference, treat any foo-packages component as just being packages. | ||||
* | | Add more logging to cache key computation | Lars Wirzenius | 2012-04-23 | 1 | -0/+4 |
|/ | |||||
* | Exclude script with valid TABs from silliness checking | Lars Wirzenius | 2012-04-23 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' of gitorious.org:baserock/morph | Lars Wirzenius | 2012-04-23 | 1 | -4/+2 |
|\ |