Dist::...tracker(3pm)

πŸ“¦
version 1.111080 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Dist::...tracker(3pm) β€” Dist::Zilla::Plugin::Bugtracker πŸ’–

omg hi bestie, welcome to the manual page for Dist::Zilla::Plugin::Bugtracker (that's the fancy name, the terminal header just calls it Dist::...tracker(3pm) because it's ✨ mysterious ✨). Sit down, grab a boba, we're setting your bugtracker URL. πŸ§‹


πŸŽ€ NAME πŸŽ€

Dist::Zilla::Plugin::Bugtracker β€” it sets your bugtracker URL and the mailto automatically, no cap. πŸ’…

🌸 VERSION 🌸

version 1.111080

πŸ¦‹ SYNOPSIS πŸ¦‹

In dist.ini, you literally just write this:

[Bugtracker]

that's it. that's the whole thing. iconic behavior. ✨

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea: this plugin sets the distribution's bugtracker URL and possibly the email address as metadata. and the way it works is β€” you can set the web value and the mailto value independently in the plugin configuration. independent queens. πŸ‘‘

πŸ”₯ METHODS πŸ”₯

⭐ web

This is the bugtracker URL. It defaults to the CPAN RT URL, so it's equivalent to:

[Bugtracker]
web = http://rt.cpan.org/Public/Dist/Display.html?Name=%s

See interpolate() for more information. (go look, it's right there, it's cute)

πŸ’Œ mailto

This is the optional email address to which bug reports can be sent. If the CPAN RT bugtracker is used, the email address defaults to bug-%l at rt.cpan.org β€” see interpolate() for what this means.

If a different bugtracker URL is used, the email address is only included in the metadata if it is explicitly given. no assumptions here, she waits for consent. πŸ™ˆ

In the following examples, assume that the distribution is called Foo-Bar.

Example 1:

[Bugtracker]

will produce the defaults:

web:    http://rt.cpan.org/Public/Dist/Display.html?Name=Foo-Bar
mailto: bug-foo-bar at rt.cpan.org

Example 2:

To suppress the mailto from example 1, use:

[Bugtracker]
mailto =

(leaving it empty = bye bye mailto πŸ’€)

Example 3:

[Bugtracker]
web = http://github.com/me/%s/issues

will only produce a web entry, but not a mailto entry:

web: http://github.com/me/Foo-Bar/issues

Example 4:

[Bugtracker]
mailto = me@example.org

will produce:

web:    http://rt.cpan.org/Public/Dist/Display.html?Name=Foo-Bar
mailto: me@example.org

Example 5:

[Bugtracker]
web = http://github.com/me/%s/issues
mailto = bug-%U@example.org

will only produce a web entry, but not a mailto entry:

web:    http://github.com/me/Foo-Bar/issues
mailto: bug-FOO-BAR@example.org

See CPAN::Meta::Spec at http://search.cpan.org/dist/CPAN-Meta/lib/CPAN/Meta/Spec.pm#resources for more information. πŸ“š

🧚 interpolate

Both the web and mailto strings are interpolated as follows:

%s  The distribution name as is (e.g., 'Foo-Bar')
%l  The distribution name in lowercase (e.g., 'foo-bar')
%U  The distribution name in uppercase (e.g., 'FOO-BAR')
%%  A literal '%' sign

tiny placeholders, huge power. ⚑

🌈 metadata

Sets the bugtracker URL and possibly email address in the distribution's metadata.

🫢 INSTALLATION 🫢

See perlmodinstall for information and options on installing Perl modules. (yes, that's a whole other manual page, go read it when you're ready bestie)

😭 BUGS AND LIMITATIONS 😭

No bugs have been reported. 🀞 (we love a flawless queen, but also β€” knock on wood)

Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Bugtracker.

πŸ‘‘ AVAILABILITY πŸ‘‘

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Dist-Zilla-Plugin-Bugtracker/.

The development version lives at http://github.com/hanekomu/Dist-Zilla-Plugin-Bugtracker and may be cloned from git://github.com/hanekomu/Dist-Zilla-Plugin-Bugtracker.git. Instead of sending patches, please fork this project using the standard git and github infrastructure. 🍴✨

🌟 AUTHOR 🌟

Marcel Gruenauer <marcel@cpan.org>

This software is copyright (c) 2010 by Marcel Gruenauer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. 🫢 (so generous, we stan)


and that's the whole page bestie!! πŸ’… this lil doc shipped with perl v5.34.0 and was last touched on 2022-06-13, and it's filed under Dist::...tracker(3pm) in the User Contributed Perl Documentation. go forth and set your bugtracker URL. mwah. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from