[PATCH] Morph tag v2
by Jannis Pohlmann
Repo: ssh://git@git.baserock.org/baserock/baserock/morphs.git
Branch: jannispohlmann/morph-tag-v2
SHA1: 51e4bbb4dffde9574404df9c5e947f518dc49a41
Jannis Pohlmann (1):
Add an initial implementation of "morph tag"
morphlib/git.py | 13 ++
morphlib/plugins/branch_and_merge_plugin.py | 203 +++++++++++++++++++++
.../morph-tag-creates-commit-and-tag.script | 39 ++++
.../morph-tag-creates-commit-and-tag.stdout | 55 ++++++
tests.branching/morph-tag-fails-if-tag-exists.exit | 1 +
.../morph-tag-fails-if-tag-exists.script | 33 ++++
.../morph-tag-fails-if-tag-exists.stderr | 3 +
.../morph-tag-tag-works-as-expected.script | 46 +++++
.../morph-tag-tag-works-as-expected.stdout | 58 ++++++
...rph-tag-works-with-multiple-morphs-repos.script | 123 +++++++++++++
...rph-tag-works-with-multiple-morphs-repos.stdout | 172 +++++++++++++++++
11 files changed, 746 insertions(+)
create mode 100755 tests.branching/morph-tag-creates-commit-and-tag.script
create mode 100644 tests.branching/morph-tag-creates-commit-and-tag.stdout
create mode 100644 tests.branching/morph-tag-fails-if-tag-exists.exit
create mode 100755 tests.branching/morph-tag-fails-if-tag-exists.script
create mode 100644 tests.branching/morph-tag-fails-if-tag-exists.stderr
create mode 100755 tests.branching/morph-tag-tag-works-as-expected.script
create mode 100644 tests.branching/morph-tag-tag-works-as-expected.stdout
create mode 100755 tests.branching/morph-tag-works-with-multiple-morphs-repos.script
create mode 100644 tests.branching/morph-tag-works-with-multiple-morphs-repos.stdout
--
1.7.11.4
9 years, 6 months
[PATCH] Cache resolved refs/morphologies when traversing morphs
by Jannis Pohlmann
Repo: ssh://git@git.baserock.org/baserock/baserock/morphs.git
Ref: jannispohlmann/cache-resolved-refs-and-morphologies
SHA1: 301b7937b5c39e3121ba528f414fe53efb8086cd
Enjoy! :)
Jannis Pohlmann (1):
Cache resolved refs and morphologies when traversing morphs
morphlib/app.py | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
--
1.7.11.4
9 years, 6 months
[PATCH] Morph tag v1
by Jannis Pohlmann
Repo: ssh://git@trove.baserock.org/baserock/baserock/morph.git
Branch: jannispohlmann/morph-tag-v1
SHA1: 3a2428bc0aa5cb5b14dd8216beee00df56b33cc4
Jannis Pohlmann (1):
Add an initial implementation of "morph tag"
morphlib/git.py | 13 ++
morphlib/plugins/branch_and_merge_plugin.py | 177 +++++++++++++++++++++
.../morph-tag-creates-commit-and-tag.script | 39 +++++
.../morph-tag-creates-commit-and-tag.stdout | 55 +++++++
tests.branching/morph-tag-fails-if-tag-exists.exit | 1 +
.../morph-tag-fails-if-tag-exists.script | 33 ++++
.../morph-tag-fails-if-tag-exists.stderr | 3 +
.../morph-tag-tag-works-as-expected.script | 45 ++++++
.../morph-tag-tag-works-as-expected.stdout | 58 +++++++
9 files changed, 424 insertions(+)
create mode 100755 tests.branching/morph-tag-creates-commit-and-tag.script
create mode 100644 tests.branching/morph-tag-creates-commit-and-tag.stdout
create mode 100644 tests.branching/morph-tag-fails-if-tag-exists.exit
create mode 100755 tests.branching/morph-tag-fails-if-tag-exists.script
create mode 100644 tests.branching/morph-tag-fails-if-tag-exists.stderr
create mode 100755 tests.branching/morph-tag-tag-works-as-expected.script
create mode 100644 tests.branching/morph-tag-tag-works-as-expected.stdout
--
1.7.11.4
9 years, 6 months
[PATCH] Add a find-artifacts script that gets every file needed
by Jonathan Maw
head: 5591f62e5d4cedd0eb7a4362a57a02f38c344354
branch: jonathanmaw/find-artifacts-rebase
repo: ssh://git@trove.baserock.org/baserock/baserock/morph
This patch is like the previous one, but with Richard Maw's suggested
changes.
Jonathan Maw (1):
Add find-artifacts script
scripts/find-artifacts | 123 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 123 insertions(+)
create mode 100755 scripts/find-artifacts
--
1.7.11.7
9 years, 6 months
[PATCH] Hardlinked linux-user-chroot
by Joe Burmeister
Repository: ssh://git@roadtrain.codethink.co.uk/baserock/morph
Branch: joeburmeister/linux-user-chroot
Sha1: c4246955485a32798902f2536728442e84589931
The patch gives two things.
Improves morph build time by reusing decompressed files of
chunks/stage-fillers with hardlinks from the chroot. Rather than
decompressing each time into each chroot.
Original: real 5h 17m 47s
Hardlink: real 2h 52m 27s
It uses linux-user-chroot to create the chroot and make all but
the basics readonly.
Joe Burmeister (1):
Hardlinked chroot done with linux-user-chroot
morphlib/builder2.py | 41 +++++++++-------------------------
morphlib/stagingarea.py | 57 ++++++++++++++++++++++++++++++++++++++++++++---
2 files changed, 64 insertions(+), 34 deletions(-)
--
1.7.9.5
9 years, 6 months
Multiple revisions of the same patch
by Sam Thursfield
Hi
I always thought that we had the following policy when sending revised
versions of patches:
- Use the --in-reply-to=<message-id> parameter so that they appear
within the same conversation thread. (The message ID should be that of
the cover letter of your first patch, found in the mail headers)
- Prepend "V2", "V3" etc to the title of the mail
I notice none of this is mentioned in
http://wiki.baserock.org/contributing/, I'll add it, unless it turns out
I've been wrong and our policy is something different.
Sam
9 years, 6 months
[PATCH] assemble-stratum Improvements
by Ben Brewer
From: Ben Brewer <benbrewer(a)codethink.co.uk>
HASH: 05f4e2e5bbfdcb41a400ae3acb3ad44f4a93730f
REPO: ssh://git@trove.baserock.org/baserock/baserock/morph
BRANCH: benbrewer/assemble-stratum-improvement
This is a small set of basic improvements to the assemble-stratum script:
1. Errors cleanly when less than 2 arguments are provided.
2. Tar formats are now just gz or bz2 without the colon.
3. The third meta argument is now optional with a sane default.
Ben Brewer (1):
Define valid tar formats as gz/bz2. Error clearly when there
aren't enough arguments Make metafile argument optional and
default to args[0]+ '.meta'
scripts/assemble-stratum | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
--
1.7.9.5
9 years, 6 months
Cache key computation has changed
by Sam Thursfield
Hi everyone
I have just merged the branch 'jonathanmaw/cache-key-less-rigorous'
which changes the way we calculate cache keys. Once you pull the latest
version of Morph from git, all of the artifacts in your cache will be
invalidated so everything will need to be rebuilt.
On the plus side, you should no longer suffer spurious rebuilds of
chunks that have not changed.
Thanks
Sam
9 years, 7 months
[PATCH] Make cache keys ignore unimportant fields
by Jonathan Maw
head: 36100edc77e8245b080343e12f59c26e35d66f2e
branch: jonathanmaw/cache-keys-less-rigorous
repo: ssh://git@trove.baserock.org/baserock/baserock/morph
This patch solves the problem where building with different branches,
or petrifying a morphology, causes everything that depends on a stratum
to rebuild.
Note: Because this patch changes cache key generation, it will
invalidate everything in the artifact cache.
Jonathan Maw (1):
Avoid rebuilds when unimportant morphology contents change
morphlib/cachekeycomputer.py | 8 +++++
...hology-contents-do-not-change-cache-keys.script | 41 ++++++++++++++++++++++
2 files changed, 49 insertions(+)
create mode 100755 tests.as-root/unimportant-morphology-contents-do-not-change-cache-keys.script
--
1.7.11.7
9 years, 7 months
[PATCH] Add a find-artifacts script that get every file needed
by Jonathan Maw
head: fa2282489f19507e3791437323e6f41bca2b6cde
branch: jonathanmaw/find-artifacts-rebase
repo: ssh://git@trove.baserock.org/baserock/baserock/morph
The previous patch submitted did not list everything required to rebuild
I.e. it only listed the artifact archive file, not any of the
accompanying files that contain metadata. This patch globs everything
that starts with the cache-key.
Since the last patch, the following changes were also made:
* The settings strings are more helpful.
* It only reads the files in the built image that end in .meta
* It uses self.output.write instead of print
Jonathan Maw (1):
Add find-artifacts script
scripts/find-artifacts | 123 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 123 insertions(+)
create mode 100755 scripts/find-artifacts
--
1.7.11.7
9 years, 7 months