chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
checkupdates: no need to sort tags if len()<=5
[fdroidserver.git]
/
fdroidserver
/
checkupdates.py
diff --git
a/fdroidserver/checkupdates.py
b/fdroidserver/checkupdates.py
index 9a924922cceea5212e2dec2659eff61982f640e9..fdc7157bf7a3a97b0e96bb72906fc12f3e5cf604 100644
(file)
--- a/
fdroidserver/checkupdates.py
+++ b/
fdroidserver/checkupdates.py
@@
-134,7
+134,7
@@
def check_tags(app, pattern):
tags = [tag for tag in tags if pat.match(tag)]
logging.debug("Matching tags: " + ','.join(tags))
- if repotype in ('git',):
+ if
len(tags) > 5 and
repotype in ('git',):
tags = vcs.latesttags(tags, 5)
logging.debug("Latest tags: " + ','.join(tags))