Openembedded Core Discussions
 help / color / mirror / Atom feed
* [OE-Core][PATCH 0/2] oeqa/utils/gitarchive: fix tag name computation
@ 2023-08-11 12:55 Alexis Lothoré
  2023-08-11 12:55 ` [OE-Core][PATCH 1/2] oeqa/selftest: introduce gitarchive tests Alexis Lothoré
  2023-08-11 12:55 ` [OE-Core][PATCH 2/2] oeqa/utils/gitarchive: fix tag computation when creating archive Alexis Lothoré
  0 siblings, 2 replies; 6+ messages in thread
From: Alexis Lothoré @ 2023-08-11 12:55 UTC (permalink / raw)
  To: Openembedded-core; +Cc: Thomas Petazzoni, Alexandre Belloni

Hello,
this series brings a fix to a sporadic tag push issue observed in
autobuilder. The bug is documented in bugzilla #15140 ([1]). Basically,
whenever the autobuilder creates a new tag on test results, it is only
aware of "local" tags, which is kind of faulty since used repository is a
shallow clone.

This series then brings two patches:
- a first one to introduce gitarchive tests as a safety net
- a second one to implement the fix by replacing "git tag" calls by "git
  ls-remote" calls where appropriate

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15140

Alexis Lothoré (2):
  oeqa/selftest: introduce gitarchive tests
  oeqa/utils/gitarchive: fix tag computation when creating archive

 .../oeqa/selftest/cases/gitarchivetests.py    | 96 +++++++++++++++++++
 meta/lib/oeqa/utils/gitarchive.py             |  6 +-
 2 files changed, 100 insertions(+), 2 deletions(-)
 create mode 100644 meta/lib/oeqa/selftest/cases/gitarchivetests.py

-- 
2.41.0



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-16  6:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-11 12:55 [OE-Core][PATCH 0/2] oeqa/utils/gitarchive: fix tag name computation Alexis Lothoré
2023-08-11 12:55 ` [OE-Core][PATCH 1/2] oeqa/selftest: introduce gitarchive tests Alexis Lothoré
2023-08-11 12:55 ` [OE-Core][PATCH 2/2] oeqa/utils/gitarchive: fix tag computation when creating archive Alexis Lothoré
2023-08-15 21:13   ` Richard Purdie
2023-08-16  6:36     ` Alexis Lothoré
2023-08-16  6:57       ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox