git.baserock.org
by Lars Wirzenius
We've set up the git.baserock.org domain name, as an alias for
roadtrain.codethink.co.uk. It would be good to switch to using the new domain
name so that if and when we move things to a new server, you don't need
to change anything at that time.
Use "git remote set-url origin git://git.baserock.org/foo" (for the right
value of foo) to switch an existing git repository's remote to point to the
new domain name.
--
http://www.codethink.co.uk/
10 years, 7 months
[PATCH 0/3] Add a non-syslinux disk image builder
by Daniel Silverstone
Repository: git://git.baserock.org/baserock/morph.git
Branch: danielsilverstone/no-syslinux-disk-image
SHA1: fbf5e5ac69d9df51574f56b66379d6d1005abf60
I added a test, and ./check passes.
The code builder2 is almost entirely taken from the old syslinux-disk plugin.
It's not currently unit-tested, but it has a black box (rootly) test which also
means we're testing building disk images on non-x86 systems.
Daniel Silverstone (3):
Initial non-syslinux disk image kind
Make SyslinuxDiskBuilder inherit from DiskImageBuilder
Add a non-x86 disk image test
morphlib/builder2.py | 136 ++++++++++++++++++
morphlib/plugins/disk-systembuilder_plugin.py | 27 ++++
.../plugins/syslinux-disk-systembuilder_plugin.py | 145 ++------------------
tests.as-root/disk-builds-rootfs-and-kernel.script | 96 +++++++++++++
without-test-modules | 1 +
5 files changed, 271 insertions(+), 134 deletions(-)
create mode 100644 morphlib/plugins/disk-systembuilder_plugin.py
create mode 100755 tests.as-root/disk-builds-rootfs-and-kernel.script
--
1.7.5.4
10 years, 7 months
[PATCH] Only auto-generate morphologies when the filename is "auto"
by Jannis Pohlmann
Repository: git://roadtrain.codethink.co.uk/baserock/morph
Branch: jannis/autogenerate-morphologies-using-auto
Commit: d5ff8b44e5b195a3e58fcce518dad6e04a685b93
Jannis Pohlmann (1):
Only auto-generate morphologies when the filename is "auto"
morphlib/morphologyfactory.py | 27 +++++++++++++++++++++------
1 file changed, 21 insertions(+), 6 deletions(-)
--
1.7.11.2
10 years, 7 months
[PATCH] SyslinuxDiskBuilder: sync before snapshotting
by Richard Maw
Repo: git://roadtrain.codethink.co.uk/baserock/morph.git
Ref: baserock/bugfix/S4086-sync-before-snapshot
Sha1: 9cdee64c0cdea7ace5135b49746d71a0d5b19689
This is needed during the bootstrap process to make our first disk
image. Baserock systems don't need it, but we bootstrap from squeeze,
which does.
We could have a separate bootstrap version of morph which has the
sync instead of it being in master, but in my opinion,
it's not worth maintaining a separate version for one line of code.
Richard Maw (1):
SyslinuxDiskBuilder: sync before snapshotting
.../plugins/syslinux-disk-systembuilder_plugin.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
--
1.7.5.4
10 years, 7 months
[PATCH 0/4] Don't continue if the mbr is not found for syslinux
by Richard Maw
Repo: git://roadtrain.codethink.co.uk/baserock/morph
Ref: baserock/bugfix/S4069-fail-on-missing-syslinux-mbr
Sha1: dd3956a3ac7476026b863bc6b097020d18a3347d
This also added an option to set the paths to search for the
mbr, since it made it easier to test than setting up a system
where the mbr was missing.
Richard Maw (4):
Move install_syslinux_mbr into syslinux plugin
systembuilder: select mbr search paths from config
Add test for failing to install mbr
Raise Error if install_mbr fails
morphlib/fsutils.py | 9 --
.../plugins/syslinux-disk-systembuilder_plugin.py | 19 ++++-
tests.as-root/syslinux-fails-if-no-mbr-found.exit | 1 +
.../syslinux-fails-if-no-mbr-found.script | 90 ++++++++++++++++++++
.../syslinux-fails-if-no-mbr-found.stderr | 1 +
5 files changed, 110 insertions(+), 10 deletions(-)
create mode 100644 tests.as-root/syslinux-fails-if-no-mbr-found.exit
create mode 100755 tests.as-root/syslinux-fails-if-no-mbr-found.script
create mode 100644 tests.as-root/syslinux-fails-if-no-mbr-found.stderr
--
1.7.5.4
10 years, 7 months
Vala
by Sam Thursfield
Hi
Vala requires itself to build. I worked around when building the gnome
stratum by adding it manually to the staging filler from an rpm. This
isn't a long-term solution :)
What would be a better way to fix this? Add it to devel and build it
during the bootstrap strage? For reference, the vala-0.14 RPM I have is
1.5MB - not huge, but not negligible either.
Sam
10 years, 7 months
[PATCH 0/2] ./check for unwanted hashbangs
by Lars Wirzenius
* Repository: git://roadtrain.codethink.co.uk/baserock/morph
* Branch: liw/no-hashbangs
* Commit: 275933f76f5f2557612117510028b8e000d5c6c7
Lars Wirzenius (2):
Add check for #! in *.py files
Remove #! from setup.py
check | 10 ++++++++++
setup.py | 1 -
2 files changed, 10 insertions(+), 1 deletions(-)
--
1.7.2.5
10 years, 7 months
[PATCH 00/17] Move commands into plugins
by Richard Maw
Repo: git://roadtrain.codethink.co.uk/baserock/morph
Ref: baserock/feature/S2791-move-commands-to-plugins
Sha1: f6eb09c03e4a5a63291d9fd0c8d2b9839855de7c
Tested by: ./check
This includes a commit to pep8ize the codebase, if this change
is too large I will rebase and try without it, but I think it is a good
idea, and I will be checking all my future submissions with the pep8 command.
The moved code isn't a strict move, some changes were made to use new apis
and other minor cleanup.
I decorated some methods with @staticmethod and @classmethod when I thought
they didn't need to use the self parameter.
Richard Maw (17):
python scripts: pep8ize codebase
move show-dependencies command into a plugin
Publicize _itertriplets and _create_source_pool
morph: move update-gits to plugin
Move utility functions for creating caches
Move command make-patch to Trebuchet plugin
Move init and minedir to branch_and_merge plugin
Add chatty output to init command
Move commands branch and checkout to plugin
move command show-system-branch to plugin
Move command petrify to branch_and_merge plugin
Add test for petrifying strata
Move merge command to plugin
Move edit to plugin and remove dead code from app
Consolidate morphology writing code in plugin
Move BuildCommand from app into its own module
Move cmd_build to a separate plugin
dump-build-times | 6 +-
morph | 6 +-
morphlib/__init__.py | 10 +-
morphlib/app.py | 951 ++------------------
morphlib/artifact.py | 22 +-
morphlib/artifact_tests.py | 47 +-
morphlib/artifactcachereference.py | 9 +-
morphlib/artifactresolver.py | 62 +-
morphlib/artifactresolver_tests.py | 420 +++++-----
morphlib/bins.py | 55 +-
morphlib/bins_tests.py | 51 +-
morphlib/buildcommand.py | 298 ++++++
morphlib/buildenvironment.py | 3 +-
morphlib/buildenvironment_tests.py | 1 +
morphlib/builder2.py | 158 ++--
morphlib/builder2_tests.py | 40 +-
morphlib/buildorder.py | 14 +-
morphlib/buildorder_tests.py | 12 +-
morphlib/buildsystem.py | 67 +-
morphlib/buildsystem_tests.py | 41 +-
morphlib/cachedir.py | 29 +-
morphlib/cachedir_tests.py | 11 +-
morphlib/cachedrepo.py | 41 +-
morphlib/cachedrepo_tests.py | 32 +-
morphlib/cachekeycomputer.py | 19 +-
morphlib/cachekeycomputer_tests.py | 51 +-
morphlib/fsutils.py | 13 +-
morphlib/git.py | 19 +-
morphlib/localartifactcache.py | 6 +-
morphlib/localartifactcache_tests.py | 52 +-
morphlib/localrepocache.py | 93 +-
morphlib/localrepocache_tests.py | 17 +-
morphlib/morph2.py | 35 +-
morphlib/morph2_tests.py | 13 +-
morphlib/morphologyfactory.py | 34 +-
morphlib/morphologyfactory_tests.py | 23 +-
morphlib/plugins/branch_and_merge_plugin.py | 331 +++++++
morphlib/plugins/build_plugin.py | 47 +
morphlib/plugins/graphing_plugin.py | 24 +-
morphlib/plugins/hello_plugin.py | 9 +-
morphlib/plugins/show_dependencies_plugin.py | 71 ++
.../plugins/syslinux-disk-systembuilder_plugin.py | 27 +-
morphlib/plugins/tarball-systembuilder_plugin.py | 17 +-
morphlib/plugins/trebuchet_plugin.py | 111 +++
morphlib/plugins/update_gits_plugin.py | 74 ++
morphlib/remoteartifactcache.py | 36 +-
morphlib/remoteartifactcache_tests.py | 84 +-
morphlib/remoterepocache.py | 22 +-
morphlib/remoterepocache_tests.py | 21 +-
morphlib/repoaliasresolver.py | 17 +-
morphlib/repoaliasresolver_tests.py | 22 +-
morphlib/savefile.py | 25 +-
morphlib/savefile_tests.py | 11 +-
morphlib/source.py | 18 +-
morphlib/source_tests.py | 27 +-
morphlib/sourcepool.py | 13 +-
morphlib/sourcepool_tests.py | 7 +-
morphlib/stagingarea.py | 47 +-
morphlib/stagingarea_tests.py | 21 +-
morphlib/stopwatch.py | 17 +-
morphlib/stopwatch_tests.py | 17 +-
morphlib/tempdir.py | 15 +-
morphlib/tempdir_tests.py | 11 +-
morphlib/util.py | 77 ++-
morphlib/util_tests.py | 11 +-
scripts/assemble-stratum | 7 +-
scripts/check-copyright-year | 13 +-
scripts/list-overlaps | 7 +-
setup.py | 39 +-
source-stats | 51 +-
tests.branching/petrify.script | 32 +
tests.branching/petrify.stdout | 14 +
tests.branching/setup | 12 +
without-test-modules | 6 +
74 files changed, 2225 insertions(+), 1947 deletions(-)
create mode 100644 morphlib/buildcommand.py
create mode 100644 morphlib/plugins/branch_and_merge_plugin.py
create mode 100644 morphlib/plugins/build_plugin.py
create mode 100644 morphlib/plugins/show_dependencies_plugin.py
create mode 100644 morphlib/plugins/trebuchet_plugin.py
create mode 100644 morphlib/plugins/update_gits_plugin.py
create mode 100755 tests.branching/petrify.script
create mode 100644 tests.branching/petrify.stdout
--
1.7.5.4
10 years, 7 months
[PATCH] Raise clearer error on morphology parse errors
by Sam Thursfield
Printing a full traceback here looks a bit messy and doesn't add
any useful information.
Sam Thursfield (1):
Raise clearer error on morphology parse errors
morphlib/morphologyfactory.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
--
1.7.7.6
10 years, 7 months