gbp-import-dscs(1)

gbp-import-dscs1

Import several versions of a debian source package into a git repository, sorted by version number

Usage

FCgbp import-dscsF [0] [FCoptionsF [0]] [FCgbp import-dsc optionsF [0]] pkg_1.dsc pkg_2.dsc ... or FCgbp import-dscsF [0] --debsnap [FCoptionsF [0]] [FCgbp import-dsc optionsF [0]] package

Overview

gbp import-dscs imports several versions of a Debian source package into a Git repository. To do so, it sorts the packages by their versions first, and then imports them via calling gbp import-dsc on each package.

If the current directory isn't a Git repository already, the repository is created in a subdir of the current working directory, named after the first imported package, otherwise the Git repository in the current working directory is being used. This allows for incremental imports.

Options

FC--debsnapF[0]

Fetch snapshots from snapshots.debian.org using debsnap.

FC--ignore-repo-configF[0]

Ignore FCgbp.confF[0] files stored in the git repository itself. This can be useful to ignore branch information and other options shipped in the package source.

All other options are passed on verbatim to gbp import-dsc.

Examples

When run in an empty directory, download all versions of package entr available at Debian snapshots and import them into a new git repository:

FC
      gbp import-dscs --verbose --pristine-tar --create-missing-branches --debsnap entr
    F[0]

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

--debsnap until Debian 9 (Stretch); --ignore-repo-config until Debian 9 (Stretch).

Author

Guido Günther <[email protected][0]>

From git-buildpackage 0.9.38 in Debian 13 (Trixie). Parsed by carta from the page's man source.