dpt-upstreamvcs(1)

πŸ“¦
version 0.88 Β· 2 versions
, in ubuntu stonking

πŸ’– 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 create debian/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 the upstreamvcs git 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 for dpt upstreamvcs. Same energy, different era. πŸ‘‘

🌈 SEE ALSO 🌈


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