Dist::...Config(3pm)

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

πŸ’– Dist::...Config(3pm) πŸ’–

okay so bestie, quick vibe check: this is a Perl manpage, filed under User Contributed Perl Documentation, and it lives at Dist::...Config(3pm). it's giving very "small role, huge slay" energy and we're gonna read it together 🫢


✨ NAME ✨

Dist::Zilla::Role::GitConfig β€” an easy-peasy role that drops a git_config option into basically all your plugins πŸ’…


🌸 SYNOPSIS 🌸

package Dist::Zilla::Plugin::GitReleasePlugin;

use Moose;

with 'Dist::Zilla::Role::BeforeRelease';
with 'Dist::Zilla::Role::GitConfig';

sub _git_config_mapping { +{
   push_to   => '%{remote}s %{local_branch}s:%{remote_branch}s',
   changelog => '%{changelog}s',
} }

look at that. gorgeous. no notes πŸ”₯


πŸ¦‹ DESCRIPTION πŸ¦‹

so like, this is a super easy-to-use role for plugins, and what it does is let them use Config::Git configurations. that's it. that's the whole thing. lowkey iconic πŸŽ€


πŸ‘‘ REQUIREMENTS πŸ‘‘

🧚 _git_config_mapping

Hashref of option to errf string mappings.

okay bestie, important caveat incoming: the mappings don't work for allow_dirty. these are (currently) hardcoded to map to the allow_dirty and allow_dirty_match options directly. so don't come for me when you try it πŸ™ˆ

🌈 AVAILABILITY 🌈

the project homepage is <https://github.com/SineSwiper/Dist-Zilla-Plugin-Config-Git>.

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 <https://metacpan.org/module/Dist::Zilla::Plugin::Config::Git/>. go get it, it's right there ✨


πŸ’œ AUTHOR πŸ’œ

Brendan Byrd <BBYRD@CPAN.org> β€” periodt, the main character πŸ‘‘


This software is Copyright (c) 2013 by Brendan Byrd.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)

and that's the whole page, bestie πŸ’– this lil doc shipped as perl v5.34.0, dated 2022-06-16, and it's filed under Dist::...Config(3pm) β€” we love a dated queen 🌸 slay, bye!! 🫢✨