summaryrefslogtreecommitdiff
path: root/gbp/scripts/buildpackage.py
AgeCommit message (Collapse)Author
2012-07-28GitRepository: raise GitRepositoryError on git errorsGuido Günther
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>
2012-07-02Make exception syntax consistentGuido Günther
2012-06-01git-buildpackage: allow to build packages from detached HEAD stateGuido Günther
with --git-ignore-branch. Closes: #661598
2012-06-01git-buildpackage overlay-mode: don't fail on files named like tarballGuido Günther
Instead of moving individual files around simply rename the directories. This is faster and independent of the tarballs content. Closes: #675412
2012-06-01git-buildpackage: add missing importGuido Günther
so move_old_export works again
2012-05-01Refactor deb helpers: move UpstreamSource classMarkus Lehtonen
to pkg base module. This refactor is preparation to the upcoming rpm support.
2012-05-01Refactor deb helpers: introduce PkgPolicy classMarkus Lehtonen
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.
2012-04-18Refactor git-buildpackage as preparation for rpm supportMarkus Lehtonen
Separate some functions of git-buildpackage into a basemodule, intended to be re-used by the upcoming rpm variant of the tool.
2012-02-13Refactor config.py as preparation for rpm support.Markus Lehtonen
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>
2012-01-22buildpackage: Add pristine-tar-commit optionGuido Günther
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.
2012-01-22PristineTar: move to separate moduleGuido Günther
and make it accessible from GitRepository to group checkout/checkin/lookup.
2012-01-18Don't assume gzip compression of the orig tarballGuido Günther
2012-01-15deb: minor refactor of parameters of has_orig()Markus Lehtonen
2012-01-15deb: minor refactor of parameters of symlink_orig()Markus Lehtonen
2012-01-11buildpackage: Allow to pass pbuilder optionsGuido Günther
via commandline or gbp.conf
2012-01-10Allow to specify the upstream tree via --upstream-treeGuido Günther
without the indirection to --upstream-branch.
2011-12-26Add --[no-]-pbuilder-autoconfGuido Günther
to pass GIT_PBUILDER_AUTOCONF=no to git-pbuilder.
2011-12-16Move debian specific functions from GitRepository to DebianGitRepositoryGuido Günther
2011-11-30Parse the changelog of the exported tree instead of the working copyGuido Günther
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
2011-11-28buildpackage.py: move changelog fetching into functionGuido Günther
2011-11-28Add ChangeLog classGuido Günther
making it easier to query versions. Add tests.
2011-11-23Fix typosGuido Günther
2011-11-22buildpackage: group functions needed for export-dir handlingGuido Günther
2011-11-22buildpackage: move export of source tree into separate functionGuido Günther
2011-11-22Support postexport hooksGuido Günther
Heavily based on a patch by Jan Čapek Closes: #640982
2011-11-22buildpackage: move tarball preparation into separate functionGuido Günther
2011-11-01Get rid of the symlinkGuido Günther
by moving the commands to gbp/scripts/