projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a79c1d3
)
buildpackage: Map 'debian/latest' and 'debian/main' to sid too
author
Guido Günther
<agx@sigxcpu.org>
Thu, 28 Oct 2021 07:34:54 +0000
(09:34 +0200)
committer
Guido Günther
<agx@sigxcpu.org>
Thu, 28 Oct 2021 07:34:54 +0000
(09:34 +0200)
This avoids having to specify a suite with more modern common branch
names.
gbp/scripts/buildpackage.py
patch
|
blob
|
history
diff --git
a/gbp/scripts/buildpackage.py
b/gbp/scripts/buildpackage.py
index 74f2c5bf144eb6d7d494bcd816932bfe26d89386..f86771812043c9b1d3206898ec431ee17135fe38 100755
(executable)
--- a/
gbp/scripts/buildpackage.py
+++ b/
gbp/scripts/buildpackage.py
@@
-212,7
+212,7
@@
def get_pbuilder_dist(options, repo, native=False):
if len(parts) == 2: # e.g. debian/stretch
suite = parts[1]
if vendor == parts[0]:
- dist = '' if suite in ['sid', 'master'] else suite
+ dist = '' if suite in ['sid', 'master'
, 'main', 'latest'
] else suite
else:
dist = '%s_%s' % (parts[0], suite)
# Branches in Debian often omit the debian/ prefix