NAME

Dist::Zilla::Plugin::DBIO::SetMeta - Set author, copyright_holder, and license on the Dist::Zilla object

VERSION

version 0.900007

DESCRIPTION

Internal plugin of the [@DBIO] bundle; it is added by Dist::Zilla::PluginBundle::DBIO and is not meant to be configured in a dist.ini. A bundle has no access to the Dist::Zilla object while it builds its plugin list, so the bundle derives the values (heritage = 1 gives DBIO & DBIx::Class Authors, otherwise DBIO Authors; the copyright holder defaults to the same string and can be overridden with copyright_holder) and hands them to this plugin, which applies them to the distribution before the build starts.

Dist::Zilla offers no public way to set these values from a plugin: authors, _copyright_holder and _license_class are read-only attributes filled from the dist.ini top level (or the %User / %Rights stashes). The plugin therefore writes them through the Moose meta attributes in before_build. That reaches into private Dist::Zilla fields (_copyright_holder, _license_class), which is why it lives in its own module: it is the one place that depends on Dist::Zilla internals. The license is always set to Perl_5.

ATTRIBUTES

author

The author, set as the only entry of Dist::Zilla's authors. Required.

holder

The copyright holder, written to Dist::Zilla's private _copyright_holder. Required.

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.