dpt-forward(1)
๐ dpt-forward(1) ๐
okay bestie, so this is dpt-forward, one of the little gems from the Debian Perl packaging Tools, and it does exactly one (1) job and it does it adorably: it forwards a bug or a patch upstream. like, from your Debian packaging world to the actual upstream project. no cap. ๐ฆ
โจ NAME โจ
dpt-forward โ forward a bug or a patch upstream ๐
๐ธ SYNOPSIS ๐ธ
dpt forward [option...] path/to/some.patch [bug-number]
dpt forward [option...] bug-number [path/to/some.patch]
so you can put the patch first or the bug number first, the vibes are flexible, it'll figure itself out. periodt. โจ
๐ OPTIONS ๐
--distname /-dname โ the distribution name, girl. it gets determined fromMETA, then the"Name"field indebian/upstream/metadata, then the"Homepage"field in thedebian/controlfile, then the"Source"field indebian/copyrightโ in exactly that order, first hit wins, no takebacks. ๐--forceโ normallydpt-forwardchecks whether the bug/patch is already forwarded upstream and just aborts if it is, like "ma'am we've been here". with this flag the check still happens, it just doesn't abort โ it only issues a warning and keeps going. main character energy, honestly. ๐ฅ--metafile โ tells it where theMETAfile lives. defaults toMETA.jsonorMETA.ymlin the current directory, whichever one it finds first.--mode bug|patch/-m bug|patchโ the mode of operation, and ngl you'll rarely need this one. it decides what your arguments mean:bugmeans the first argument is a bug number and the second is a patch file name,patchmeans the polar opposite. normally it figures this out from the first non-option argument and whether that thing looks like a bug number or a patch file name. it's giving mind reader. ๐ฎ--offline-testโ every operation that needs the network gets swapped for stubs, so you can test offline. cozy. ๐๏ธ--ticketnumber โ if you pass it, the info gets submitted to that ticket as an additional comment. if you don't pass it, a brand new ticket is created. ๐--trackername /-tname โ the tracker the distribution uses.dpt forwardcurrently supportscpan(<http://rt.cpan.org>) andgithub. the default comes from the"resources->bugtracker->web"field ofMETA, and if that field isn't there, it'scpan. ๐ง--tracker-urlurl /-uurl โ the tracker URL to submit the info to. it's taken from the"resources->bugtracker->web"field ofMETAor the"Bug-Database"field indebian/upstream/metadata. it defaults to"https://rt.cpan.org/Public/Dist/Display.html?Name=dist-name"forcpan, and forgithubit is mandatory โ like, you must give it. ๐ค--use-mailโ send bug and patch submissions by e-mail instead of creating an issue or pull request via the API. heads up though: because the resulting ticket URL is not known todpt forward, it cannot mark the patch and the bug as forwarded. ๐ญ--mailtoaddress โ sets the e-mail address to forward to. the default comes from the"resources->bugtracker->mailto"field ofMETA, or the CPAN RT bug address if that field isn't present. ๐ง--fallbackโ enables falling back to forwarding patches as bug reports whenever pull requests fail for any reason. defaults tofalse. ๐
๐ FILES ๐
~/.pauseโ your pause credentials, bestie. you need at leastuserandpasswordin order to create tickets onrt.cpan.orgvia the REST API. otherwisedpt forwardfalls back to email, which is slower and won't mark patches and bugs as forwarded. so likeโฆ do the credentials. ๐
๐ ENVIRONMENT ๐
DPT_GITHUB_OAUTHโ to do any github operations at all,DPT_GITHUB_OAUTHmust be set. check outdpt-github-oauth(1)for how to get an access token for your github account, anddpt-config(5)for storing settings permanently indpt.conf. โจDPT_GITHUB_ORGNAMEโ producing merge requests on github as a result of forwarding a patch requires that you belong to an organization that will own the cloned repositories from upstream. so you'll need some organization administrator to invite you โ for instance by usingdpt-invite-github(1). ๐ซถ
for more details about tuning merge requests through environment variables and their defaults, please see Debian::PkgPerl::GitHub(1). ๐
โญ SEE ALSO โญ
- Forwarding tutorial <https://perl-team.pages.debian.net/forward.html> ๐ธ
๐ LICENSE AND COPYRIGHT ๐
Copyright 2016 Alex Muntada.
Copyright 2014 Salvatore Bonaccorso.
Copyright 2014 Damyan Ivanov.
Copyright 2011 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See <http://dev.perl.org/licenses/> for more information.
and that's the whole page, bestie, literally all of it ๐ this was written for pkg-perl-tools version 0.88, dated 2026-04-01 โ go forth and forward those patches, you absolute icon ๐โจ๐ฆ
๐ฆ 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