Dist::...ository(3pm)
π NAME π
okay so bestie, welcome to Dist::Zilla::Plugin::Repository β she's the queen who automatically sets your repository URL by peeking at your svn / svk / Git checkout, all for Dist::Zilla. yes, she does the annoying part for you, we love that for her β¨
πΈ VERSION πΈ
version 0.25 β she's giving seasoned, she's giving mature, she's giving iconic
β¨ SYNOPSIS β¨
so like, this is all you need in your dist.ini, fr fr:
# dist.ini
[Repository]
that's it. that's the whole vibe. π
π¦ DESCRIPTION π¦
ngl the code is mostly a copy-paste of Module::Install::Repository. she said "borrowed, not stolen" and honestly? valid. π
π ATTRIBUTES π
git_remoteβ this is the name of the remote to use for the public repository (like, if you're on Git). by default β and this is gonna shock literally no one β it'sorigin. no cap.github_httpβ β οΈ bestie, this attribute is deprecated, okay, we're not mad we're just disappointed. if the remote is a GitHub repository, you'd list only the https url (https://github.com/fayland/dist-zilla-plugin-repository) and not the actual clonable url (git://github.com/fayland/dist-zilla-plugin-repository.git). this used to default to true, but as of0.16it defaults to false.
the CPAN Meta 2 spec defines separate keys for the clonable "url" and the web front-end "web". the Meta 1 specs allowed only 1 URL. so if you set "github_http" to true, the "url" key will be removed from the v2 metadata, and the v1 metadata will then use the "web" key. it's giving messy, honestly.
instead of setting "github_http", you should use the MetaJSON plugin to include a v2 META.json file with both URLs. do that. be that girl. π«Ά
repositoryβ you can set this attribute if you want a specific repository instead of letting the plugin auto-identify your repository. an example would be if you're releasing a module from your fork, and you don't want it to identify your fork, so you specify the repository explicitly. main character move. in the Meta 2 spec, this is the"url"key. π₯typeβ this should be the (lower-case) name of the most common program used to work with the repository, e.g.git,svn,cvs,darcs,bzr, orhg. it's normally determined automatically, but you can override it if you wanna be like that. πwebβ this is a URL pointing to a human-usable web front-end for the repository. yes, a URL that real humans can actually click on. we love accessibility. π
π AUTHORS π
the literal legends who made this happen, no notes:
- Fayland Lam <fayland@gmail.com>
- Ricardo SIGNES <rjbs@cpan.org>
- Moritz Onken <onken@netcubed.de>
- Christopher J. Madsen <perl@cjmweb.net>
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2026 by Fayland Lam, Ricardo SIGNES, Moritz Onken, Christopher J. Madsen.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, open source, periodt. π
and that's the whole page, bestie!! π this was Dist::...ository(3pm) from the User Contributed Perl Documentation, running on perl v5.40.1, dated 2026-05-09 β mwah, go set that repository URL, you got this πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: libdist-zilla-plugin-repository-perl 0.25-1 Β· 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