NAME

Dist::Zilla::Plugin::DBIO::CodebergMeta - Add Codeberg (or any git forge) repository metadata to META.{json,yml}

VERSION

version 0.900002

DESCRIPTION

Derives the repository, bugtracker, and homepage META resources from the distribution's git remote URL. Works fully offline: no API token and no network access, unlike the external Dist::Zilla::Plugin::Codeberg::Meta (which additionally targets the GitLab API and does not actually work against Codeberg's Forgejo API).

This plugin is Codeberg-only by design. The owner/repo slug is taken from the git remote and the URLs are built for host (codeberg.org by default). If the remote does not point at that host (or there is no usable remote and no repo override), no target is found and the plugin adds no resources at all -- it never emits metadata for the wrong forge.

ATTRIBUTES

remote

Name of the git remote to read the repository URL from. Default: origin.

host

The forge host the URLs are built for, and the host the git remote is required to point at. Default: codeberg.org. Only override this for a self-hosted Forgejo/Gitea instance.

repo

Override the owner/repo slug. Must be given in owner/repo form. By default the slug is extracted from the git remote URL.

issues

Set the bugtracker resource to the repository's issues page. Default: true.

homepage

What to put in the homepage resource: repo (the forge repository page, the default), metacpan (the metacpan.org release page), or none.

AUTHOR

DBIO Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors

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