chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37b13c3
)
checkupdates: no need to sort tags if len()<=5
author
Daniel Martí
<mvdan@mvdan.cc>
Tue, 27 Oct 2015 12:41:09 +0000
(13:41 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Tue, 27 Oct 2015 12:41:09 +0000
(13:41 +0100)
fdroidserver/checkupdates.py
patch
|
blob
|
history
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))