Package gbp :: Package scripts :: Module import_dsc

[hide private]
[frames] | no frames]

# Module import_dsc

Import a Debian source package into a git repository

Classes | [hide private]

| SkipImport

Functions | [hide private]

download_source(pkg, dirs, unauth) |

apply_patch(diff) Apply patch to a source tree |

apply_deb_tgz(deb_tgz) Apply .debian.tar.gz (V3 source format) |

get_author_from_changelog(dir) Get author from debian/changelog |

get_committer_from_author(author, options) Based on the options fill in the committer |

check_parents(repo, branch, tag) Check if the upstream tag is already merged, if not, return the additional parent to merge |

apply_debian_patch(repo, unpack_dir, src, options, tag) apply the debian patch and tag appropriately |

print_dsc(dsc) |

move_tag_stamp(repo, format, version) Move tag out of the way appending the current timestamp |

set_bare_repo_options(options) Modify options for import into a bare repository |

parse_args(argv) |

main(argv) |

Variables | [hide private]

| __package__ = ``'``gbp.scripts``'``