Inconsistent permissions on CPAN modules

栏目: IT技术 · 发布时间: 4年前

In the past, if multiple people released the same distribution, and each of them added new modules to the distribution, then you'd end up with different people having ownership of modules making up a single distribution. That's a pain if you want to give co-maint to someone. PAUSE has been fixed now, to ensure consistent permissions, but there are historical inconsistencies. I'll describe the problem, and how we're fixing it.

This article assumes you know something about PAUSE Indexing Permissions. If you don't, then you should first read the relevant section of the PAUSE Operating Model .

If you are the first person to release a module to CPAN, you are given the first-come indexing permission on that module. At some later date you give co-maint to someone, we'll call her Mary, and they start doing regular releases. In time they gain confidence, and decide to refactor your code, adding some new modules.

In the past Mary would have been given the first-come indexing permission on the new modules that she released, resulting in a situation where you own some of the modules, and Mary owns the rest. This became a pain if you wanted to give co-maint to a third person, as you'd have to do it for some modules, and Mary for the others.

So now PAUSE handles this scenario differently. When new modules are added to a distribution, PAUSE gives the first-come indexing permission to whoever has first-come on the lead module of the distribution, and gives co-maint to everyone who has co-maint on that same module. This means that distributions should keep a single owner, unless you intentionally break that.

We're left with the problem of the historical cases where a co-maint added one or more modules to a distribution and were granted first-come on them. There are about 550 such distributions, and I plan to gradually work through them. This will take a while, and I'll start off working through the easy cases, but if you'd like me to sort out one or more of your distributions, feel free to email me (neil at bowers dot com).

There are some hairy cases, and for those I'll get in touch with the involved parties, to ensure the right/best person ends up with first-come. And then there are core modules; I'll get to those last :-)


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

我在阿里做运营

我在阿里做运营

芮曦(@小马鱼) / 电子工业出版社 / 2018-7 / 59.00元

《我在阿里做运营》是一本散发着浓浓阿里味儿的运营书。作者进入互联网行业7年,曾就职于携程、阿里巴巴等大平台,也服务过小微企业、传统企业及诸多职场新人。不仅经历过各类运营岗,也经历过市场、品牌等岗位,对精细化运营、数据化运营和低成本运营有着深刻见解。 本书展示了在阿里这样的大平台做运营工作的真实场景,也提炼了适用于小微企业的经验,以及让运营新人快速上手的技能和自我修养、职业规划。一起来看看 《我在阿里做运营》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具