Age | Commit message (Collapse) | Author |
|
Also pass it through version_to_tag so
upstream-vcs-tag = libgpg-error-%(version)s
properly expands the version replacement.
Closes: #780602
|
|
Usage of six.moves.configparser in the previous way failed at least with
some versions of python-six (e.g. 1.4.1) like
> >>> from six.moves.configparser import SafeConfigParser
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named configparser
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
to work towards Python3 support
Gbp-Dch: Ignore
|
|
Gbp-Dch: Ignore
|
|
We deprecate sections starting with git- and gbp- to reduce the
confusion about what gets parsed first.
|
|
Initial version of gbp-pq-rpm - a tool for managing patch queues for rpm
packages. The functionality more or less corresponds to that of the
(Debian) gbp-pq. The only major difference probably being (in addition
to the obvious of working with .spec files instead of debian/) is that
patches are always imported on top of the upstream version, not on top
of the packaging branch (which might not even contain any source code).
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Olev Kartau <olev.kartau@intel.com>
|
|
|
|
A step towards being able to run GBP tools from subdirectories.
Now expands '%(top_dir)s' and '%(git_dir)s' in config file path to root
of the working directory and git metadata directory, respectively.
Also, adds a new method _read_config_file() in preparation for
supporting per-tree config files.
Fixes tests.test_Config: currently the only correct way to define the
config file(s) to be parsed is by using the GBP_CONF_FILES environment
variable.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Make it effective again - previously it was totally ignored. Also,
change it's default value to True to match the current behavior.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
This commits the changes in the pq right away. This is currently
experimental and subject to change.
|
|
|
|
Closes: #761160
|
|
New config option --git-debian-tag-msg allows for the specification of
the message format string for signed debian-tags.
When left unset, the default debian-tag-msg format is still:
%(pkg)s Debian release %(version)s
Signed-off-by: Kamal Mostafa <kamal@whence.com>
|
|
Intended to represent the distribution vendor (e.g. 'Debian').
Currently, this can be used in tag format strings.
NOTE: the vendor name is converted to lowercase when used in tag names.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Initial version of the git-import-srpm: a tool for importing source
rpms.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Thanks: Sandro Tosi
Closes: #748339
|
|
This allows us to build an internal list of valid options and print
these.
|
|
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
^^^^
|
|
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
|
|
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
|
|
Otherwise the mangled GBP_CONF_FILES affects also other doctests when
run with python-nose.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
There's no need to fill the parser with all the built in defaults since
we can simply copy them to the config from the class dict. This allows
us to first set the values from the old {git,gbp}-* commands and then
only overwrite changed values from the newer "gbp <command>" versions.
Otherwise we'd overwite all old style config with the new style one.
This also fixes the problem where the default section wouldn't be read
at all if the command doesn't even have an empty section in any gbp.conf
file.
|
|
and robustify against invalid modules names.
|
|
For backward compatibility between {gbp,git}-<subcommand> and "gbp
<subcommand>" make sure we parse the former sections if using the later.
|
|
and not the one from the OptionParser. The instance's default dict this
gets reset to empty when invoking OptionParser.__init__.
|
|
For enabling/disabling all hooks. This option does not affect the
builder command, though.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
so introdice --git[-no]-purge which is consistent with the other
boolean options and deprecate --git-dont-purge.
Closes: #702200
|
|
Adds a new command line and config file option 'color-scheme' for
selecting the colors used in log output.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
that's used make pristine-tar see the correct orig tarball name.
Closes: #692401
|
|
|
|
|
|
Closes: #670623
|
|
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
Closes: #669145
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
This specifies an additional config file section that can be used
to preconfigure different remote locations.
|
|
This makes it possible to parse additional mandatory sections
from config files to prefill defaults.
Git-Dch: Ignore
|
|
Git-Dch: Ignore
|
|
to git init so it's possible to set up remote hooks.
|
|
by setting the GBP_CONF_FILES environment variable.
|
|
|
|
|
|
Split GbpOptionParser in to a common base class and a Debian
specific subclass, as a preparation for upcoming RPM support.
This allows having different default values (and help texts) for common
options between different package types, and, clearer separation of
package type specific options.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
This option allows to auto commit a generated tarball to the
pristine-tar branch to simplify building non-dfsg clean packages and to
make it easier to track uptream git.
|
|
|
|
via commandline or gbp.conf
|