1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

oeqa/utils/gitarchive: replace warning with info when reading local tags

Whenever a script needs to list tags, if it falls back to the third method
(reading local tags only), it emits a warning. While this warning is useful
for future diagnostic if some tagging issues re-appear, it makes buildperf
autobuilds status as "Passed with warnings", which is not desirable

(From OE-Core rev: b2c1d8a83a3b2134a8f9a445cbf00103e63ed0b3)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexis Lothoré
2023-08-24 11:18:10 +02:00
committed by Richard Purdie
parent db6ace80a0
commit 359a105de6
+1 -1
View File
@@ -128,7 +128,7 @@ def get_tags(repo, log, pattern=None, url=None):
tags_refs = repo.run_cmd(cmd)
tags = ["".join(d.split()[1].split('/', 2)[2:]) for d in tags_refs.splitlines()]
else:
log.warning("Read local tags only, some remote tags may be missed")
log.info("Read local tags only, some remote tags may be missed")
cmd = ["tag"]
if pattern:
cmd += ["-l", pattern]