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 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 all pkg-perl-tools version 0.88, dated 2026-04-01, and you just read dpt-import-orig(1). slay, go import something 🌈⭐
πŸ“¦ where this page comes from