mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 23:40:29 +03:00
checkupdates: be more verbose with tags
This commit is contained in:
parent
06c94b3a44
commit
0fb7acdd1d
1 changed files with 2 additions and 0 deletions
|
|
@ -130,9 +130,11 @@ def check_tags(app, pattern):
|
||||||
hcode = "0"
|
hcode = "0"
|
||||||
|
|
||||||
tags = vcs.gettags()
|
tags = vcs.gettags()
|
||||||
|
logging.debug("All tags: " + ','.join(tags))
|
||||||
if pattern:
|
if pattern:
|
||||||
pat = re.compile(pattern)
|
pat = re.compile(pattern)
|
||||||
tags = [tag for tag in tags if pat.match(tag)]
|
tags = [tag for tag in tags if pat.match(tag)]
|
||||||
|
logging.debug("Matching tags: " + ','.join(tags))
|
||||||
|
|
||||||
if repotype in ('git',):
|
if repotype in ('git',):
|
||||||
tags = vcs.latesttags(tags, 5)
|
tags = vcs.latesttags(tags, 5)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue