From 623aeb74987a71333d4948dcef1183c587215d65 Mon Sep 17 00:00:00 2001 From: Daniel Firth Date: Tue, 22 Mar 2016 13:57:26 +0000 Subject: Document submodule spec changes Change-Id: Icc0aba5072cb4dd656e88855cdf2cbbb51c7caf9 --- spec.mdwn | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/spec.mdwn b/spec.mdwn index 248f826..34431f9 100644 --- a/spec.mdwn +++ b/spec.mdwn @@ -17,7 +17,7 @@ The source code of [Morph] and [YBD] might be more useful if you need a complete Versioning ---------- -The current version of the definitions format is version 7. +The current version of the definitions format is version 8. Definitions repository ---------------------- @@ -202,6 +202,11 @@ The fields mean the following: to a chunk .morph file. - `build-system` specifies one of the predefined build systems. You must specify ONE of `morph` or `build-system` for each chunk. + - `submodules` is a list of key/value mappings that specifies url + overrides for .gitmodules. The key should be the name of the submodule + as listed in .gitmodules, not the path. The value is a dictionary + containing one key/value pair: + * `url`: The url override for the submodule, this can include aliasing. In addition to these keys, each of the sources can specify a list of build dependencies using the `build-depends` field. To specify one or more chunk dependencies, `build-depends` needs to be set to a list @@ -256,6 +261,14 @@ The fields mean the following: build-depends: - fhs-dirs - linux-api-headers + - name: ansible + repo: upstream:ansible + ref: v2.0 + submodules: + lib/ansible/modules/core: + url: upstream:ansible-modules-core + lib/ansible/modules/extras: + url: upstream:ansible-modules-extras ### Example system: -- cgit v1.2.1