Deprecated.
NAME
Dist::Zilla::Plugin::AuthorityFromModule - (DEPRECATED) Add metadata to your distribution indicating what module to copy PAUSE permissions from
VERSION
version 0.007
SYNOPSIS
In your dist.ini:
[AuthorityFromModule]
DESCRIPTION
This is a Dist::Zilla plugin that adds the x_authority_from_module
and x_permissions_from_module
keys to your distribution metadata, indicating from which module to copy PAUSE permissions when a module in your distribution enters the PAUSE index that has not ever previously been indexed.
As of May 2016, PAUSE now copies the permissions from the "main module" to any new modules entering the index for the first time, which renders this module obsolete, with all its goals met in full. There is no longer any need to use this module.
For more information, see the pull request that made the change, written by Colin Newell at the Perl QA Hackathon, in Rugby UK, April 2016.
MOTIVATION
NOTE: The remainder of this documentation reflects how PAUSE used to work, and is retained purely for historical reasons.
The idea is (was) that this is a more useful piece of data for PAUSE than x_authority
. Here is how the release process works with x_authority
, using Moose as an example:
I (ETHER) release a new version of Moose with a new module added,
Moose::Foo
normally, PAUSE would give me "first-come" permissions on this module, but since PAUSE sees the
x_authority => 'cpan:STEVAN'
metadata, it instead gives "first-come" to STEVAN, and "co-maint" to mebut now none of the other members of the Moose cabal can do the next Moose release and get the new version of
Moose::Foo
indexed - they need to contact STEVAN and ask him to give them co-maint at http://pause.perl.org
So, we can see the only gain is that STEVAN automatically gets permission on the new module, but still, no one else does. Now, let's look at how x_authority_from_module
would work:
I (ETHER) release a new version of Moose with a new module added,
Moose::Foo
PAUSE sees the
x_authority_from_module => 'Moose'
metadata and looks up the permissions for the Moose module, and, finding many authors, copies all those permissions to Moose::Foo: STEVAN gets first-come, and everyone else (ETHER included) gets co-maint.now any of the other members of the Moose cabal can do the next Moose release and everything will be properly indexed, with no manual intervention required.
CONFIGURATION OPTIONS
module
The module name to copy permissions from. It must exist in the distribution, and exist in the PAUSE permissions table (see peek at PAUSE permissions).
This config is optional; it defaults to the main module in the distribution.
SEE ALSO
SUPPORT
Bugs may be submitted through the RT bug tracker (or bug-Dist-Zilla-Plugin-AuthorityFromModule@rt.cpan.org).
There is also a mailing list available for users of this distribution, at http://dzil.org/#mailing-list.
There is also an irc channel available for users of this distribution, at #distzilla
on irc.perl.org
.
I am also usually active on irc, as 'ether' at irc.perl.org
.
AUTHOR
Karen Etheridge <ether@cpan.org>
COPYRIGHT AND LICENCE
This software is copyright (c) 2014 by Karen Etheridge.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.