dpt-import-orig(1)
π dpt-import-orig β it's giving "gbp import-orig wrapper with upstream tracking support" β¨
okay bestie, so this one lives in the Debian Perl packaging Tools manual, section 1, and it's called dpt-import-orig. Let's get into it π«Ά
πΈ SYNOPSIS πΈ
dpt import-orig [../package_version.orig.tar.gz]
π¦ DESCRIPTION π¦
okay so dpt import-orig is a wrapper around gbp import-orig, and the way it does it is by using that tool's --uscan and --upstream-vcs-tag options to fetch and import tarballs and link them to upstream Git tags. honestly? iconic behaviour π
If it needs to, it adds the git remote using dpt-upstreamvcs(1). lowkey doing the most so you don't have to π§
And if you pass a parameter, it's taken as the orig tar-ball to import instead of using uscan to download the tar ball. You need this when a newer upstream release has a (from dpkg's point of view) lower version number and gbp bails out over uscan not having downloaded a tar ball. like, dpkg said no and gbp gave up π that's when you hand it the tarball yourself.
β¨ CONFIGURATION β¨
dpt import-orig reads the "DPT_RM_TARGZ" environment variable to figure out if the downloaded .orig.tar.gz should be removed after the import. vibe check on your tarball: stay or go? π
See dpt-config(5) for the details, bestie.
π SEE ALSO π
π COPYRIGHT & LICENSE π
Copyright 2013 Jonas Smedegaard dr@jones.dk Copyright 2013-2025 gregor herrmann gregoa@debian.org Copyright 2014 David Bremner bremner@debian.org
This program is free software, licensed under the same terms as perl. periodt π
ngl this is allpkg-perl-toolsversion0.88, dated2026-04-01, and you just readdpt-import-orig(1). slay, go import something πβ
π¦ where this page comes from
- ubuntu stonking: pkg-perl-tools 0.88 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms