oeqa/utils/gitarchive: put back local tags listing as third tag listing method
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | oeqa/utils/gitarchive: allow to pass a logger to get_tagsmeta/ meta/ | +16 | 0 replies | |
| 2/2 | oeqa/utils/gitarchive: fall back to local tags when listing existing tagsmeta/ meta/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [OE-Core][PATCH 0/2] oeqa/utils/gitarchive: put back local tags listing as third tag listing method
Hello,
this is another attempt to properly fix tag computation in Autobuilder.
First attempt ([1]) completely replaced "git tag" with "git ls-remote" to make sure to know about all tags when computing new tag name. It raised some issue because oe-git-archive works with local repositories with no remote configured (it uses explicit remote url in git calls), so a second series introduced this provided url usage as a fallback ([2])
There are still scenarios which do not match the two above: [3] shows that oe-build-perf-report works with directories with no remote configured (the same directories as oe-git-archive, in fact), AND does not use urls (I guess it uses accumulated result from previous run, but I got no access to the AB machines to make sure about it). I feel that it may not be relevant to try to force-propagate fallback urls to oe-build-perf-report, moreover there may be other unidentified cases scattered in whole AB configuration which would need the same fix. Hence this series proposes to reintroduce the previous method to retrieve tags ("git tag") as last resort method, with a warning when reached, to both fix current issues and allow to diagnostic future issues if it makes the initial tagging issue appear again.
[1] https://lore.kernel.org/openembedded-core/[email protected]/
[2] https://lore.kernel.org/openembedded-core/[email protected]/
[3] https://autobuilder.yoctoproject.org/typhoon/#/builders/133/builds/2125/steps/12/logs/stdio
Alexis Lothoré (2):
oeqa/utils/gitarchive: allow to pass a logger to get_tags oeqa/utils/gitarchive: fall back to local tags when listing existing
tags
.../oeqa/selftest/cases/gitarchivetests.py | 25 +++++++++----- meta/lib/oeqa/utils/gitarchive.py | 34 ++++++++++++------- 2 files changed, 38 insertions(+), 21 deletions(-)
Signature · 1 line
2.41.0