Dist::...rmatter(3pm)
β¨ NAME β¨
Dist::Zilla::Role::Git::StringFormatter β bestie, it literally just hands you a String::Formatter for your commit messages π
(this page is from the Dist::...rmatter(3pm) manual, but like, we don't gotta read that part out loud)
πΈ VERSION πΈ
version 2.052 β that's the one, no cap π
π¦ DESCRIPTION π¦
okay so. this role lives inside the Git plugins and its whole job is formatting strings that might have the changes from the current release dropped into them. it's giving "template engine but make it commit message" β¨
these formatting codes are available, and yes you're gonna want all of them:
%cβ the list of changes in the just-released version (read from"changelog"). it includes the lines between the current version and timestamp and the next non-indented line, except that blank lines at the beginning or end get removed. and it always ends in a newline unless it is the empty string. periodt."%{dd-MMM-yyyy}d"β the current date. you can use any CLDR format supported by DateTime, so go feral ποΈ. a bare%dmeans"%{dd-MMM-yyyy}d".%nβ a newline. just a lil guy. a break. a breather.%Nβ the distribution name π"%{-TRIAL}t"β expands to-TRIAL(or any other supplied string) if this is a trial release, or the empty string if not. a bare%tmeans"%{-TRIAL}t".%vβ the distribution version%Vβ The distribution version, but with a leading"v"removed if it exists. so shy, so demure, novπ
π ATTRIBUTES π
π changelog
The filename of your Changes file. (Must be provided by the class that consumes this role.) so like, it's not optional, bestie β the consumer class has to bring it or nothing works π
π§ time_zone
The time zone used with the %d code. the default is "local", which is honestly so valid of it.
π SUPPORT π
got a bug? same. Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Git> (or <bug-Dist-Zilla-Plugin-Git@rt.cpan.org>). π«Ά
There is also a mailing list available for users of this distribution, at <http://dzil.org/#mailing-list>. β¨
There is also an irc channel available for users of this distribution, at "#distzilla" on "irc.perl.org" <irc://irc.perl.org/#distzilla>. come hang, it's a vibe π
π AUTHOR π
Jerome Quelin β icon behavior, fr fr π
π COPYRIGHT AND LICENCE π
This software is copyright (c) 2009 by Jerome Quelin.
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, legally speaking βοΈβ¨
okay that's the whole thing, we ate and left no crumbs π½οΈπ this was perl v5.40.1, dated 2025-09-29 β mwah, go format something gorgeous π
π¦ where this page comes from
- ubuntu resolute: libdist-zilla-plugin-git-perl 2.052-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdist-zilla-plugin-git-perl 2.052-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