summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix how we set TMPDIR in the build environmentLars Wirzenius2012-04-262-1/+5
|
* Fix how unmounting of /proc inside chroot is doneLars Wirzenius2012-04-261-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 thereLars Wirzenius2012-04-251-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 unmountingLars Wirzenius2012-04-251-1/+1
| | | | This is to make debugging easier.
* Fix "morph build" when building stuff that uses submodulesLars Wirzenius2012-04-252-1/+8
|
* Move repo and submodule caching into a helper methodLars Wirzenius2012-04-251-0/+6
| | | | This will be useful for later fixing of cmd_build.
* Fix update-gits to update repos of submodules, tooLars Wirzenius2012-04-251-2/+32
|
* Make test output be quite quiet with squeeze's version of gitLars Wirzenius2012-04-251-1/+2
|
* Make test output more quite by telling git init to be quiteLars Wirzenius2012-04-251-1/+1
|
* Remove set -x to make test output be silentLars Wirzenius2012-04-251-1/+1
|
* Oops, that error message was _not_ actually expectedLars Wirzenius2012-04-251-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 itLars Wirzenius2012-04-252-2/+11
| | | | | This way, cliapp will automatically print an error message, rather than a stack trace.
* Merge branch 'master' of gitorious.org:baserock/morphLars Wirzenius2012-04-252-0/+42
|\
| * tests: add test for update-gits caching submodulesRichard Maw2012-04-252-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 submodulesLars Wirzenius2012-04-252-0/+69
| |
* | Merge branch 'master' of gitorious.org:baserock/morphLars Wirzenius2012-04-253-14/+13
|\ \ | |/
| * builder2 tests: add extra required parameterRichard Maw2012-04-251-2/+3
| |
| * Merge branch 'rm/cpan-paths'Richard Maw2012-04-253-14/+13
| |\
| | * build-system: cpan tests: simplify and correctRichard Maw2012-04-252-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 linesRichard Maw2012-04-251-1/+7
| | |
| | * CPANBuildSystem: install into perl dirs insteadRichard Maw2012-04-251-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 pathsRichard Maw2012-04-241-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 builder2Lars Wirzenius2012-04-251-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-fillersLars Wirzenius2012-04-252-19/+42
| |
* | Log installed artifacts; do not log shell commandsLars Wirzenius2012-04-251-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 /procLars Wirzenius2012-04-241-0/+4
| |
* | Mount /proc while building a chunkLars Wirzenius2012-04-241-0/+14
| |
* | Only remove temporary directory if it existsLars Wirzenius2012-04-241-1/+1
| |
* | builder2: fix line widthRichard Maw2012-04-241-1/+2
| |
* | Merge remote-tracking branch 'origin/master' into rm/timings-backRichard Maw2012-04-244-9/+24
|\ \
| * | Remove debugging aid I made for myselfLars Wirzenius2012-04-241-1/+1
| | |
| * | Use submodule url, not path, to find it in the repo cacheLars Wirzenius2012-04-241-1/+1
| | |
| * | Make builder get submodule cache repo path cleanlyLars Wirzenius2012-04-243-13/+19
| | |
| * | Fix fix of submodule checkoutsLars Wirzenius2012-04-241-2/+3
| | |
| * | Fix how the new builder code checks out submodulesLars Wirzenius2012-04-241-1/+7
| | |
| * | Give a littl emore feedback during buildsLars Wirzenius2012-04-241-0/+2
| | |
* | | builder2: fix system buildingRichard Maw2012-04-241-3/+4
| |/ |/| | | | | | | Accidental indentation caused this function to not be defined in the correct scope.
* | builder tests: cover metadata writing to cacheRichard Maw2012-04-241-1/+69
| |
* | builder: cache metadata in the right pathRichard Maw2012-04-241-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 againRichard Maw2012-04-241-139/+183
|/
* bootstrap: disable dumping of build timesRichard Maw2012-04-241-3/+3
| | | | | The required metadata is not written to the cache any more. This should be re-implemented.
* cachekeycomputer: use sha1s in the cache_idRichard Maw2012-04-231-1/+1
| | | | This makes the dicts smaller, so should be faster and more manageable
* cachekeycomputer: log get_cache_id as wellRichard Maw2012-04-231-0/+4
| | | | get_cache_id is called recursively, so it would help to log that too
* Add missing import, oopsLars Wirzenius2012-04-231-0/+1
|
* Merge branch 'master' of gitorious.org:baserock/morphLars Wirzenius2012-04-232-2/+3
|\
| * build-system: python-distutils, correct outputRichard Maw2012-04-231-2/+2
| |
| * build-system: distutils test, fix outputRichard Maw2012-04-231-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 computationLars Wirzenius2012-04-231-0/+4
|/
* Exclude script with valid TABs from silliness checkingLars Wirzenius2012-04-231-0/+1
|
* Merge branch 'master' of gitorious.org:baserock/morphLars Wirzenius2012-04-231-4/+2
|\