]> code.ossystems Code Review - openembedded-core.git/commit
devtool: add: add explicit srcrev/branch options
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 30 Aug 2017 23:54:11 +0000 (11:54 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Aug 2017 22:25:33 +0000 (23:25 +0100)
commit2d86cac853d6daa496c0315a5cb0662ebf1165b0
treeef49857816f574b3ac009b383ee5cbf9837e39ac
parent355d8f42679e37610c2947dece597ed7db774bee
devtool: add: add explicit srcrev/branch options

At the moment when fetching source from a git repository you have to
know that you can specify the revision and branch in the URL with
';rev=' and ';branch=' respectively, and you can also get thrown off by
the shell splitting on the ; character if you forget to surround the URL
in quotes. Add explicit -S/--srcrev and -B/--srcbranch options
(consistent with devtool upgrade) to make this easier for the user to
discover and use. (The rev and branch URL parameters will continue to
work, however.)

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