8 Commits

Author SHA1 Message Date
Scott Little
01c5009d7d Build script readiness for renaming cgcs-centos-repo to centos-repo
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>
2020-09-24 11:59:55 -04:00
Felipe de Jesus Ruiz Garcia
d41eff31ea Remove unused variables
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>
2019-02-01 22:58:37 +00:00
Zuul
cf4084e2e5 Merge "Python 3 compatibility: use print as a function." 2018-10-15 14:51:03 +00:00
zhangyangyang
4f874cb3c2 Python 3 compatibility: use print as a function.
In Python 3 print is a function.

Change-Id: I97688f9946ce2d5e7a74b26d7b5b02e4a1595866
Story: 2003595
Task: 24916
2018-10-12 13:42:44 +00:00
zhangyangyang
b2a476634c Python 3 compatibility: fix oldoctinteger
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>
2018-09-01 15:38:19 +08:00
Scott Little
354ee9e9c8 Slow builds due to sub-optimal build order
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>
2018-08-22 10:31:19 -04:00
Jesus Ornelas Aguayo
88cc7f4d73 Add third party repo as optional from create_dependancy_cache.py
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>
2018-06-27 09:47:40 -04:00
Dean Troyer
cfe45dadae StarlingX open source release updates
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-06-01 07:45:23 -07:00