The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Dist::Zilla::Plugin::GitHub::Offline - Add a GitHub repo's info to META.{yml,json}

VERSION

version 0.001

DESCRIPTION

This Dist::Zilla plugin adds some information about the distribution's GitHub repository to the META.{yml,json} files, using the official CPAN::Meta specification. It's similar to the [GitHub::Meta] plugin in offline mode, but will always set the bugtracker field.

GitHub::Meta::Offline currently sets the following fields:

repository
web

URL pointing to the GitHub page of the project.

url

URL pointing to the GitHub repository (git://...).

type

This is set to git by automatically.

bugtracker
web

URL pointing to the GitHub issues page of the project.

ATTRIBUTES

repo

The name of the GitHub repository. By default the name will be extracted from the URL of the remote specified in the remote option, it can also be in the form user/repo when it belongs to another GitHub user/organization.

remote

The name of the Git remote pointing to the GitHub repository ("origin" by default). This is used when trying to guess the repository name.

AUTHOR

Leon Timmermans <fawaka@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.