]> code.ossystems Code Review - openembedded-core.git/commit
devtool: add: create git repository if URL specified as positional argument
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 21 Mar 2016 05:14:05 +0000 (18:14 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Mar 2016 14:24:25 +0000 (14:24 +0000)
commita7b6b1f8cc1c096724f794ac9dee312b0f771f66
treecbb5f5ffa685174f7dff527cb409a66daa2d9893
parent766845e06db9d7d595e836ea1364c16fa132a413
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.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/devtool.py
scripts/lib/devtool/standard.py