Repository navigation
Description
I've been going through a few Dask systems recently and cleaning things up.
This evening I'm looking at the members of the GitHub organization, and the various privileges that everyone has. There are a few things we might want to change here. I would appreciate feedback from current active core devs on this topic before taking any action.
Permissions
The current permissions are relatively permissive. All members have full ability to create, destroy, and modify any repository within the organization.
We might want to reduce these default permissions. That would allow us to invite more people within the organization with a lower barrier to entry.
Current members
Historically there have been a few ways in which people have become members:
- I arbitrarily gave them commit rights, typically this happened early in the project (like @shoyer, @jcrist, @cowlicks, @eriknw)
- They were involved early on in the project within Continuum (like @koverholt, @danielfrg, @quasiben, @chdoig, @martindurant, and @teoliphant)
- More recently (last couple of years) they were added only after consensus from other core and active devs (like @ogrisel, @sinhrks, @TomAugspurger, @pitrou, @jakirkham)
All of these people have played significant roles in Dask's development at some point or another. Some people are still around while others seem to have moved on.
Additionally several people have been given commit rights to particular repositories a la carte.
Current Owners
New Member Policy
The current process to add new members has been that a current member proposes a candidate to the active core contributors (arbitrarily determined) and if a consensus agrees then they are given full rights everywhere. I came up with this process arbitrarily.
Individuals have been given commit rights to some of the peripheral repositories (like daskernetes, gcsfs, dask-glm) in an ad-hoc way by members who manage those repositories. This has historically been done without consultation with the larger group. To my knowledge this has never been done on the larger repositories like dask/dask and dask/distributed.
Old Member Policy
We've never removed any rights from anyone in organization. This hasn't been a problem.
However we might want to consider it. There are people who were added early on who have significantly more permission that others today who are more engaged with the project. I personally have great trust and respect for everyone listed above, and don't think that this is a problem, but it might be good to establish a policy here early.
Some options
- We could continue as-is. Everything seems to be fine.
- We could create a policy around conditions for global rights (active in the last year, good behavior, voted on) and apply those conditions to the current set of members.
- We could downgrade global rights somewhat (currently everyone listed above has the power to delete the dask/dask repo)
- We could downgrade global rights entirely, and manage permissions at the repository level (this would be a bit of a pain, but would let us invite many more people to the organization safely)
We also need to figure out how to rearrange the Owners list. A similar set of options exists for them as well.
I would love to know how other communities handle this. I wonder if @TomAugspurger @ogrisel @shoyer @jakirkham @pitrou can share about the policies used in their respective communities.
Activity
mrocklin commentedon Feb 28, 2018
Also cc @yuvipanda for a perspective from the Jupyter project in case there are things for us to learn from them.
yuvipanda commentedon Feb 28, 2018
IIRC Project Jupyter doesn't have any formal rules, but I know @Carreau has been thinking about this from the Project jupyter side recently.
Carreau commentedon Feb 28, 2018
Permission always become an issue especially on large orgs, one thing that we recently discovered is that issue closed by maintainer cannot be reopened by external member. In general the more people are owner(s)/admin the more detached the team will be from how occasional contributors will hit roadblocks.
In the Jupyter Org we tend to also have a couple of repositories that are private, and do not want everybody to see, so "owners" are restricted. We have a rule that commit right should get reviewed on a yearly basis, and remove commit bit if people get inactive, with the option for the inactive member to ask one the removal to be delayed for 1 year – in practice no-one really reviews.
I believe that's a bit long and 6-month may be better suited, and I think there is often a feat of vexing people to remove their right. So I would be pretty liberal with removing rights and differentiating "honorific member" from "Active member". From a security perspective the less permission is given the less risk you have – which is always good. This also allows to recognize non-GitHub contributors, and is one of the things I want for the Jupyter.
One thing I've played with (but need more time) is to have a bot with finer grained permissions, so you could for example only give tagging permissions to someone (at-mention bot + tags).
Sorry if this answer was potentially useless by raising more questions than giving answers.
TomAugspurger commentedon Feb 28, 2018
Pandas' policy is at https://github.com/pandas-dev/pandas-governance/blob/master/governance.md#core-team-membership I think we modeled it off Jupyter's. We don't regularly review the list of members to see if anyone has become inactive.
I've been happy with the process of adding new members.
No thoughts on the old & inactive members / owners.
As I general rule, I prefer to have the least amount of privileges necessary. This is a minor annoyance, as I think some CI services require elevated permissions for certain tasks, but it seems like a worthwhile tradeoff.
pitrou commentedon Feb 28, 2018
CPython's policy is at https://devguide.python.org/coredev/ . Basically once someone has been promoted core developer, they remain so eternally, unless they specifically ask to lose their rights. There is no formal voting procedure, it's more of an approval- and consensus-based mechanism. I wouldn't say it's necessarily a good example to follow, though.
jcrist commentedon Mar 1, 2018
Just to add another data point, SymPy's policy is to review people with commit rights ~once a year, and remove everyone that hasn't been active. There's a single group with commit rights to everything, and a few smaller groups that have subsets of privileges.
My personal thoughts are that we should be liberal about giving commit rights to good active contributors, especially if we subset those rights per repo. I also think it's good to periodically cull the membership list to only active contributors, but think a more lax policy of "ask them if they still want commit rights if they haven't been active in a year or so" makes more sense, rather than just removing them. How to codify that in governance documents I'm not sure :).
martindurant commentedon Mar 1, 2018
Transcribing discussion comments:
I notice the number of bigger repo/groups that seem to allow commit rights to persist indefinitely, even if they have thoughts around how to remove those rights.
Having to approach people to requests if they want to maintain membership, or having a yearly review of "active" members (these are suggestions around) comes with a bureaucratic overhead. Someone needs to be in charge of it.
Similarly, if we want to have a process around deciding repository "owners" (as opposed to committers), because we don't want anyone to accidentally delete everything, then this is a process that we actually have to implement.
pitrou commentedon Mar 1, 2018
I would qualify that by saying that reviewing is at least as important as contributing code. Commit right holders definitely should IMHO be skilled reviewers, such that they ensure that overall quality doesn't regress.
Agreed, especially when people contribute as volunteers.
jakirkham commentedon Mar 1, 2018
Probably will save any longer thoughts for the next meeting. That said, the comments above have done a pretty good job covering the subject.
Would add that from a management perspective, it helps to make permissions a bit more uniform by making teams and giving the teams specific permissions as opposed to giving people commit permissions on specific repos. It also helps with coordinating cross repo fixes especially as the org grows. Not to mention is more flexible as different people come and go on different teams.
Also would agree that asking inactive people annually about whether they still want to be active is reasonable. Wouldn't want us to be doing this without asking. :) More generally feel that asking about removals (or even additions) normally are best through more private forms of communication (e.g email). Though that might be obvious.
conda-forge has a bit of a graduating structure for teams. Namely one spends some time reviewing new recipes and then can be promoted to a larger role. Each step of this is discussed with core. Though there are thematic teams that don't fit this model (docker, webservices, etc.), which don't get the same level of discussion typically. Not that we should take on this model, but there could be things to learn from.
Whatever we decide, it would be to document it somewhere. :)
cowlicks commentedon Mar 4, 2018
👍 Feel free to remove my access. But can I remain a member in the organization? I'd like to be a member so can keep the little profile badge, I think it is a cute token. Others might feel the same way.
mrocklin commentedon Mar 8, 2018
OK, to push things along I'll make the following proposal.
Removing permissions
People's permissions can be removed in a two-step process:
We intentionally call out that "activity" can mean a great many things including but not limited to writing code, documenting, being active on issues, supporting users, etc.. Activity should be more than token events to maintain permissions
Any owner may temporarily remove permissions of any non-owner if there is some reason to do so. A consensus of owners can remove permissions of anyone long-term
Owners
I'll arbitrarily suggest the following set of people with ownership privileges
New owners are made by consensus of previous owners.
Members
We remove default write and destroy privileges from members. We hope that by making permissions more granular that they will be granted more frequently.
New members can be made by any owner if the following criteria are met:
Members can be given write privileges to any repository by an owner by the above conditions and the following:
In the case of the more critical repositories (dask/dask, dask/distributed) then at least three owners should agree to give privileges.
Teams
We acknowledge that write permissions to individual projects may be better handled by teams. Team membership will be handled similar to write permissions.
Exception Handling
If for some reason something above breaks or a conflict arises then @mrocklin 's decision will break deadlocks.
Final comments
Feedback on this is welcome. It would be nice to eventually formalize this and other information into some sort of governance document. If people want to have a proper meeting about these sorts of things then please speak up.
martindurant commentedon Mar 8, 2018
One missing piece: whose responsibility is it to police/enforce the reasonable rules we may agree on.
koverholt commentedon Mar 9, 2018
I am okay with being converted to an ordinary member of the Dask org.
Thanks to everyone for their ongoing work in this community and for organizing this clean-up effort and policy.
mrocklin commentedon Mar 19, 2018
It seems like anyone can police by raising an issue, pointing to this document, waiting a suitable time for objections to clear and then acting. This can become a problem if no one wants to do this. I'm happy to take on the role of enforcer for the time being. I'm also happy to find a replacement when necessary.
teoliphant commentedon Mar 19, 2018
Great job on organizing governance. I am happy to have helped in some small way Dask get off the ground. At this point, I can be removed from the "owner" role. I would like to stay a member as I talk about Dask quite a bit and want the affiliation.
3 remaining items
jakirkham commentedon Mar 20, 2018
I think it would be helpful to see this info moved into some appropriate repo. Naively thinking a
governancerepo, but maybe another repo/name would be better suited.TomAugspurger commentedon Mar 20, 2018
mrocklin commentedon Mar 22, 2018
@pitrou and @ogrisel any feedback?
pitrou commentedon Mar 27, 2018
Sorry for the delay. I am fine with the proposed organization.
mrocklin commentedon Apr 3, 2018
OK. We've gotten positive feedback from all previous and future owners. I've gone ahead and changed the following in GitHub settings.
I think that the next steps are the following:
mrocklin commentedon Apr 13, 2018
A couple meetings ago I brought up the idea of starting to send out membership invitations to people who have been active in the project. It became clear that we didn't have a good threshold on when this should happen. What does membership mean for us? When should we extend it? We have a technical process for doing to above but no guidelines.
What are good guidelines for when someone should be recommended for membership in the Dask organization?
mrocklin commentedon Apr 20, 2018
Some comments from a conversation a couple nights ago. Members should have the following traits:
TomAugspurger commentedon May 4, 2018
Agreed with all of those member traits.
TomAugspurger commentedon May 15, 2018
One more thing on permissions: who has the ability to upload to PyPI and merge PRs on conda-forge. I think those should be the same as the owners.
mrocklin commentedon May 15, 2018
jakirkham commentedon May 15, 2018
Same as my GitHub name :)
jakirkham commentedon May 17, 2018
Should we do the same with Distributed?
jakirkham commentedon May 17, 2018
Opened PRs at
dask-core,distributed, anddaskfeedstocks to provide permissions to everyone who has owner permissions in the Dask org. Many people were already on these lists. So each of these adds a few people not on those lists. Have pinged anyone added in those PRs. If you were pinged, please let us know whether those are ok, in the relevant PR(s), and we can proceed from there.xref: conda-forge/dask-core-feedstock#16
xref: conda-forge/distributed-feedstock#56
xref: conda-forge/dask-feedstock#41