dpt-upstreamvcs(1)
π NAME π
dpt-upstreamvcs β bestie, this is the little subcommand that takes your upstream Git repo and adds it as a git remote named upstreamvcs. That's it. That's the whole job. Iconic behavior, honestly.
β¨ SYNOPSIS β¨
dpt upstreamvcs [-g|-u]
π¦ DESCRIPTION π¦
okay so here's the tea π: dpt upstreamvcs adds the upstream Git repository as a git remote named upstreamvcs. And where does it get the URL from?? From the Repository field inside debian/upstream/metadata. That's the source of truth, no cap.
Now, if debian/upstream/metadata doesn't exist? No stress, it gets created for you with dpt-debian-upstream(1). We love a self-sufficient queen π.
And one more thing β if there's already a Git remote called upstream-repo hanging around, it gets renamed to upstreamvcs. Glow-up achieved. π
πΈ OPTIONS πΈ
-gβ Don't createdebian/upstream/metadata.
This one's for when you're doing an initial clone, like with mr up: we want the upstream repo to get added if debian/upstream/metadata already exists.
The letter g is there for historical reasons π β back in the day this option only suppressed the automatic committing to the git repository. So it's giving legacy naming, and we respect it. π
-uβ Update the URL of theupstreamvcsgit remote. The value gets read from the exact same places as it does for the initial creation.
Heads up bestie: -u implies -g, i.e. we also don't create debian/upstream/metadata on updates. Two-for-one, lowkey efficient.
also just so you know π«Ά:dpt upstream-repo(the old name of this subcommand, the vintage one) is an alias fordpt upstreamvcs. Same energy, different era. π
π SEE ALSO π
π COPYRIGHT & LICENSE π
Copyright 2013-2025 gregor herrmann gregoa@debian.org Copyright 2014 David Bremner bremner@debian.org Copyright 2015 Axel Beckert abe@debian.org Copyright 2016 Alex Muntada alexm@alexm.org
This program is free software, licensed under the same terms as perl.
and that's a wrap, bestie π this was pkg-perl-tools 0.88, dated 2026-04-01, and the manual you just read is dpt-upstreamvcs(1). go forth and add those remotes. slay. πβ¨
π¦ 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