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:
fb23b2c
)
Allow slashes in tags
author
Daniel Martí
<mvdan@mvdan.cc>
Sat, 12 Sep 2015 06:17:14 +0000
(23:17 -0700)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sat, 12 Sep 2015 06:17:36 +0000
(23:17 -0700)
The wikipedia app uses them, for example.
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 795de66dad09f2b491af639893819209f6771c27..3feaf07a54599e5d4eca9bf74cda1ec94a9470f6 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-531,7
+531,7
@@
class vcs:
raise VCSException('gettags not supported for this vcs type')
rtags = []
for tag in self._gettags():
- if re.match('[-A-Za-z0-9_. ]+$', tag):
+ if re.match('[-A-Za-z0-9_.
/
]+$', tag):
rtags.append(tag)
return rtags