Age | Commit message (Collapse) | Author |
|
So far if a package claimed to be non native but the version number
didn't contain a '-' we failed like:
Traceback (most recent call last):
File "/usr/bin/gbp", line 9, in <module>
load_entry_point('gbp==0.6.13', 'console_scripts', 'gbp')()
File "/usr/lib/python2.7/dist-packages/gbp/scripts/supercommand.py", line 82, in supercommand
return module.main(args)
File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 541, in main
output_dir)
File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 96, in prepare_upstream_tarball
upstream_tree = git_archive_build_orig(repo, cp, output_dir, options)
File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 270, in git_archive_build_orig
upstream_tree = get_upstream_tree(repo, cp, options)
File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 245, in get_upstream_tree
cp['Upstream-Version'])
File "/usr/lib/python2.7/dist-packages/gbp/deb/git.py", line 107, in version_to_tag
return format % dict(version=DebianGitRepository._sanitize_version(version))
File "/usr/lib/python2.7/dist-packages/gbp/deb/git.py", line 122, in _sanitize_version
return version.replace('~', '_').replace(':', '%')
It shouldn't be like that.
|
|
|
|
|
|
|
|
This allows us to build an internal list of valid options and print
these.
|
|
This matches the function name
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
Which caused an unwanted behavior of not fetching refs/heads at all --
only tags were fetched.
This reverts commit 5dd598fb8f2a9109189fad6cf631811f12ce2130
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
This only allows to print single config values so far.
Closes: #733470
|
|
|
|
revealing another bug where we overwrote parsed values with defaults
Closes: #733759
|
|
|
|
mostly reverting e1780f0.
Closes: #742907
|
|
|
|
The first line lacked the subcommand like:
$ gbp pull --help
Usage: gbp [options] - safely update a repository from remote
instead of
$ gbp pull --help
Usage: gbp pull [options] - safely update a repository from remote
^^^^
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
This avoids file name collisions and weired files in the working copy.
|
|
The dch tool might not report it's version if it is incorrectly
compiled. Create a dummy changelog and parse it "manually" to determine
the default urgency level.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Explicitly use --tags in git arguments - otherwise tags might not be
fetched.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Use the '--no-renames' git command line option in order to prevent two
filenames per entry.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
Closes: #718536
|
|
|
|
|
|
|
|
Closes: #739888
|
|
It makes running single tests harder than necessary since it requires
the percentage also when using "nose <testname>".
|
|
This would otherwise overwrite values set in the legacy config sections.
Closes: #733759
|
|
This would otherwise overwrite values set in the legacy config sections.
Closes: #733759
|
|
Git-Dch: Ignore
|
|
|
|
The documentation on using upstream's git directly instead of tarballs
was very terse. Add a step by step guide on how to get started and
how to update to new upstream versions.
|
|
|
|
Determine the default urgency level by determining the version number of
the dch tool from command line.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Running a clean command within version control by default nowadays
causes more trouble than it helps. It's unnecessary with
pbuilder/cowbuilder/sbuild and with export-dir. So change the default
from 'debuild clean' to a noop ('/bin/true').
Closes: #670624
|
|
Always read the legacy command's config file section prior to the
subcommand's config file section.
Until now 'gbp <subcommand>' would read '[subcommand]' as well as
'[gbp-<subcommand>]' sections while 'gbp-<subcommand>' would only read
'[gbp-<subcommand>]' sections.
Closes: #733759
|
|
"gbp buildpackage" did this already but others didn't
Closes: #733759
|
|
These contain a uscan that handles repackaging at the right level and
won't let us pick up the wrong tarball name.
Closes: #635920
Thanks: gregor herrmann and all others involved
|
|
|
|
Closes: #732678
|
|
They're all well behaved and this allows us to use doctests in them
|
|
Closes: #732384
|
|
Properly document --help instead.
Thanks: Olivier Berger for pointing this out
Closes: #731149
|
|
|
|
Closes: #730788
|
|
|
|
since I tend to use them instead of err and warn.
Closes: #728896
|