The script was adapted to work in yaml morphologies and to ignore GLPv3 chunks.
The commits are not squashed because I wanted to Paul to review the changes.
I also had removed genivi-baseline-licenses.txt because I don't think that it belong to git.
It will be quickly outdated.
This script has some problems:
- morph edit will change the morphology files
- we don't do a checkout to the correct reference after cloning the repository
Paul Sherwood (1):
wip for genivi license review
Tiago Gomes (1):
Improvements the license check script.
genivi-baseline-licenses.txt | 1028 ++++++++++++++++++++++++++++++++++++++++++
licensecheck.pl | 596 ++++++++++++++++++++++++
licensecheck.sh | 90 ++++
3 files changed, 1714 insertions(+)
create mode 100644 genivi-baseline-licenses.txt
create mode 100644 licensecheck.pl
create mode 100755 licensecheck.sh
This adds methods to the local artifact cache to inspect its contents
and delete artifacts by cache key.
Policy for deletion is left to the gc plugin.
Staging areas of failed builds are removed first from --tempdir, and
then removes all extracted chunks if there is still not enough space.
Artifacts are removed from the cache, oldest first, until there are
no longer any chunks older than --cachedir-artifact-max-age.
It will finish deleting when there is enough space.
I have tested this with a tmpfs, a script to generate random artifacts,
and touch. A proper black-box test would be difficult to implement, and
would require root, or user namespace support.
Richard Maw (5):
util: split out space unify logic
lac_tests: set cache key
LAC: implement contents listing and removal by key
lac_tests: Cover list and delete
plugins: `morph gc` command via plugin
morphlib/localartifactcache.py | 28 ++++++++
morphlib/localartifactcache_tests.py | 36 +++++++++-
morphlib/plugins/gc_plugin.py | 121 ++++++++++++++++++++++++++++++++++
morphlib/util.py | 25 +++++--
without-test-modules | 1 +
5 files changed, 204 insertions(+), 7 deletions(-)
create mode 100644 morphlib/plugins/gc_plugin.py
This series of patches adds or improves the help texts for most
subcommands. Most of them now have examples as well. The
"morph deploy" help text is static, but in the future we will
want to make that much more dynamic, since extensions are not
necessarily part of Morph. That's beyond the scope of this patch
I've kept each docstring update as a separate patch, to make it
easier to discuss them in separate subthreads (identified by
subjects). Unfortunately, that leads to a large number of patches.
But they're small and easy to review!
Lars Wirzenius (25):
Improve docstring for "morph branch"
Improve docstring for "morph build"
Improve docstring for "morph build-morphology"
Improve docstring for "morph checkout"
Improve docstring for "morph deploy"
Improve docstring for "morph edit"
Improve docstring for "morph foreach"
Improve docstring for "morph graph-build-depends"
Improve docstring for "morph init"
Improve docstring for "morph merge"
Improve docstring for "morph petrify"
Improve docstring for "morph show-system-branch"
Improve docstring for "morph show-branch-root"
Improve docstring for "morph status"
Improve docstring for "morph unpetrify"
Improve docstring for "morph update-gits"
Improve docstring for "morph workspace"
Improve docstring for "morph expand-repo"
Improve docstring for "morph list-artifacts"
Improve docstring for "morph copy-artifacts"
Improve docstring for "morph run-in-artifact"
Improve docstring for "morph show-dependencies"
Improve docstring for "morph trovectl"
Improve docstring for "morph tag"
Improve docstring for "morph generate-manifest"
morphlib/plugins/artifact_inspection_plugin.py | 36 +++-
morphlib/plugins/branch_and_merge_plugin.py | 275 ++++++++++++++++++++++--
morphlib/plugins/build_plugin.py | 23 ++-
morphlib/plugins/copy-artifacts_plugin.py | 38 +++-
morphlib/plugins/deploy_plugin.py | 154 +++++++++++++-
morphlib/plugins/expand_repo_plugin.py | 24 ++-
morphlib/plugins/graphing_plugin.py | 30 +++-
morphlib/plugins/show_dependencies_plugin.py | 13 +-
morphlib/plugins/trovectl_plugin.py | 23 ++-
morphlib/plugins/update_gits_plugin.py | 17 ++-
10 files changed, 592 insertions(+), 41 deletions(-)
On 04/07/2013 11:28, Wiedemann, Claus-Peter wrote:
> On the Baserock download page I found
> Baserock is licensed under the GNU General Public License version 2 as published the Free Software Foundation
> The full license text and other licensing information can be found in the source code.
> I think, the correct wording would be
> Baserock is licensed under the GNU General Public License version 2 as published the Free Software Foundation and other OSS licenses.
> The full license texts and other licensing information can be found in the source code.
Thank you for the feedback. Our reasoning was as follows - Baserock
itself has been developed by Codethink, and we license all of the public
source as GPLv2. Clearly Baserock is used to build other components
where other licenses apply, but that's not the Baserock project.
So for Baserock itself, we do not think that other licenses are
applicable. However we have not taken specific legal advice on this, and
would be happy to adopt your suggested wording if that's your
recommendation following consideration of the above.
> It may also be beneficial to add a link to the license manifest (one we have verified it)
>> http://projects.genivi.org/GENIVI_Baselines/meta-ivi (yocto)
Paul Sherwood Codethink Ltd.
Tel: +44 788 798 4900 302 Ducie House, Ducie Street,
http://www.codethink.co.uk/ Manchester, M1 2JW, United Kingdom.
Codethink provides advanced software design, development, integration &
test services: from embedded systems to high performance apps to cloud.
This is a temporary solution for morph petrify being
broken, and will require more serious consideration and
fixing in the future.
A substantial difference between this and the previous
petrify behaviour is that it attempts to find morphologies
in the local/remote repo cache, instead of using the working
branch. This means that morphs will have to be pushed before
they can be petrified.
Jonathan Maw (1):
Make morph petrify use the petrify_everything function
Lars Wirzenius (4):
Fix test case for petrify
Fix the petrify-no-double-petrify test case
Disable workflow-petrify test
Add pushing to placate new petrify code
morphlib/plugins/branch_and_merge_plugin.py | 51 +------
...hology-contents-do-not-change-cache-keys.script | 2 +
tests.branching.disabled/workflow-petrify.script | 67 +++++++++
tests.branching.disabled/workflow-petrify.stdout | 158 ++++++++++++++++++++
tests.branching/petrify-no-double-petrify.script | 1 +
tests.branching/petrify.script | 2 +
tests.branching/petrify.stdout | 5 +-
tests.branching/workflow-petrify.script | 67 ---------
tests.branching/workflow-petrify.stdout | 158 --------------------
9 files changed, 235 insertions(+), 276 deletions(-)
create mode 100755 tests.branching.disabled/workflow-petrify.script
create mode 100644 tests.branching.disabled/workflow-petrify.stdout
delete mode 100755 tests.branching/workflow-petrify.script
delete mode 100644 tests.branching/workflow-petrify.stdout