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:
52c3bf4
)
Fix FDroidPopen refactor typo
author
Daniel Martí
<mvdan@mvdan.cc>
Tue, 23 Dec 2014 11:54:16 +0000
(12:54 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Tue, 23 Dec 2014 11:54:16 +0000
(12:54 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index c93d4d7219e9201e32c5b23e516ee957e04052ff..72208f5baee9a5195da655568fae36496e10da00 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-591,10
+591,10
@@
class vcs_git(vcs):
def latesttags(self, alltags, number):
self.checkrepo()
def latesttags(self, alltags, number):
self.checkrepo()
- p = FDroidPopen(['echo "' + '\n'.join(alltags
, output=False
) + '" | '
+ p = FDroidPopen(['echo "' + '\n'.join(alltags) + '" | '
+ 'xargs -I@ git log --format=format:"%at @%n" -1 @ | '
+ 'sort -n | awk \'{print $2}\''],
+ 'xargs -I@ git log --format=format:"%at @%n" -1 @ | '
+ 'sort -n | awk \'{print $2}\''],
- cwd=self.local, shell=True)
+ cwd=self.local, shell=True
, output=False
)
return p.output.splitlines()[-number:]
return p.output.splitlines()[-number:]