Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Save __file__ so we can recursively run morph later on | Sam Thursfield | 2012-09-27 | 1 | -1/+4 |
| | |||||
* | Give Morph a version number | Lars Wirzenius | 2012-09-25 | 1 | -1/+1 |
| | | | | Reviewed-By: Daniel Silverstone (on irc) | ||||
* | python scripts: pep8ize codebase | Richard Maw | 2012-08-01 | 1 | -3/+3 |
| | | | | | | | | | This was done with the aid of the pep8 script, available by running `easy_install pep8`. It may be worth making this part of ./check, but that will require putting pep8 into the development tools stratum. This should be easy, given pep8 has no external dependencies. | ||||
* | Add a preliminary sample plugin | Lars Wirzenius | 2012-06-11 | 1 | -860/+1 |
| | |||||
* | Do not force --tempdir setting into environment in runcmd | Lars Wirzenius | 2012-06-11 | 1 | -2/+0 |
| | | | | | | | If a caller wants --tempdir to be set for a command, they should add it themselves. runcmd should not force this, because it breaks things for callers who don't want it, e.g., those who run command in a staging area (where the designated temporary directory does not exist). | ||||
* | Log environment of executed commands | Lars Wirzenius | 2012-06-11 | 1 | -0/+4 |
| | | | | This helps debugging mysterious build failures, sometimes. | ||||
* | morph: remove dead code and replace Execute with app.runcmd | Richard Maw | 2012-05-30 | 1 | -103/+25 |
| | |||||
* | morph.runcmd: set TMPDIR from --tempdir | Richard Maw | 2012-05-30 | 1 | -0/+4 |
| | |||||
* | morph: use dir=tempdir when making tempdirs | Richard Maw | 2012-05-30 | 1 | -4/+4 |
| | | | | | | | | This should fix it using TMPDIR for its directories. This currently doesn't pass the test, because the test is too strict, nothing must use the TMPDIR in the environment, but sub-programs currently do, which causes things to fail. | ||||
* | morph: change default repos to gitano@roadtrain | Richard Maw | 2012-05-29 | 1 | -4/+4 |
| | | | | | | Gitorious appears to be overloaded easily and is located in the USA. It is useful for us to have a closer, more controllable mirror. It also has gitano, which is a potentially nicer git server. | ||||
* | morph: fix morph edit pushInsteadOf urls | Richard Maw | 2012-05-22 | 1 | -2/+2 |
| | | | | | | _clone_to_directory uses the alias to get the push and pull urls. However `repo` is an already resolved url, so it does not contain the alias, so pass the arg it is resolved from. | ||||
* | Allow "morph edit" to have a default ref to branch off from | Lars Wirzenius | 2012-05-17 | 1 | -16/+37 |
| | |||||
* | Update refs in morphologies when doing "morph edit" | Lars Wirzenius | 2012-05-17 | 1 | -0/+43 |
| | |||||
* | morph: when bootstrapping, install all chunks | Richard Maw | 2012-05-17 | 1 | -0/+9 |
| | | | | | | | | | Before we would only install chunks that are needed to build something else. This is potentially a bad idea when bootstrapping, since it is expected to install everything when bootstrapping. It was possible to build and install chunks using --bootstrap. | ||||
* | Unpack artifacts in the staging area in the order they were built. | Jannis Pohlmann | 2012-05-16 | 1 | -3/+3 |
| | | | | | | This is important because otherwise we might install D-Bus after fhs-dirs, the latter of which installs directories necessary for the former. This wouldn't work. | ||||
* | Add a "gnome:" repo alias | Lars Wirzenius | 2012-05-09 | 1 | -0/+3 |
| | | | | | | | The push url does not specify a username. ssh will default to the local username. That can be overridden by the user's $HOME/.ssh/config file (or they can manually change the push url in their branch's .git/config). | ||||
* | Obey --not-git-update in _clone_to_directory | Lars Wirzenius | 2012-05-09 | 1 | -1/+2 |
| | |||||
* | Fix long lines being too long for tests to pass. | Jannis Pohlmann | 2012-05-09 | 1 | -1/+2 |
| | |||||
* | Defer installing chunk artifacts until we need them. | Jannis Pohlmann | 2012-05-08 | 1 | -9/+13 |
| | | | | | | | | | | | | | | We want to avoid installing anything into the staging area unless we actually need it. When building we now simply defer all install operations until we come across something we do not have cached and that we actually have to build. We then install everything we have encountered so far (either cached or built) and clear the list of what needs to be installed. The list of things to be installed in the future is populated at the end of processing a build group so that nothing built in the current group is installed until all other artifacts in the group have been built as well. | ||||
* | Fix cmd_petrify to use the new RepoAliasResolver. | Jannis Pohlmann | 2012-05-08 | 1 | -2/+3 |
| | |||||
* | Fix missing bits so that tests pass again. | Jannis Pohlmann | 2012-05-04 | 1 | -6/+8 |
| | |||||
* | Change LocalRepoCache to use the new RepoAliasResolver. | Jannis Pohlmann | 2012-05-04 | 1 | -17/+15 |
| | |||||
* | Add push URL rewrite rule to "morph edit"'d repo | Lars Wirzenius | 2012-05-04 | 1 | -0/+7 |
| | |||||
* | Resolve repository names to URLs before deciding on basenames for directories | Lars Wirzenius | 2012-05-04 | 1 | -1/+11 |
| | |||||
* | Remove --git-base-url setting | Lars Wirzenius | 2012-05-04 | 1 | -25/+18 |
| | |||||
* | Implement repo-alias expansion | Lars Wirzenius | 2012-05-04 | 1 | -2/+2 |
| | | | | | | | | 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 --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 | 1 | -1/+1 |
| | | | | | | | | | 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. | ||||
* | 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 | 1 | -3/+9 |
| | | | | | | | | | 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 | 1 | -2/+8 |
| | | | | | | 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 | 1 | -2/+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 |
| | |||||
* | Add test for branching off not from master | Lars Wirzenius | 2012-04-30 | 1 | -2/+2 |
| | |||||
* | morph: submodules should only use an absolute ref | Richard Maw | 2012-04-27 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | Fix "morph build" when building stuff that uses submodules | Lars Wirzenius | 2012-04-25 | 1 | -1/+4 |
| | |||||
* | 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 |
| | |||||
* | Setup /proc in staging only if using chroot; install staging-fillers | Lars Wirzenius | 2012-04-25 | 1 | -0/+15 |
| | |||||
* | Only remove temporary directory if it exists | Lars Wirzenius | 2012-04-24 | 1 | -1/+1 |
| | |||||
* | Make builder get submodule cache repo path cleanly | Lars Wirzenius | 2012-04-24 | 1 | -1/+1 |
| | |||||
* | Give a littl emore feedback during builds | Lars Wirzenius | 2012-04-24 | 1 | -0/+2 |
| | |||||
* | Add some more logging to "morph build" | Lars Wirzenius | 2012-04-23 | 1 | -0/+9 |
| | |||||
* | Merge branch 'master' of gitorious.org:baserock/morph | Lars Wirzenius | 2012-04-23 | 1 | -0/+1 |
|\ | |||||
| * | morph: add cache id to the meta files | Richard Maw | 2012-04-20 | 1 | -0/+1 |
| | | | | | | | | This is probably excessively large right now |