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. A first attempt has been merged a few days ago, but quickly reverted because of a new issue linked to the fact that some use cases involve git repositories without any remote configured, which makes the new git-ls remote strategy fail (detected by Richard, see [2])
V2: - mutualize ls-remote usage in a "get_tags" helper - add a fallback case in the helper if no remote is configured (use push url if provided [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15140 [2] https://lore.kernel.org/openembedded-core/16b82ce9979d4a09ad3dc42ebef2cbb85c1729c3.ca...@linuxfoundation.org/ Alexis Lothoré (3): oeqa/selftest: introduce gitarchive tests oeqa/utils/gitarchive: fix tag computation when creating archive oeqa/selftest/gitarchive: add tests about tags lisiting when no remote is configured .../oeqa/selftest/cases/gitarchivetests.py | 127 ++++++++++++++++++ meta/lib/oeqa/utils/gitarchive.py | 36 ++++- 2 files changed, 159 insertions(+), 4 deletions(-) create mode 100644 meta/lib/oeqa/selftest/cases/gitarchivetests.py -- 2.41.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#186371): https://lists.openembedded.org/g/openembedded-core/message/186371 Mute This Topic: https://lists.openembedded.org/mt/100821196/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
