I want the build to work with either centos-repo or cgcs-centos-repo.
In many places we will be testing for the existance centos-repo as
the prefered path, then fall back to cgcs-centos-repo as an alternative.
If neither are present, either exit or continue but assuming the new
path is intended.
NOTE: The patch_rebase_1/2/3/4 scripts remain broken, but I hope
to salvage them one day. The current coding assumes content under
centos-repo/cgcs-centos-repo is managed by a git, which is not
currently true.
Story: 2006387
Task: 36912
Change-Id: I8f694814c41957c5b37eb2e64b653b7d42f2e2c9
Signed-off-by: Scott Little <scott.little@windriver.com>
Partial cleanup of the python code.
Story: 2004825
Task: 29286
Change-Id: I146c626342a8be2c93da21cf6cb229a39e8eac10
Signed-off-by: Felipe de Jesus Ruiz Garcia <felipe.de.jesus.ruiz.garcia@intel.com>
For Python 3.0, "oldoctinteger" isn't supported already, and an exception
will be raised if a literal has a leading "0" and a second character
which is a digit.
Story: 2003595
Task: 25735
Change-Id: Iec0146f9287f9eab95984608528f6535c8301cf3
Signed-off-by: zhangyangyang <zhangyangyang@unionpay.com>
Problem:
In the absence of a dependency cache, build-pkgs has
not information on which packages should be built first.
All it can do is try to build each package in a arbitrary order.
If the build fails, it is set aside and will be retired on
the next iteration. Builds fail when a BuildRequired package
can't be found, because it hasn't been built yet.
This was not an issue when cgcs-tis-repo, the home of the cache,
was stored in a git.
Solution:
Have build-pkgs invoke create_dependancy_cache.py if the
cache is not present.
Note: We only run this automatically once. If the user is
adding packages, or modifying the BuildRequires or Requires of
an existing package, they should re-run create_dependancy_cache.py
manually.
Change-Id: Id63e42903d9c0884470a990fb62fe1bafacd1849
Story: 2002835
Task: 24519
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit adds the third party repo from the create_dependancy
cache.py repository as optional since the third party repo is not
in the manifest.
Change-Id: I27712caab5d9c79b426f2a6ebbc49466f5812b40
Signed-off-by: Jesus Ornelas Aguayo <jesus.ornelas.aguayo@intel.com>