From ecefb2d1936221ccf21cbad6db2fe73cd229f4f5 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Tue, 28 Aug 2012 15:31:29 +0100 Subject: Strata contain "chunks", not "sources" Rename "sources" field of stratum morphologies to "chunks". --- tests/build-stratum-with-submodules.script | 2 +- tests/hello-stratum.morph | 2 +- tests/morphless-chunks.script | 2 +- tests/setup | 2 +- tests/show-dependencies.setup | 4 ++-- tests/stratum-overlap-warns.setup | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tests') diff --git a/tests/build-stratum-with-submodules.script b/tests/build-stratum-with-submodules.script index c2d97817..fee57d7c 100755 --- a/tests/build-stratum-with-submodules.script +++ b/tests/build-stratum-with-submodules.script @@ -49,7 +49,7 @@ cat < "$morphs/submod-stratum.morph" { "name": "submod-stratum", "kind": "stratum", - "sources": [ + "chunks": [ { "name": "parent", "repo": "test:parent-repo", diff --git a/tests/hello-stratum.morph b/tests/hello-stratum.morph index 11ac4e1c..d5b97365 100644 --- a/tests/hello-stratum.morph +++ b/tests/hello-stratum.morph @@ -1,7 +1,7 @@ { "name": "hello", "kind": "stratum", - "sources": { + "chunks": { "hello": { "repo": "hello", "ref": "master" diff --git a/tests/morphless-chunks.script b/tests/morphless-chunks.script index 41137d68..8ef653f6 100755 --- a/tests/morphless-chunks.script +++ b/tests/morphless-chunks.script @@ -46,7 +46,7 @@ cat << EOF > alfred.morph { "name": "alfred", "kind": "stratum", - "sources": [ + "chunks": [ { "name": "morphless", "repo": "test:morphless", diff --git a/tests/setup b/tests/setup index 8d3ab5b5..19c400fa 100755 --- a/tests/setup +++ b/tests/setup @@ -90,7 +90,7 @@ cat < hello-stratum.morph { "name": "hello-stratum", "kind": "stratum", - "sources": [ + "chunks": [ { "name": "hello", "repo": "test:chunk-repo", diff --git a/tests/show-dependencies.setup b/tests/show-dependencies.setup index d30e22bf..924a626b 100755 --- a/tests/show-dependencies.setup +++ b/tests/show-dependencies.setup @@ -78,7 +78,7 @@ cat < gtk-stack.morph "kind": "stratum", "build-depends": [ ], - "sources": [ + "chunks": [ { "name": "freetype", "repo": "test:test-repo", @@ -200,7 +200,7 @@ cat < xfce-core.morph "build-depends": [ "gtk-stack" ], - "sources": [ + "chunks": [ { "name": "libxfce4util", "repo": "test:test-repo", diff --git a/tests/stratum-overlap-warns.setup b/tests/stratum-overlap-warns.setup index 4dff3ddb..a699bf2d 100755 --- a/tests/stratum-overlap-warns.setup +++ b/tests/stratum-overlap-warns.setup @@ -29,7 +29,7 @@ cat <overlap-stratum.morph { "name": "overlap-stratum", "kind": "stratum", - "sources": [ + "chunks": [ { "name": "dirs", "repo": "test:chunk-repo", -- cgit v1.2.1