class documentation
class PkgGitRepository(GitRepository):
Known subclasses: gbp.deb.git.DebianGitRepository
, gbp.rpm.git.RpmGitRepository
A git repository that holds the source of a Distro package
Static Method | sanitize |
Make sure git-archive prefix ends with a slash |
Method | __init__ |
Undocumented |
Method | archive |
Create a compressed source tree archive with the given options |
Instance Variable | pristine |
Undocumented |
Method | _archive |
Create a compressed source tree archive without submodules |
Method | _archive |
Create a compressed source tree archive with submodules. |
Make sure git-archive prefix ends with a slash
>>> PkgGitRepository.sanitize_prefix('') '/' >>> PkgGitRepository.sanitize_prefix('foo/') 'foo/' >>> PkgGitRepository.sanitize_prefix('/foo/bar') 'foo/bar/'
pristine_tar =
¶
overridden in
gbp.deb.git.DebianGitRepository
, gbp.rpm.git.RpmGitRepository
Undocumented
Create a compressed source tree archive without submodules
We have this as a special case since it avoids a temporary file