[PATCH 0/2] Fix cross-bootsrap and cross-deploy
by Pedro Alvarez
Repo: baserock:baserock/morph
Branch: baserock/pedroalvarez/fix-cross-bootstrap3
Sha1: 1bdfea1fd216ed1160fd13f01220af64f2832199
Ben Brown (1):
Deploy and cross-bootstrap commands no longer validate host
architecture
Pedro Alvarez (1):
Add tests for cross-bootstrap
morphlib/plugins/cross-bootstrap_plugin.py | 13 ++++++++
morphlib/plugins/deploy_plugin.py | 4 +++
tests.build/cross-bootstrap.script | 2 +-
yarns/architecture.yarn | 10 ++++++
yarns/deployment.yarn | 9 +++++
yarns/implementations.yarn | 50 +++++++++++++++++++++++++++-
6 files changed, 86 insertions(+), 2 deletions(-)
--
1.7.10.4
9 years, 9 months
[PATCHv3 0/5] Filesystem refactor
by Ben Brown
Repo: baserock/baserock/morph
Ref: benbrown/RT44
Sha1: 099249123494b0e8e8d133c4b4280995e39c1349
Card: S9502
Ben Brown (1):
Add missing import to morph gc and cleanup repos upon keyboard
interrupt
Daniel Firth (4):
Refactored localrepocache
Replaces Tempdir with fs.tempfs.TempFS
Removed unused CacheDir class
LocalArtifactCache now takes a an FS object
morphlib/__init__.py | 2 -
morphlib/cachedir.py | 86 ----------------
morphlib/cachedir_tests.py | 128 ------------------------
morphlib/cachedrepo_tests.py | 17 ++--
morphlib/localartifactcache.py | 47 ++++-----
morphlib/localartifactcache_tests.py | 34 +++----
morphlib/localrepocache.py | 131 +++++++------------------
morphlib/localrepocache_tests.py | 53 ++++------
morphlib/plugins/artifact_inspection_plugin.py | 9 +-
morphlib/plugins/gc_plugin.py | 3 +-
morphlib/tempdir.py | 48 ---------
morphlib/tempdir_tests.py | 57 -----------
morphlib/util.py | 10 +-
13 files changed, 100 insertions(+), 525 deletions(-)
delete mode 100644 morphlib/cachedir.py
delete mode 100644 morphlib/cachedir_tests.py
delete mode 100644 morphlib/tempdir.py
delete mode 100644 morphlib/tempdir_tests.py
--
1.8.5.1
9 years, 9 months
[PATCHv3 0/3] Convert xattr scenarios
by Ben Brown
Repo: baserock:baserock/tbdiff
Ref: benbrown/S9537/convert-xattribute-tests
Sha1: af2934285f9ea8f47a6e08f27afc2f2384981690
Card: S9537
Function added to shell lib for the comparing of extended attributes.
Ben Brown (3):
Add newlines to increase readability
Scenarios testing extended attributes on file systems that support
them
Commented out code that runs tests that have been converted to yarn
tests/run_tests.sh | 28 +++++-----
yarns/create-deploy.yarn | 132 +++++++++++++++++++++++++++++++++++++++++++++++
yarns/tbdiff.shell-lib | 10 ++++
3 files changed, 156 insertions(+), 14 deletions(-)
--
1.8.5.1
9 years, 9 months
[PATCH v2 0/4] New lorry backup behaviour
by Richard Ipsum
The second version of this patch, gets rid of the needless get_backupdir,
removes save_failgit (it's essentially identical to backup_gitdir),
doesn't ignore errors from shutil.rmtree.
Richard Ipsum (4):
Modify lorry backup behaviour and rename tests
Add multi-backup tear down and single backup test
Add test: existing backup is removed by default
Update copyright notices
README | 2 +-
check | 2 +-
lorry | 53 +++++++++++------
lorry.1.in | 2 +-
setup.py | 2 +-
tests/bzr-single-commit.script | 2 +-
tests/bzr-single-commit.setup | 2 +-
tests/cvs-single-commit.script | 2 +-
tests/cvs-single-commit.setup | 2 +-
...=> git-backup-on-error-multiple-backups.script} | 6 +-
... => git-backup-on-error-multiple-backups.setup} | 2 +-
...=> git-backup-on-error-multiple-backups.stderr} | 0
...=> git-backup-on-error-multiple-backups.stdout} | 0
.../git-backup-on-error-multiple-backups.teardown | 21 +++++++
...error-single-backup-is-removed-if-exists.script | 43 ++++++++++++++
...-error-single-backup-is-removed-if-exists.setup | 47 +++++++++++++++
...ror-single-backup-is-removed-if-exists.teardown | 21 +++++++
tests/git-backup-on-error-single-backup.script | 51 ++++++++++++++++
tests/git-backup-on-error-single-backup.setup | 47 +++++++++++++++
tests/git-backup-on-error-single-backup.stdout | 62 ++++++++++++++++++++
tests/git-backup-on-error-single-backup.teardown | 21 +++++++
tests/git-single-commit.script | 2 +-
tests/git-single-commit.setup | 2 +-
tests/hg-single-commit.script | 2 +-
tests/hg-single-commit.setup | 2 +-
tests/make-tarball.script | 2 +-
tests/make-tarball.setup | 2 +-
tests/no-pushspec-pushall.script | 2 +-
tests/pushspecs-only.script | 2 +-
tests/setup_once | 2 +-
tests/svn-single-commit.script | 2 +-
tests/svn-single-commit.setup | 2 +-
tests/tar-single-commit.script | 2 +-
tests/tar-single-commit.setup | 2 +-
34 files changed, 373 insertions(+), 43 deletions(-)
rename tests/{git-backup-on-error.script => git-backup-on-error-multiple-backups.script} (94%)
rename tests/{git-backup-on-error.setup => git-backup-on-error-multiple-backups.setup} (96%)
rename tests/{git-backup-on-error.stderr => git-backup-on-error-multiple-backups.stderr} (100%)
rename tests/{git-backup-on-error.stdout => git-backup-on-error-multiple-backups.stdout} (100%)
create mode 100755 tests/git-backup-on-error-multiple-backups.teardown
create mode 100755 tests/git-backup-on-error-single-backup-is-removed-if-exists.script
create mode 100755 tests/git-backup-on-error-single-backup-is-removed-if-exists.setup
create mode 100755 tests/git-backup-on-error-single-backup-is-removed-if-exists.teardown
create mode 100755 tests/git-backup-on-error-single-backup.script
create mode 100755 tests/git-backup-on-error-single-backup.setup
create mode 100644 tests/git-backup-on-error-single-backup.stderr
create mode 100644 tests/git-backup-on-error-single-backup.stdout
create mode 100755 tests/git-backup-on-error-single-backup.teardown
--
1.7.10.4
9 years, 9 months
[PATCH] Quote ref and filename
by Ben Brown
Repo: baserock:baserock/morph
Ref: benbrown/quote-filename-and-ref
Sha1: a1222cc4186aa839c927b33bfa9df0729e40212c
Previous fix only quoted URLs, which fixed petrify --no-git-update, but not the whole problem, quoting ref and filename prevents other problems that may be caused by non URL friendly characters.
Function to quote arguments passed to it could have unit tests, however, Daniel
said that for now this change is ok, as the entire test needs reworking as it
bypasses the functions that result in ref/filename/repo_url being quoted.
Ben Brown (1):
Quote ref and filename
morphlib/remoterepocache.py | 18 ++++++++++++------
morphlib/remoterepocache_tests.py | 7 +++----
2 files changed, 15 insertions(+), 10 deletions(-)
--
1.8.5.1
9 years, 9 months
[PATCHv2 0/2] Convert xattr scenarios.
by Ben Brown
Repo: baserock:baserock/tbdiff
Ref: benbrown/S9537/convert-xattribute-tests
Sha1: b51a9c383b477a3f6632db96daf63076047472cb
Card: S9537
Ben Brown (2):
Add newlines to increase readability
Scenarios testing extended attributes on file systems that support
them
yarns/create-deploy.yarn | 132 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 132 insertions(+)
--
1.8.5.1
9 years, 9 months
[PATCH] Move sqlite3 into foundation
by Ben Brown
Repo: baserock:baserock/morphs
Ref: benbrown/S9858/move-sqlite3
Sha1: b4e7d632cbb6fa89ecfe521982326cc52669e4b3
Card: S9858
Ben Brown (1):
Move sqlite3 into foundation
ceph-service.morph | 7 +------
foundation.morph | 4 ++++
genivi.morph | 5 -----
nfs.morph | 7 +------
qt4-tools.morph | 5 -----
qt5-tools.morph | 6 ------
6 files changed, 6 insertions(+), 28 deletions(-)
--
1.8.4.rc3
9 years, 9 months
[PATCH 0/4] New lorry backup behaviour
by Richard Ipsum
repo: git.baserock.org:baserock/baserock/lorry
ref: richardipsum/improve_backups_simpler_test
sha1: 554b36b6509bf0b4d61c769cf0888b7cb87dc674
This patch changes the default backup behaviour of lorry.
Previous behaviour is still available using a --keep-multiple-backups option.
There are two new tests which test the new behaviour.
The set up and teardown for these tests is identical to the original multiple backup setup and teardown.
I've chosen to avoid using symbolic links because I think they could
be a potential source of confusion for the next person who works on this,
namely if they should want to modify the setup or teardown of one of the backup tests,
without altering the others.
Copyright notices have also been updated. :)
Richard Ipsum (4):
Modify lorry backup behaviour and rename tests
Add multi-backup tear down and single backup test
Add test: existing backup is removed by default
Update copyright notices
README | 2 +-
check | 2 +-
lorry | 41 +++++++++++--
lorry.1.in | 2 +-
setup.py | 2 +-
tests/bzr-single-commit.script | 2 +-
tests/bzr-single-commit.setup | 2 +-
tests/cvs-single-commit.script | 2 +-
tests/cvs-single-commit.setup | 2 +-
...=> git-backup-on-error-multiple-backups.script} | 6 +-
... => git-backup-on-error-multiple-backups.setup} | 2 +-
...=> git-backup-on-error-multiple-backups.stderr} | 0
...=> git-backup-on-error-multiple-backups.stdout} | 0
.../git-backup-on-error-multiple-backups.teardown | 21 +++++++
...error-single-backup-is-removed-if-exists.script | 43 ++++++++++++++
...-error-single-backup-is-removed-if-exists.setup | 47 +++++++++++++++
...ror-single-backup-is-removed-if-exists.teardown | 21 +++++++
tests/git-backup-on-error-single-backup.script | 51 ++++++++++++++++
tests/git-backup-on-error-single-backup.setup | 47 +++++++++++++++
tests/git-backup-on-error-single-backup.stdout | 62 ++++++++++++++++++++
tests/git-backup-on-error-single-backup.teardown | 21 +++++++
tests/git-single-commit.script | 2 +-
tests/git-single-commit.setup | 2 +-
tests/hg-single-commit.script | 2 +-
tests/hg-single-commit.setup | 2 +-
tests/make-tarball.script | 2 +-
tests/make-tarball.setup | 2 +-
tests/no-pushspec-pushall.script | 2 +-
tests/pushspecs-only.script | 2 +-
tests/setup_once | 2 +-
tests/svn-single-commit.script | 2 +-
tests/svn-single-commit.setup | 2 +-
tests/tar-single-commit.script | 2 +-
tests/tar-single-commit.setup | 2 +-
34 files changed, 373 insertions(+), 31 deletions(-)
rename tests/{git-backup-on-error.script => git-backup-on-error-multiple-backups.script} (94%)
rename tests/{git-backup-on-error.setup => git-backup-on-error-multiple-backups.setup} (96%)
rename tests/{git-backup-on-error.stderr => git-backup-on-error-multiple-backups.stderr} (100%)
rename tests/{git-backup-on-error.stdout => git-backup-on-error-multiple-backups.stdout} (100%)
create mode 100755 tests/git-backup-on-error-multiple-backups.teardown
create mode 100755 tests/git-backup-on-error-single-backup-is-removed-if-exists.script
create mode 100755 tests/git-backup-on-error-single-backup-is-removed-if-exists.setup
create mode 100755 tests/git-backup-on-error-single-backup-is-removed-if-exists.teardown
create mode 100755 tests/git-backup-on-error-single-backup.script
create mode 100755 tests/git-backup-on-error-single-backup.setup
create mode 100644 tests/git-backup-on-error-single-backup.stderr
create mode 100644 tests/git-backup-on-error-single-backup.stdout
create mode 100755 tests/git-backup-on-error-single-backup.teardown
--
1.7.10.4
9 years, 9 months
[PATCH]
by Ben Brown
Repo: baserock:baserock/tbdiff
Ref: benbrown/S9537/convert-xattribute-tests
Sha1: c2b07e0cf50871ce848604a88da20b349964b042
Card: S9537
Ben Brown (1):
Scenarios testing extended attributes on file systems that support
them
yarns/create-deploy.yarn | 58 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
--
1.8.4.rc3
9 years, 9 months