1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

checkupdates: be more verbose with tags

This commit is contained in:
Daniel Martí 2015-08-24 16:24:05 -07:00
parent 06c94b3a44
commit 0fb7acdd1d

View File

@ -130,9 +130,11 @@ def check_tags(app, pattern):
hcode = "0"
tags = vcs.gettags()
logging.debug("All tags: " + ','.join(tags))
if pattern:
pat = re.compile(pattern)
tags = [tag for tag in tags if pat.match(tag)]
logging.debug("Matching tags: " + ','.join(tags))
if repotype in ('git',):
tags = vcs.latesttags(tags, 5)