Skip to content

Instantly share code, notes, and snippets.

@mbolivar
Last active January 23, 2020 21:04
Show Gist options
  • Save mbolivar/e3e5f8a6121cf48b9676d2a173f761b7 to your computer and use it in GitHub Desktop.
Save mbolivar/e3e5f8a6121cf48b9676d2a173f761b7 to your computer and use it in GitHub Desktop.
==> m/west.yml <==
manifest:
projects:
- name: west.yml:project
url: u
- name: ignore-test # this one should get ignored
url: not-a-real-url
path: this-should-not-appear
self:
import:
- imp01.yml
- file: imp02.yml
name-whitelist: imp02.yml:project-1
- imp.d
==> m/imp01.yml <==
manifest:
projects:
- name: ignore-test
url: u
- name: imp01.yml:project
url: u
==> m/imp02.yml <==
manifest:
projects:
- name: imp02.yml:project-1
url: u
- name: imp02.yml:project-2
url: u
==> m/imp.d/00.yml <==
manifest:
projects:
- name: imp.d/00.yml:project
url: u
$ west manifest --resolve
manifest:
projects:
- name: ignore-test
url: u
revision: master
- name: imp01.yml:project
url: u
revision: master
- name: imp02.yml:project-1
url: u
revision: master
- name: imp.d/00.yml:project
url: u
revision: master
- name: west.yml:project
url: u
revision: master
self:
path: m
$ west -v manifest --resolve
west.manifest: loading /home/mbolivar/src/west-sandbox/imp-self/m/west.yml
west.manifest: resolving self import ['imp01.yml', {'file': 'imp02.yml', 'name-whitelist': 'imp02.yml:project-1'}, 'imp.d']
west.manifest: found submanifest file: /home/mbolivar/src/west-sandbox/imp-self/m/imp01.yml
west.manifest: loading /home/mbolivar/src/west-sandbox/imp-self/m/imp01.yml
west.manifest: added project ignore-test from /home/mbolivar/src/west-sandbox/imp-self/m/imp01.yml
west.manifest: added project imp01.yml:project from /home/mbolivar/src/west-sandbox/imp-self/m/imp01.yml
west.manifest: loaded /home/mbolivar/src/west-sandbox/imp-self/m/imp01.yml
west.manifest: found submanifest file: /home/mbolivar/src/west-sandbox/imp-self/m/imp02.yml
west.manifest: loading /home/mbolivar/src/west-sandbox/imp-self/m/imp02.yml
west.manifest: added project imp02.yml:project-1 from /home/mbolivar/src/west-sandbox/imp-self/m/imp02.yml
west.manifest: project imp02.yml:project-2 in file /home/mbolivar/src/west-sandbox/imp-self/m/imp02.yml ignored due to filters
west.manifest: loaded /home/mbolivar/src/west-sandbox/imp-self/m/imp02.yml
west.manifest: found submanifest directory: /home/mbolivar/src/west-sandbox/imp-self/m/imp.d
west.manifest: loading /home/mbolivar/src/west-sandbox/imp-self/m/imp.d/00.yml
west.manifest: added project imp.d/00.yml:project from /home/mbolivar/src/west-sandbox/imp-self/m/imp.d/00.yml
west.manifest: loaded /home/mbolivar/src/west-sandbox/imp-self/m/imp.d/00.yml
west.manifest: resolved self import
west.manifest: added project west.yml:project from /home/mbolivar/src/west-sandbox/imp-self/m/west.yml
west.manifest: loaded /home/mbolivar/src/west-sandbox/imp-self/m/west.yml
manifest:
projects:
- name: ignore-test
url: u
revision: master
- name: imp01.yml:project
url: u
revision: master
- name: imp02.yml:project-1
url: u
revision: master
- name: imp.d/00.yml:project
url: u
revision: master
- name: west.yml:project
url: u
revision: master
self:
path: m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment