From 179ce80da32a708e8fcb31747d345647f84957aa Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Thu, 15 May 2014 14:41:19 +0000 Subject: Rewrite copy_artifacts plugin as list_artifacts The copy-artifacts and list-artifacts commands are mainly useful for making releases. As part of the release process we copy artifacts for the entire build graph of the release to the artifact cache on trove.baserock.org, to provide Baserock users with ready-built artifacts. This part of the release process is now automated, and the automation require the list-artifacts command to function as a 'plumbing' command. The copy-artifacts command is no longer required. It can be replaced with: morph list-artifacts --quiet REPO REF MORPH | rsync --files-from=- $TARGET The previous version of this plugin looked in the system artifact's metadata for the list of artifacts. This is flawed as the final system does not necessarily contain every build dependency. The new version of the plugin calculates the build graph from source, using the same process as the 'buildcommand' module. It also required looking in Morph's artifact cache for the system artifact file to analyse. --- without-test-modules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'without-test-modules') diff --git a/without-test-modules b/without-test-modules index a42cce97..a847da86 100644 --- a/without-test-modules +++ b/without-test-modules @@ -25,7 +25,7 @@ morphlib/plugins/expand_repo_plugin.py morphlib/plugins/deploy_plugin.py morphlib/plugins/__init__.py morphlib/writeexts.py -morphlib/plugins/copy-artifacts_plugin.py +morphlib/plugins/list_artifacts_plugin.py morphlib/plugins/trovectl_plugin.py morphlib/plugins/gc_plugin.py morphlib/plugins/branch_and_merge_new_plugin.py -- cgit v1.2.1