module documentation
Create orig tarballs from git
Function | build |
Undocumented |
Function | git |
Build orig tarball(s) using git-archive |
Function | git |
Determine the upstream tree from the given options |
Function | guess |
Guess compression type to use for the to be built upstream tarball |
Function | main |
Undocumented |
Function | maybe |
Undocumented |
Function | parse |
Undocumented |
Function | prepare |
Make sure we have the needed upstream tarballs. The default order is: |
Function | pristine |
Build orig tarball using pristine-tar |
Function | pristine |
Make sure the upstream tree exists |
Function | pristine |
Verify orig tarballs using pristine-tar |
Build orig tarball(s) using git-archive
Parameters | |
repo | Undocumented |
source:DebianSource | the source of the package we're acting on |
output | where to put the tarball |
options:dict of options | the parsed options |
Guess compression type to use for the to be built upstream tarball
We prefer pristine-tar over everything else since this is what's carried around with the repo and might be more reliable than what a user has in tarball_dir.
Make sure we have the needed upstream tarballs. The default order is:
look in tarball_dir and if found symlink to it
create tarball using pristine-tar
create tarball using git-archive
Afterwards
create pristine-tar commmits if pristine-tar-commit is in use
verify tarball checksums if pristine-tar is in use
Make sure the upstream tree exists
In case of component tarballs we need to recreate a tree for the main tarball without the component subdirs.