Age | Commit message (Collapse) | Author |
|
It's shorter and get's rid of the unused dummy variable.
|
|
Utilize the get_commit_info() method of GitRepository instead of the
deprecated get_subject().
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Closes: #708636
|
|
This also silences 10_test_get_upstream_tree
|
|
For enabling/disabling all hooks. This option does not affect the
builder command, though.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
to easily fetch the source package name
Git-Dch: Ignore
|
|
when checking if a package is a native package
Closes: #669267
|
|
Currently, the message in the debian tag is just:
"Debian release %s" % cp.version
This is a bad idea, because it means that the signed message itself
contains no mention of the project that is being worked on.
Since all git repositories are conceptually the same git repository
(some just have commits that others don't have), a malicious attacker
could inject tags from project A into the repository for project B and
the original developer's signature on those tags would be intact.
This is potentially a security problem. For example: if there are
automated build systems that pull from a repo and verify signed tags
made by a known developer (and that developer contributes to multiple
projects), this conflation could be used to make those systems build
packages from an entirely other project.
The attached patch enforces the inclusion of the name of the package
into the tag's message.
Closes: #704018
|
|
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>
|
|
|
|
Raise GitRepositoryError in cases where CommandExecFailed (from
GitCommand) was previously silently passed forward.
Heavily based on a patch by Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
with --git-ignore-branch.
Closes: #661598
|
|
Instead of moving individual files around simply rename the directories.
This is faster and independent of the tarballs content.
Closes: #675412
|
|
so move_old_export works again
|
|
to pkg base module. This refactor is preparation to the upcoming rpm
support.
|
|
Create a new 'pkg' basemodule, intended to be re-used by the upcoming
rpm package helpers. Move some deb functionality to a new pkg.PkgPolicy
class, to be used as a base for different package types. Introduces
Deb-specific deb.DebianPkgPolicy.
|
|
Separate some functions of git-buildpackage into a basemodule, intended
to be re-used by the upcoming rpm variant of the tool.
|
|
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.
|
|
and make it accessible from GitRepository to group
checkout/checkin/lookup.
|
|
|
|
|
|
|
|
via commandline or gbp.conf
|
|
without the indirection to --upstream-branch.
|
|
to pass GIT_PBUILDER_AUTOCONF=no to git-pbuilder.
|
|
|
|
when using --export. This reduces the number of options needed when
using an export dir since the correct tarball is now being created
without additional options.
Closes: #564791
|
|
|
|
making it easier to query versions. Add tests.
|
|
|
|
|
|
|
|
Heavily based on a patch by Jan Čapek
Closes: #640982
|
|
|
|
by moving the commands to gbp/scripts/
|