-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use a CODEOWNERS file to identify maintainers? #175
Comments
An alternative is to create GitHub teams associated with each cookbook. Team members would be the identified maintainers. In this case, we would still have a
and all maintainers would need to be members of the ProjectPythia organization (which is already our goal). One advantage of this approach is it would let us ping the maintainers with an @ reference to the team rather than individually. But that doesn't seem like a big deal. There might be bigger advantages to setting up teams with respect to setting up automation in the future. |
I've been looking at how this all works in conda-forge as a model, where individual feedstock repos have identified maintainers who are members of the broad organization but only have push access to the feedstock repos they maintain. @dopplershift I have a question that you might be able to answer about how teams are used in feedstock repos. For example, one of the feedstocks I maintain has this team:
|
I'm not sure why the Since teams are an organization-level concept, there are a few feedstocks that use the same team across multiple feedstocks. I believe most of the R ecosystem has this. |
Maybe this is something the infrastructure team can discuss during next week's hackathon. I would love to have some minimal system in place after hackathon to keep track of maintainers. |
One case to consider: We have Cookbooks written by a team of scientists, one of them does all of the work to push their final code to its Cookbook repo (or to take a tutorial they wrote together and translate it into a Cookbook). In this case there are authors that are manually added that aren't represented in the contributor's file. Should we still give them maintainer status? |
That decision should be made by the author team, not us. We're looking for individuals who volunteer some interest in staying connected to the cookbook over time. |
Following discussion at this week's Pythia Community Meeting, I'm looking into some easy steps we could take to have identified maintainers for each cookbook repo. The overarching idea is that when people contribute new cookbook content to the gallery, we're setting an expectation that someone will help keep an eye on its health.
Features that I think would be helpful to have:
Seems to me the simplest way to achieve at least goals 1 - 3 is just to include a
.github/CODEOWNERS
file in each cookbook repo. The content of that file can be as simple asor for multiple maintainers
etc.
As part of the Cookbook review process, prior to accepting a new Cookbook into the gallery, reviewers can just check to see that maintainers have been specified in the CODEOWNERS file, and verify that those individuals have consented to this.
Future changes to the maintainer list would just take the form of PRs making changes to the CODEOWNERS file.
This seems like something simple enough that we can implement it very quickly, with an empty CODEOWNERS file here in the template, and a brief update to our Contributor's Guide explaining how to add names to a new cookbook.
The big advantage that I see to this approach is that it keeps things simple. We don't build any new automation that we need to then maintain. All the automation comes from GitHub itself, which will use the CODEOWNERS file to auto-tag maintainers for reviews of PRs.
The text was updated successfully, but these errors were encountered: