[PATCH 0/2] Improvements the license check script.
by Tiago Gomes
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
--
1.7.10.4
8 years, 12 months
[PATCH 0/5] Add morph gc subcommand
by Richard Maw
Repo: git://git.baserock.org/baserock/baserock/morph.git
Ref: baserock/richardmaw/S7905-morph-gc
Sha1: fac3e935a4b7eee89bf525adeeb90aafe069e626
Land: master
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
--
1.7.10.4
8 years, 12 months
[PATCH] Remove obsolete fields in system morphs
by Jonathan Maw
head: 9117845b3264410b8003932ea3f7c0a43235cd2b
branch: jonathan/remove-system-kind
repo: git://git.baserock.org/baserock/baserock/morphs
Jonathan Maw (1):
Remove obsolete fields
base-system-armv7-highbank.morph | 2 --
base-system-armv7-versatile.morph | 2 --
base-system-armv7b-highbank.morph | 2 --
base-system-x86_32-generic.morph | 2 --
base-system-x86_64-generic.morph | 2 --
devel-system-armv7-highbank.morph | 2 --
devel-system-armv7-versatile.morph | 2 --
devel-system-armv7b-highbank.morph | 2 --
devel-system-x86_32-generic.morph | 2 --
devel-system-x86_64-generic.morph | 2 --
genivi-baseline-system-armv7-versatile.morph | 2 --
genivi-baseline-system-x86_64-generic.morph | 2 --
genivi-devel-system-armv7-versatile.morph | 2 --
genivi-devel-system-x86_64-generic.morph | 2 --
qt4-devel-system-x86_64-generic.morph | 2 --
qt5-devel-system-x86_64-generic.morph | 2 --
16 files changed, 32 deletions(-)
--
1.7.10.4
9 years
[PATCH 00/25] Morph: Improve subcommand help texts
by Lars Wirzenius
repo: git://git.baserock.org/baserock/baserock/morph
branch: liw/subcommand-docs
commit: 1437f68e31ad9dc87dc0e2fa1e8108d14cef80e9
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
series, though.
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(-)
--
1.7.9-rc0
9 years
[PATCH] Morph: Remove "make-patch" subcommand
by Lars Wirzenius
repo: git://git.baserock.org/baserock/baserock/morph
branch: liw/disable-make-patch
commit: 6409218928104071d0da101b94edbf31c409cba7
Lars Wirzenius (1):
Remove "morph make-patch" since it doesn't work
morphlib/plugins/trebuchet_plugin.py | 98 ----------------------------------
tests.as-root/make-patch.script | 93 --------------------------------
tests.as-root/make-patch.stdout | 5 --
without-test-modules | 1 -
4 files changed, 197 deletions(-)
delete mode 100644 morphlib/plugins/trebuchet_plugin.py
delete mode 100755 tests.as-root/make-patch.script
delete mode 100644 tests.as-root/make-patch.stdout
--
1.7.10.4
9 years
Re: AW: [quick sync on project launching] notes
by Paul Sherwood
H Claus-Peter
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)
Agreed.
br
Paul
--
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.
9 years
[PATCH 0/5] V2 fix morph petrify
by Jonathan Maw
head: 9ba2000eca7b41aece0ae5eb02143d5e8861b715
branch: jonathan/fix-petrify-2
repo: git://git.baserock.org/baserock/baserock/morph
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
--
1.7.10.4
9 years