Module...ubMeta(3pm)

πŸ“¦
version 0.10 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– Module::Build::Pluggable::GithubMeta(3pm) πŸ’–

okay bestie, so this page comes to you straight out of the User Contributed Perl Documentation manual, and it's genuinely one of those little plugins that just does the thing for you. no cap. πŸ¦‹


🌸 NAME 🌸

Module::Build::Pluggable::GithubMeta β€” a Module::Build extension that tucks your GitHub meta info into META.yml. it's giving ✨automation✨ πŸŽ€


⭐ SYNOPSIS ⭐

the whole vibe is literally this:

use Module::Build::Pluggable qw(
    GithubMeta
);

my $builder = Module::Build::Pluggable->new(
    ...
);
$builder->crate_build_script();
yes, that last line says crate_build_script and we are keeping it exactly how the original wrote it β€” verbatim, character for character, no edits from me πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so Module::Build::GithubMeta is a Module::Build extension whose entire purpose in life is to include GitHub http://github.com meta information in META.yml. main character energy fr fr πŸ‘‘

here's the magic part 😭 it automatically detects two things:

  1. whether the distribution directory is under git version control
  2. whether the origin is a GitHub repository

and if both check out, it sets the repository and homepage meta in META.yml to the appropriate URLs for GitHub. no manual URL copying, no typos, no tears πŸŒˆπŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

Tokuhiro Matsuno

also, credit where credit is due, this is based on code from Module::Install::GithubMeta by Chris "BinGOs" Williams, and based on code from Module::Install::Repository by Tatsuhiko Miyagawa. standing on the shoulders of icons 🫢


πŸŽ€ LICENSE πŸŽ€

Copyright Β© Tokuhiro Matsuno, Chris Williams and Tatsuhiko Miyagawa

This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details. (tl;dr: same terms as Perl itself, go read the license your Perl shipped with πŸ’š)


πŸ”₯ SEE ALSO πŸ”₯

  • Module::Build::Pluggable

okay that's the whole page bestie, you're officially informed πŸ’œ this was Module...ubMeta(3pm), built with perl v5.40.1 and dated 2025-05-04 β€” slay, periodt πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from