[OE-core] [PATCH 0/3] devtool: add: automatically set branch for git URLs if not master

Chang Rebecca Swee Fun rebecca.swee.fun.chang at intel.com
Thu Jul 13 03:33:53 UTC 2017


Hi everyone,

Quoted from Bugzilla #11389, if devtool add is run on a git URL and
a revision is specified that is not on master, and branch= isn't
already in the URL, then devtool should get the correct branch and
add it to the URL while creating recipe.

Another side track on this bug fix, I have disable PREMIRRORS and
MIRRORS by default. When creating new recipes, we are almost
certainly fetching a new source rather that something that has
already been fetched. I have disable PREMIRRORS and MIRRORS
settings from datastore for both devtool and recipetool while
leaving an option for users to enable them manually on needed basis.

Thanks.

Regards,
Rebecca


Chang Rebecca Swee Fun (3):
  recipetool: create: disable PREMIRRORS and MIRRORS by default
  devtool: standard: enable options for PREMIRRORS and MIRRORS
  recipetool: create: being able to set branch when revision is provided

 scripts/lib/devtool/standard.py  |  3 +++
 scripts/lib/recipetool/create.py | 45 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

-- 
2.7.4



More information about the Openembedded-core mailing list