Skip to content
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

Add Plugin Development Team to CODEOWNERS #317

Merged
merged 1 commit into from
May 20, 2024

Conversation

sghill-rewrite
Copy link
Contributor

Hi!

This change adds a CODEOWNERS file (docs) to ensure folks on the development team are notified about new contributions.

Newly generated plugins automatically get this configuration.

Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.jenkins.github.AddTeamToCodeowners

@sghill
Copy link

sghill commented Sep 4, 2023

This team is currently lacking write access to the repository. I can update to a better team name if preferred.

@olamy
Copy link
Member

olamy commented Sep 4, 2023

GH is displaying an error

Screenshot from 2023-09-05 09-26-45

@sghill
Copy link

sghill commented Sep 4, 2023

Thanks @olamy! Are you able to add write access to the team? I could change it to another team if you'd prefer, or if there is none I can close this out.

@olamy
Copy link
Member

olamy commented Sep 4, 2023

no access to add team.

Copy link
Member

@NotMyFault NotMyFault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the repository team, the CODEOWNERS file is now green:

Screenshot 2023-09-05 at 07 37 51

@olamy
Copy link
Member

olamy commented Sep 6, 2023

TBH, I don't see any added value with such a change.
Looking at the team members https://github.com/orgs/jenkinsci/teams/maven-plugin-developers
and last contributions. I'm pretty sure 99% of those people are NOT interested in receiving any notifications.
That will be horrible spam for them

@olamy olamy closed this Sep 6, 2023
@sghill
Copy link

sghill commented Sep 6, 2023

Thanks for your thoughts @olamy!

I'll add maven-plugin to the exclude list so the recipe doesn't open this one again.

Would be curious to hear if you object to the concept of code ownership by teams, or this particular implementation is falling short. I don't have any abilities to create teams, but I'm interested in the difficult problem of how to identify maintainers/owners and I do think the Jenkins project is striking a nice balance here.

sghill added a commit to openrewrite/rewrite-jenkins that referenced this pull request Sep 6, 2023
@olamy
Copy link
Member

olamy commented Sep 6, 2023

In the opensource world, people contribute then stop then eventually comes back.
Some may have turn off notifications on purpose and this option may reactivate it.
So frankly I consider a bad idea to force them to receive notifications which they will consider as spam.
Participating to opensource is a volunteer process you cannot force people to anything.

@sghill
Copy link

sghill commented Sep 6, 2023

All good points. I would have thought this is more a question of team composition. Ideally the development team is composed of folks who have a vested interest in actively maintaining. Certainly that interest changes over time, so it also seems reasonable to have a low-friction way to leave and join the team.

I've excluded this plugin, so this same automated PR won't be opened again in the future.

@olamy
Copy link
Member

olamy commented Sep 6, 2023

All good points. I would have thought this is more a question of team composition. Ideally the development team is composed of folks who have a vested interest in actively maintaining. Certainly that interest changes over time, so it also seems reasonable to have a low-friction way to leave and join the team.

I've excluded this plugin, so this same automated PR won't be opened again in the future.

TBH this will be potentially the case for a lot of plugins here!!

@jtnord
Copy link
Member

jtnord commented Sep 6, 2023

valid points - probably worth a discussion on the mailing list. without a CODEOWNERS users without write permissions can generate PRs but it may be that no one is notified (not even an active developer) and this causes things to languish, so there are both pros and cons to this. Perhaps something else should change, or that the change and RPU should add individuals that are added in an PRU change, not the group (and add/remove users when they are added/removed in RPU - so that an individual can remove themselves from the CODEOWNERS for a give repo should they wish)?

@jglick
Copy link
Member

jglick commented Sep 6, 2023

Please consider reopening; this is standard format for all plugin repos. (https://github.com/jenkinsci/archetypes/blob/d8a3ec6d5728ecf29da958dc8ea7a1ec2f05f09a/common-files/.github/CODEOWNERS) Clearly https://github.com/orgs/jenkinsci/teams/maven-plugin-developers is bloated and should be trimmed. File an update to https://github.com/jenkins-infra/repository-permissions-updater/blob/2e8a9a260120bec293114b62a33a7580860855a0/permissions/plugin-maven-plugin.yml#L9-L16 (for example kohsuke, stephenc, and abayer do not even work on Jenkins any more) and ask the merger to run the bot command to ensure that the team list is refreshed to match RPU. This is not currently automatic, for what I guess are historical reasons.

@olamy olamy reopened this Sep 7, 2023
@olamy
Copy link
Member

olamy commented Sep 7, 2023

AGAIN I don't minf adding this file. But I don't like we will potentially send notifications to people who don't want it as they are not participating in it anymore.
Sorry, but I don't have time to manually go to every plugins I'm participating in and modify all team members.
There is a bot creating those PRs so if we want to accept those PRs, we should have an automatic process pruning team members list as well.
BUT this should be discussed by the whole community (mailing list) and discussed/approved as it has side effects to every plugin such as this kind of PR on every plugin...

cc @MarkEWaite

@olamy olamy self-assigned this Sep 7, 2023
@@ -0,0 +1 @@
* @jenkinsci/maven-plugin-developers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this team list must be pruned before.

@MarkEWaite
Copy link
Contributor

AGAIN I don't mind adding this file. But I don't like we will potentially send notifications to people who don't want it as they are not participating in it anymore.

I think that non-participants are already filtering notifications. If they are not, they can either choose to explicitly remove themselves as participants or they can adjust their notification settings. In either case, I don't think that should delay this change.

Sorry, but I don't have time to manually go to every plugins I'm participating in and modify all team members. There is a bot creating those PRs so if we want to accept those PRs, we should have an automatic process pruning team members list as well. BUT this should be discussed by the whole community (mailing list) and discussed/approved as it has side effects to every plugin such as this kind of PR on every plugin...

I agree that if we are going to automate the pruning of team members, that should be discussed more widely before it is implemented.

I very much like the development team to be included in the CODEOWNERS file. I think it may prompt individual repository maintainers to reconsider the maintainer list for that repository. I think it increases the chances of additional reviews of pull requests.

@jglick
Copy link
Member

jglick commented May 20, 2024

Standard practice is to merge these; any org-wide policy changes can be discussed elsewhere.

@jglick jglick merged commit 08a37cb into jenkinsci:master May 20, 2024
13 checks passed
@MarkEWaite
Copy link
Contributor

I think that this should be labeled "maintenance" so that it is categorized correctly in the changelog.

@basil basil changed the title Add Plugin Development Team to CODEOWNERS Add Plugin Development Team to CODEOWNERS`` Oct 23, 2024
@basil basil changed the title Add Plugin Development Team to CODEOWNERS`` Add Plugin Development Team to CODEOWNERS Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants