NAME

Dist::Zilla::Plugin::SourceHutMeta - Automatically include SourceHut meta information in META.yml

VERSION

version 1.003

SYNOPSIS

# in dist.ini

[SourceHutMeta]

# to override the homepage

[SourceHutMeta]
homepage = http://some.sort.of.url/project/

# to override the remote repo (defaults to 'origin')
[SourceHutMeta]
remote = sr.ht

DESCRIPTION

Dist::Zilla::Plugin::SourceHutMeta is a Dist::Zilla plugin to include SourceHut https://sr.ht meta information in META.yml and META.json.

It automatically detects if the distribution directory is under git version control and whether the origin is a SourceHut repository and will set the repository and homepage meta in META.yml to the appropriate URLs for SourceHut.

Copy/pasted and slightly adapted from Dist::Zilla::Plugin::GithubMeta

ATTRIBUTES

METHODS

SEE ALSO

Dist::Zilla, Dist::Zilla::Plugin::GithubMeta

CONTRIBUTING

See file CONTRIBUTING.md

AUTHORS

COPYRIGHT AND LICENSE

This software is copyright (c) 2025 by Thomas Klausner, Chris Williams.

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