]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oeqa/utils/gitarchive: replace warning with info when reading local tags
authorAlexis Lothoré <alexis.lothore@bootlin.com>
Thu, 24 Aug 2023 09:18:10 +0000 (11:18 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Aug 2023 12:34:31 +0000 (13:34 +0100)
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

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/gitarchive.py

index ac36ecb3a9ca678468669fbddac94751e19a3fd6..64448f47d94eb072fc49ca93144a2c3ea8b8ea72 100644 (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]