Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix repo-alias value to use right syntax | Lars Wirzenius | 2012-05-04 | 1 | -1/+1 |
| | |||||
* | Make cmdtests set up repo-aliases and use prefixed reponames | Lars Wirzenius | 2012-05-04 | 3 | -6/+7 |
| | |||||
* | Remove use of baseurls in LocalRepoCache | Lars Wirzenius | 2012-05-04 | 2 | -33/+29 |
| | | | | The tests, they still fail. | ||||
* | Implement repo-alias expansion | Lars Wirzenius | 2012-05-04 | 3 | -7/+46 |
| | | | | | | | | Changed the delimieter between push and pull patterns to be #, since = is reasonably frequent in URLs, and # should never be necessary in git urls. Oh my how many tests now fail. | ||||
* | Add tests for repo-alias expansion | Lars Wirzenius | 2012-05-04 | 2 | -0/+13 |
| | |||||
* | Update LocalRepoCache tests to use repo aliases instead of baseurls | Lars Wirzenius | 2012-05-04 | 1 | -6/+6 |
| | |||||
* | Add --repo-alias setting and default value | Lars Wirzenius | 2012-05-04 | 1 | -0/+16 |
| | | | | Nothing uses the setting yet. | ||||
* | Make morph's _clone_to_directory use CachedRepo.checkout | Lars Wirzenius | 2012-05-04 | 5 | -11/+13 |
| | | | | | | | | | This requires changing CachedRepo.checkout to handle non-sha1 refs, which resulted in some further changes in tests and their expected outputs. Also, a fix to CachedRepo to use the cwd keyword argument instead of pwd. | ||||
* | Relax CachedRepo.checkout requirement that ref is a sha1 | Lars Wirzenius | 2012-05-04 | 2 | -11/+2 |
| | |||||
* | baserock-bootstrap: attempt to fix staging filler | Richard Maw | 2012-05-04 | 1 | -1/+1 |
| | | | | --option=path*foo won't be glob expanded, but --option path*foo will | ||||
* | baserock-bootstrap: fix path for staging filler | Richard Maw | 2012-05-04 | 1 | -7/+5 |
| | | | | | | | The changes to the cache directory layout meant that this failed to find the strata. This also fixes it extracting both pass1 and pass2's strata. | ||||
* | Fix a line being too long. | Jannis Pohlmann | 2012-05-03 | 1 | -1/+2 |
| | |||||
* | Integrate RemoteArtifactCache into the building process. | Jannis Pohlmann | 2012-05-03 | 2 | -18/+46 |
| | | | | | | | | | For now we do not provide an option to avoid downloading artifacts during build. Unsetting --cache-server is an option but it's not user-friendly. Of course if there is no network connection, then downloading will fail and things will be built locally. We may want to add a generic --no-network switch to replace/extend --no-git-update later. | ||||
* | Add support for RemoteRepoCache in build, show-dependencies, make-patch. | Jannis Pohlmann | 2012-05-03 | 1 | -26/+36 |
| | | | | | Both, build and show-dependencies should still work. I didn't test make-patch though. | ||||
* | Use dedicated <cachedir>/artficats directory for local artifact cache. | Jannis Pohlmann | 2012-05-03 | 12 | -16/+25 |
| | | | | | | Make sure that this directory is actually created before trying to save artifacts to it. Also adjust all tests to use this new directory for looking up artifacts. | ||||
* | Get rid of the old internal morph APIs | Lars Wirzenius | 2012-05-02 | 18 | -2482/+57 |
| | |||||
* | Remove now-unnecessary modules from __init__.py | Lars Wirzenius | 2012-05-02 | 1 | -6/+0 |
| | |||||
* | Remove distributed building subcommands | Lars Wirzenius | 2012-05-02 | 1 | -143/+0 |
| | | | | We need to re-implement this for the new internal APIs. | ||||
* | Convert _clone_to_directory to use new APIs | Lars Wirzenius | 2012-05-02 | 1 | -10/+16 |
| | |||||
* | Make petrify use the new internal APIs | Lars Wirzenius | 2012-05-02 | 1 | -8/+12 |
| | |||||
* | Make baserock-bootstrap use imx53/x86_64-generic BSP strata. | Jannis Pohlmann | 2012-05-01 | 1 | -2/+4 |
| | |||||
* | Build items as late as possible in the build order. | Jannis Pohlmann | 2012-05-01 | 2 | -39/+40 |
| | | | | | | | | At the moment this is done by creating a reverse topological sorting starting with the artifacts that depend on nothing else. Artifacts are then added to build groups as late as possible. Fix show-dependencies test output for the new build order generation. | ||||
* | Add test for branching off not from master | Lars Wirzenius | 2012-04-30 | 6 | -8/+71 |
| | |||||
* | build-system-cpan test: only check file in tar | Richard Maw | 2012-04-30 | 2 | -11/+1 |
| | | | | | | It is possible that a bunch of stuff will be put in the tarball. What matters is if the binary is in the tarball, so only print that line of output | ||||
* | stagingarea: fix dir detection | Richard Maw | 2012-04-30 | 1 | -4/+4 |
| | |||||
* | Improve artifact extraction logic when overwriting existing stuff on filesystem | Lars Wirzenius | 2012-04-30 | 1 | -3/+49 |
| | | | | | | | | | We had a problem where something in the bootstrap would fail because two different chunk artifacts had a path (/tools/lib64) exist as a directory exist as a symlink (to /tools/lib) versus a directory, and morph confusing things. The new logic should handle this better. | ||||
* | stagingarea: when extracting, clobber output | Richard Maw | 2012-04-27 | 1 | -0/+3 |
| | | | | | | I really don't like this, but it causes the bootstrap to fail because /bin/bash exists for compatibility and the stratum also creates /bin/bash. | ||||
* | bootstrap: fix another non-sbin PATH | Richard Maw | 2012-04-27 | 1 | -1/+1 |
| | |||||
* | morph: submodules should only use an absolute ref | Richard Maw | 2012-04-27 | 1 | -1/+1 |
| | |||||
* | bootstrap: don't fail on /tree/{sys,proc} unmount | Richard Maw | 2012-04-27 | 1 | -6/+6 |
| | |||||
* | bootstrap: include sbin in path for chroot | Richard Maw | 2012-04-27 | 1 | -1/+1 |
| | | | | | | chroot is used in morph, an absolute path would cause problems later in the build, when /tools is the prefix, so PATH needs to be able to find chroot, so the usual sbin needs to be included. | ||||
* | Add a bit more cmd_build progress info | Lars Wirzenius | 2012-04-27 | 1 | -0/+3 |
| | |||||
* | Add a little progress reporting when build caches repos | Lars Wirzenius | 2012-04-27 | 1 | -0/+1 |
| | |||||
* | buildenvironment: pass through BOOTSTRAP_TOOLS | Richard Maw | 2012-04-26 | 1 | -0/+1 |
| | | | | This is used in eglibc's bootstrap morphology. | ||||
* | stagingarea: remove path from chroot | Richard Maw | 2012-04-26 | 1 | -1/+1 |
| | | | | | | | chroot may not be installed to /usr/sbin/chroot, this breaks bootstrap because chroot is installed in /tree/tools/sbin. PATH should be set, so putting the absolute path in should be unnecessary | ||||
* | Restructure code so coverage is happy | Lars Wirzenius | 2012-04-26 | 1 | -8/+7 |
| | |||||
* | Monkey patch Python's tarfile.TarFile for proper errors, ignoring overwrites | Lars Wirzenius | 2012-04-26 | 1 | -0/+31 |
| | |||||
* | Fix unmounting /proc in staging so it works when /proc wasn't mounted | Lars Wirzenius | 2012-04-26 | 1 | -2/+2 |
| | |||||
* | 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. |