Tatsuhiko Miyagawa's Blog

What is x_authority? | Jawnsy’s Journal on Life, Software and Engineering

August 21, 2013

Link: What is x_authority? | Jawnsy’s Journal on Life, Software and Engineering

One proposed solution, which is used in projects including Moose and Catalyst, is to use a special field in the CPAN Metadata file (META.yml or META.json) that defines someone as the “authority” for first-come namespaces in a distribution.I’ve been getting questions about what x_authority (and $AUTHORITY in .pm files) does, and this blog post explains it very well. This is to set the default ownership of the new packages in a dist, then giving the uploader comaint automatically.

See also my comaint script that adds comaintainership to all packages in a dist, from the command line (without logging in to PAUSE).