summaryrefslogtreecommitdiff
path: root/morph
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Save __file__ so we can recursively run morph later on"Sam Thursfield2012-10-031-4/+1
| | | | | | No longer needed, we don't rerun morph as a merge driver any more. This reverts commit 3b0a4d7346cef0091b00ad0cc6610476fdea61d1.
* Save __file__ so we can recursively run morph later onSam Thursfield2012-09-271-1/+4
|
* Give Morph a version numberLars Wirzenius2012-09-251-1/+1
| | | | Reviewed-By: Daniel Silverstone (on irc)
* python scripts: pep8ize codebaseRichard Maw2012-08-011-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 pluginLars Wirzenius2012-06-111-860/+1
|
* Do not force --tempdir setting into environment in runcmdLars Wirzenius2012-06-111-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 commandsLars Wirzenius2012-06-111-0/+4
| | | | This helps debugging mysterious build failures, sometimes.
* morph: remove dead code and replace Execute with app.runcmdRichard Maw2012-05-301-103/+25
|
* morph.runcmd: set TMPDIR from --tempdirRichard Maw2012-05-301-0/+4
|
* morph: use dir=tempdir when making tempdirsRichard Maw2012-05-301-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@roadtrainRichard Maw2012-05-291-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 urlsRichard Maw2012-05-221-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 fromLars Wirzenius2012-05-171-16/+37
|
* Update refs in morphologies when doing "morph edit"Lars Wirzenius2012-05-171-0/+43
|
* morph: when bootstrapping, install all chunksRichard Maw2012-05-171-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 Pohlmann2012-05-161-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 aliasLars Wirzenius2012-05-091-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_directoryLars Wirzenius2012-05-091-1/+2
|
* Fix long lines being too long for tests to pass.Jannis Pohlmann2012-05-091-1/+2
|
* Defer installing chunk artifacts until we need them.Jannis Pohlmann2012-05-081-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 Pohlmann2012-05-081-2/+3
|
* Fix missing bits so that tests pass again.Jannis Pohlmann2012-05-041-6/+8
|
* Change LocalRepoCache to use the new RepoAliasResolver.Jannis Pohlmann2012-05-041-17/+15
|
* Add push URL rewrite rule to "morph edit"'d repoLars Wirzenius2012-05-041-0/+7
|
* Resolve repository names to URLs before deciding on basenames for directoriesLars Wirzenius2012-05-041-1/+11
|
* Remove --git-base-url settingLars Wirzenius2012-05-041-25/+18
|
* Implement repo-alias expansionLars Wirzenius2012-05-041-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 valueLars Wirzenius2012-05-041-0/+16
| | | | Nothing uses the setting yet.
* Make morph's _clone_to_directory use CachedRepo.checkoutLars Wirzenius2012-05-041-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 Pohlmann2012-05-031-1/+2
|
* Integrate RemoteArtifactCache into the building process.Jannis Pohlmann2012-05-031-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 Pohlmann2012-05-031-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 Pohlmann2012-05-031-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 APIsLars Wirzenius2012-05-021-2/+0
|
* Remove distributed building subcommandsLars Wirzenius2012-05-021-143/+0
| | | | We need to re-implement this for the new internal APIs.
* Convert _clone_to_directory to use new APIsLars Wirzenius2012-05-021-10/+16
|
* Make petrify use the new internal APIsLars Wirzenius2012-05-021-8/+12
|
* Add test for branching off not from masterLars Wirzenius2012-04-301-2/+2
|
* morph: submodules should only use an absolute refRichard Maw2012-04-271-1/+1
|
* Add a bit more cmd_build progress infoLars Wirzenius2012-04-271-0/+3
|
* Add a little progress reporting when build caches reposLars Wirzenius2012-04-271-0/+1
|
* Fix "morph build" when building stuff that uses submodulesLars Wirzenius2012-04-251-1/+4
|
* 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
|
* Setup /proc in staging only if using chroot; install staging-fillersLars Wirzenius2012-04-251-0/+15
|
* Only remove temporary directory if it existsLars Wirzenius2012-04-241-1/+1
|
* Make builder get submodule cache repo path cleanlyLars Wirzenius2012-04-241-1/+1
|
* Give a littl emore feedback during buildsLars Wirzenius2012-04-241-0/+2
|
* Add some more logging to "morph build"Lars Wirzenius2012-04-231-0/+9
|
* Merge branch 'master' of gitorious.org:baserock/morphLars Wirzenius2012-04-231-0/+1
|\