mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
Add support for UCM:Tags in bzr
This commit is contained in:
parent
d8d3f00e6b
commit
4c5cd7a360
3 changed files with 11 additions and 5 deletions
|
@ -415,6 +415,12 @@ class vcs_bzr(vcs):
|
|||
self.refreshed = False
|
||||
self.srclib = None
|
||||
|
||||
def gettags(self):
|
||||
p = subprocess.Popen(['bzr', 'tags'],
|
||||
stdout=subprocess.PIPE, cwd=self.local)
|
||||
return [tag.split(' ')[0].strip() for tag in
|
||||
p.communicate()[0].splitlines()]
|
||||
|
||||
|
||||
# Get the type expected for a given metadata field.
|
||||
def metafieldtype(name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue