summaryrefslogtreecommitdiff
path: root/gbp/deb/pristinetar.py
AgeCommit message (Collapse)Author
2012-06-30PristineTar: move Debian-specific stuff to DebianPristineTarMarkus Lehtonen
Continuation to the PristineTar refactoring, makes the "common" PristineTar independent of DebianPkgPolicy. This commit moves the Debian-specific has_commit() and checkout() methods to DebianPristineTar class and replaces them with more generic functions in the base class. Also, drops the Debian-specific get_commit() method completely, as it was not used outside the PristineTar class itself. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2012-05-25Refactor deb helpers: move PristineTar classGuido Günther
Based on a patch by Markus Lehtonen This refactor is preparation to the upcoming rpm support.
2012-05-01Refactor deb helpers: move build_tarball_name()Markus Lehtonen
from UpstreamSource class to DebianPkgPolicy.
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-01-30PristineTar: fix match when not passing in a compression typeGuido Günther
2012-01-30PristineTar: add missing import for debug outputGuido Günther
2012-01-30PristineTar: make sure we set the current working directoryGuido Günther
otherwise this will fail when invoked from outside the git tree
2012-01-22PristineTar: move to separate moduleGuido Günther
and make it accessible from GitRepository to group checkout/checkin/lookup.