west.yml: remove 'self: path:'

This makes it easier to rename this repository and use it under its
new name. For example, with this patch, if you push the repository to
GitHub user 'foo' as repository 'bar', you can do:

  west init -m https://github.com/foo/bar my-workspace

And you will get:

  - my-workspace/.west/config says manifest.path is 'bar'
  - my-workspace/bar exists as a git repository

By contrast, with the current 'self: path:' setting, you will instead
get:

  - my-workspace/.west/config says manifest.path is
    'example-application'
  - my-workspace/example-application exists as a git
    repository

Let's let people name this repository whatever they want, and get the
expected results, instead of forcing the name example-application

Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Marti Bolivar 2023-01-05 14:29:37 -08:00
parent acf2df5f64
commit 7991d32487

View file

@ -3,7 +3,6 @@
manifest: manifest:
self: self:
path: example-application
west-commands: scripts/west-commands.yml west-commands: scripts/west-commands.yml
remotes: remotes: