dpt-checkout(1)

πŸ’– dpt-checkout(1) β€” the pkg-perl checkout bestie πŸ’–

psst, this is part of the Debian Perl packaging Tools fam, and it's giving "let me get your working copy sorted" energy ✨


🌸 NAME 🌸

dpt-checkout β€” work on a pkg-perl package 🫢


✨ SYNOPSIS ✨

dpt checkout package-name [package-name ...]

dpt co package-name [package-name ...]

πŸŽ€ DESCRIPTION πŸŽ€

okay so basically, dpt checkout checks out a working copy for the packaging of a given package. that's the whole main character move. πŸ’…

and listen β€” if you use dpt-shell-lib(1), then dpt checkout will literally put you in the directory of the working copy, but only if you checked out exactly one source package. one package, instant teleport 🧚 no cap.

here's the vibe check on what it does depending on what's already there:

  • if the package directory exists, the clone gets updated by calling gbp-pull(1). keeping it fresh, as she should πŸ”₯
  • if it doesn't exist, it gets cloned off the pkg-perl git repositories via gbp-clone(1). brand new, iconic 🌈

and if there's upstream repository information sitting in debian/upstream/metadata, then dpt-upstreamvcs(1) gets invoked to add it as a Git remote. ooh, extra remote, we love to see it ⭐

also dpt co is just an alias for dpt checkout. same girl, shorter name πŸŽ€


πŸ‘‘ CONFIGURATION πŸ‘‘

dpt checkout uses the DPT_PACKAGES environment variable. if DPT_PACKAGES is not defined, then it just uses the current working directory instead. simple as that πŸ’–

peep dpt-config(5) for the details, fr fr.


Copyright 2013-2025 gregor herrmann gregoa@debian.org Copyright 2013, 2014 Damyan Ivanov dmn@debian.org Copyright 2013 Axel Beckert abe@debian.org

This program is free software, licensed under the same terms as perl.


and that's the whole page bestie, you ate it up 🫢 this was pkg-perl-tools 0.88, dated 2026-04-01 β€” mwah, bye! πŸ’‹

πŸ“¦ where this page comes from