generic-poky/scripts/lib/devtool
Paul Eggleton 0523378082 devtool: add: create git repository if URL specified as positional argument
When we add from a fetched URL we are supposed to turn the resulting
source tree into a git repository (if it isn't already one). However, we
were using the older deprecated option name here instead of the
positional argument, so "devtool add -f <url>" resulted in the repo
being created but "devtool add <url>" didn't, which was wrong.

Also update the oe-selftest tests to check that this worked.

(From OE-Core rev: a7b6b1f8cc1c096724f794ac9dee312b0f771f66)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25 10:29:13 +00:00
..
__init__.py devtool: add configure-help subcommand 2016-01-26 18:05:14 +00:00
build.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
build_image.py devtool: add build-sdk subcommand 2016-03-07 00:11:38 +00:00
build_sdk.py devtool: add build-sdk subcommand 2016-03-07 00:11:38 +00:00
deploy.py devtool: deploy-target: preserve existing files 2016-02-21 09:32:43 +00:00
package.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
runqemu.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
sdk.py devtool: sdk-install: add option to allow building from source 2016-03-25 10:29:13 +00:00
search.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
standard.py devtool: add: create git repository if URL specified as positional argument 2016-03-25 10:29:13 +00:00
upgrade.py devtool: upgrade: print new recipe name 2016-02-28 11:33:01 +00:00
utilcmds.py devtool: configure-help: fix error if do_configure not already run 2016-03-25 10:29:13 +00:00