class documentation
class RollbackDebianGitRepository(DebianGitRepository):
Like a DebianGitRepository but can also perform rollbacks and knows about some of the inner workings upstream vcs_tag, …
| Method | __init__ |
Undocumented |
| Method | commit |
Undocumented |
| Method | create |
Undocumented |
| Method | create |
Undocumented |
| Method | has |
Undocumented |
| Method | merge |
Undocumented |
| Method | rollback |
Perform a complete rollback |
| Method | rrr |
Remember ref for rollback |
| Method | rrr |
Undocumented |
| Method | rrr |
Undocumented |
| Method | rrr |
Undocumented |
| Instance Variable | rollback |
Undocumented |
| Instance Variable | rollbacks |
Undocumented |
Inherited from DebianGitRepository:
| Class Method | tag |
Extract the version from a tag |
| Class Method | version |
Generate a tag from a given format and a version |
| Method | create |
Create pristine-tar commits for a package with main tarball and (optional) component tarballs based on upstream_tree |
| Method | create |
Create a compressed orig tarball in output_dir using git archive |
| Method | create |
Undocumented |
| Method | debian |
Build the Debian version that a package based on upstream commit commit would carry taking into account a possible epoch. |
| Method | find |
Check if a certain version is stored in this repo and return the SHA1 of the related commit. That is, an annotated tag is dereferenced to the commit object it points to. |
| Method | get |
Get the pristine-tar commit for the given source package's latest version. |
| Method | has |
Whether the repo has a pristine-tar branch. |
| Method | tree |
Drop the given top level dirs from the given git tree returning a new tree object. |
| Method | tree |
Get the SHA1 of directory in a given tree |
| Method | vcs |
If linking to the upstream VCS get the commit id |
| Instance Variable | pristine |
Undocumented |
| Property | pristine |
The name of the pristine-tar branch, whether it already exists or not. |
| Class Method | _mangle |
Basic version mangling to replace single characters |
| Class Method | _unmangle |
Reverse of _mangle_version for format |
| Class Method | _unmangle |
Reverse of _mangle_version for version |
| Static Method | _build |
Legacy tags (prior to 0.5.5) dropped epochs and didn't honor the '~' |
| Static Method | _sanitize |
sanitize a version so git accepts it as a tag |
| Static Method | _unsanitize |
Reverse _sanitize_version |
Inherited from PkgGitRepository (via DebianGitRepository):
| Static Method | sanitize |
Make sure git-archive prefix ends with a slash |
| Method | archive |
Create a compressed source tree archive with the given options |
| Method | _archive |
Create a compressed source tree archive without submodules |
| Method | _archive |
Create a compressed source tree archive with submodules. |