03 Apr 2013 21:38:49 UTC
- Distribution: Module-Install-Authority
- Module version: 0.03
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Issues (1)
- Testers (354 / 0 / 0)
- KwaliteeBus factor: 3
- 40.70% Coverage
- License: perl_5
- Activity24 month
- Download (20.96KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Module::Install::Authority - Add an x_authority key to META.yml
use inc::Module::Install; name 'Example'; all_from 'lib/Example.pm' authority 'cpan:BOBTFISH'; WriteAll;
If you upload a distribution which contains an
x_authoritykey in the META.yml then PAUSE will assign 'firstcome' permissions on any packages in that distribution to the user given by the
x_authoritykey (and assign co-maint to the uploader).
Traditionally, if you uploaded a dist containing A.pm, and then gave someone else comaint, and they uploaded a subsequent release including B.pm, then you had a problem as the initial author (you!) has no permissions to release B.pm
x_authoritykey to your distribution fixes this, as it ensures that any subsequent packages uploaded as part of the dist by co-maintainers get their permissions set so that one person is the canonical source of permissions for the dist.
This makes coordination (and maintainance sharing) much easier for large distributions, or those maintained by a pool of people.
x_authoritykey to your META.yml or META.json
This module should be able to take x_authority from the $AUTHORITY variable in the 'main' module of the dist if present.
Tomas Doran (t0m) <firstname.lastname@example.org>
Copyright (C) 2012 Tomas Doran
This software is licensed under the same terms as perl itself.
Module Install Instructions
To install Module::Install::Authority, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Module::Install::Authority
For more information on module installation, please visit the detailed CPAN module installation guide.