SYNOPSIS
git-import-dsc [ --verbose ] [ --upstream-branch=branch_name ] [ --debian-branch=branch_name ] [ --[no-]sign-tags ] [ --keyid=gpg-keyid ] [ --debian-tag=tag-format ] [ --upstream-tag=tag-format ] [ --filter=pattern ] [ --[no-]pristine-tar ] debian-source.dsc
git-import-dsc [ options ] --download URL | source-package
DESCRIPTION
git-import-dsc imports a Debian source package into a Git repository, notes the package version in the commit logs, and commits the change. All information, including package name, version, Debian diffs, and upstream source is automatically detected from the source package.
OPTIONS
- --upstream-branch=branch_name
- The branch in the Git repository the upstream sources are put onto. Default is upstream.
- --debian-branch=branch_name
- The branch in the Git repository the debian sources are put onto. Default is master.
- --verbose
- -v
- verbose execution
- --[no-]sign-tags
- GPG sign all created tags
- --keyid=gpg-keyid
- use this keyid for gpg signing tags
- --debian-tag=tag-format
- use this tag format when tagging Debian versions, default is debian/<version>
- --upstream-tag=tag-format
- use this tag format when tagging upstream versions, default is upstream/<version>
- --filter=pattern
- filter out files glob-matching pattern. Can be given multiple times.
- --pristine-tar
- generate pristine-tar delta file
- --download
- Download the source package instead of looking for it in the local file system. The argument can either be a source-package name or an URL. The former uses apt-get to download the source while the later uses dget.
CONFIGURATION FILES
Four configuration files are parsed to set defaults for the above commandline arguments:
- /etc/git-buildpackage/gbp.conf
- system wide configuraton
- ~/.gbp.conf
- per user configuration
- .gbp.conf
- per branch configuration, can be published with the repository
- debian/gbp.conf
- per branch configuration, can be published with the repository
- .git/gbp.conf
- per repository configuration
See /etc/git-buildpackage/gbp.conf for an example.