Import a Debian source package into a Git repository
Class | SkipImport | Undocumented |
Function | download_source | Undocumented |
Function | apply_patch | Apply patch to a source tree |
Function | apply_deb_tgz | Apply .debian.tar.gz (V3 source format) |
Function | get_changes | Undocumented |
Function | get_author_from_changelog | Get author from debian/changelog |
Function | get_committer_from_author | Based on the options fill in the committer |
Function | check_parents | Check if the upstream tag is already merged, if not, return the additional parent to merge |
Function | apply_debian_patch | apply the debian patch and tag appropriately |
Function | create_missing_branch | Undocumented |
Function | import_native | Undocumented |
Function | import_upstream | Undocumented |
Function | print_dsc | Undocumented |
Function | move_tag_stamp | Move tag out of the way appending the current timestamp |
Function | disable_pristine_tar | Disable pristine tar if enabled |
Function | build_parser | Undocumented |
Function | parse_args | Undocumented |
Function | is_download | No summary |
Function | parse_all | Undocumented |
Function | main | Undocumented |
Check if the upstream tag is already merged, if not, return the additional parent to merge
apply the debian patch and tag appropriately
>>> is_download("http://foo.example.com/apackage.dsc") (True, 'http://foo.example.com/apackage.dsc') >>> is_download("apt:///apackage/sid") (True, 'apackage/sid') >>> is_download("apt://apackage/sid") (True, 'apackage/sid') >>> is_download("apt:apackage/sid") (True, 'apackage/sid') >>> is_download("apt_1.0_amd64.dsc") (False, 'apt_1.0_amd64.dsc') >>> is_download("file:///foo/apackage.dsc") (False, '/foo/apackage.dsc')