Age | Commit message (Collapse) | Author |
|
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>
|
|
Based on a patch by Markus Lehtonen
This refactor is preparation to the upcoming rpm support.
|
|
from UpstreamSource class to DebianPkgPolicy.
|
|
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.
|
|
|
|
|
|
otherwise this will fail when invoked from outside the git tree
|
|
and make it accessible from GitRepository to group
checkout/checkin/lookup.
|