gbp-import-dscs(1)
π gbp-import-dscs(1) β the git-buildpackage manual, but make it slay π
okay bestie, so you know gbp-import-dscs from the git-buildpackage manual? yeah, that one. sit down, get comfy, we're doing this together π«Ά
β¨ NAME β¨
gbp-import-dscs β imports several versions of a Debian source package into a Git repository, and it sorts them by version number first. yes, sorted. it's giving organized. it's giving main character energy π
π¦ SYNOPSIS π¦
gbp import-dscs [options] [gbp import-dsc options] pkg_1.dsc pkg_2.dsc
... or
gbp import-dscs {--debsnap} [options] [gbp import-dsc options] {package}
two whole modes. pick your fighter π
πΈ DESCRIPTION πΈ
So. gbp import-dscs takes a bunch of versions of a Debian source package and imports them into a Git repository. That's the whole vibe.
The way it does it? First it sorts the packages by their versions β like, alphabetically but for versions, no cap β and then it imports them by calling gbp import-dsc on each package. one by one. little worker bee π
Now here's the part that lowkey matters: if your current directory isn't already a Git repository, the repo gets created in a subdir of your current working directory, and it's named after the first imported package. Cute, right? But if you're already inside a Git repository, then that Git repository in the current working directory is the one being used. Same repo, no drama.
Which means β and this is the iconic bit β it allows for incremental imports. run it again later, add more versions, we grow π±
π OPTIONS π
--debsnapβ fetches snapshots fromsnapshots.debian.orgusingdebsnap. yes, it goes and gets them for you. obsessed.--ignore-repo-configβ ignoresgbp.conffiles stored in the git repository itself. super useful when you wanna ignore branch information and other options that got shipped inside the package source. like, ma'am, I don't need your opinions today π
and literally every other option? passed on verbatim to gbp import-dsc. not touched, not filtered, not rewritten. straight through. periodt.
π₯ EXAMPLES π₯
Picture this: you're in an empty directory (empty dir energy, we've all been there) and you wanna download every version of the package entr that's available at Debian snapshots, and import them all into a brand new git repository. you do this:
gbp import-dscs --verbose --pristine-tar --create-missing-branches --debsnap entr
look at her go. ate. π β¨
π SEE ALSO π
gbp-import-dsc(1)gbp-buildpackage(1)gbp-import-orig(1)gbp-dch(1)gbp.conf(5)debuild(1)git(1)pristine-tar(1)- The Git-Buildpackage Manual β¨
file:///usr/share/doc/git-buildpackage/manual-html/index.htmlβ©
go read your other favs, they miss you π₯°
π« AUTHOR π«
Guido GΓΌnther <agx@sigxcpu.org> β the legend himself. thank you for your service π«‘
okay that's the whole page, bestie!! this came from the git-buildpackage Manual, version-flavored 26 May 2026, and it's the gbp-import-dscs(1) page β now go import some dscs and be iconic πβπ
π¦ where this page comes from
- ubuntu stonking: git-buildpackage 0.9.43 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms