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

Preparing plugin adoption #3792

Merged
merged 3 commits into from Mar 1, 2024
Merged

Preparing plugin adoption #3792

merged 3 commits into from Mar 1, 2024

Conversation

rzanner
Copy link
Contributor

@rzanner rzanner commented Mar 1, 2024

Link to GitHub repository

As discussed with @NotMyFault, we consider this plugin abandoned by the current maintainers @diabol_jenkins, @mrfatstrat, @patbos and @tommysdk.
I want to adopt and integrate it into the jenkinsci github repository, so this would be https://github.com/jenkinsci/delivery-pipeline-plugin, I guess.

When modifying release permission

List the GitHub usernames of the users who should have commit permissions below:

  • @rzanner
  • @gianluca-soffredini

This is needed in order to cut releases of the plugin or component.

If you are modifying the release permission of your plugin or component, fill out the following checklist:

Release permission checklist (for submitters)

Edit tasklist title
Beta Give feedback Tasklist Release permission checklist (for submitters), more options

Delete tasklist

Delete tasklist block?
Are you sure? All relationships in this tasklist will be removed.
  1. The usernames of the users added to the "developers" section in the .yml file are the same the users use to log in to accounts.jenkins.io.
    Options
  2. All users added have logged in to Artifactory and Jira once.
    Options
  3. I have mentioned an existing team member of the plugin or component team to approve this request.
    Options

@rzanner rzanner requested a review from a team as a code owner March 1, 2024 17:42
@NotMyFault
Copy link
Member

Hey,

thanks for filing the PR. Is there a typo in the GH handle of gsoffredini? There's no GH account with such a handle.

In jenkinsci/delivery-pipeline-plugin@28bccea I've added this plugin to ci.jenkins.io, but bear in mind, modernization is needed still in order to get a green build, just FYI.

@rzanner
Copy link
Contributor Author

rzanner commented Mar 1, 2024

@NotMyFault: Thanks for having a look at the PR - I didn't notice that Gianlucas GH handle is @gianluca-soffredini.

Is it an issue that it's different from his username in the Jenkins JIRA? 🙈

@NotMyFault
Copy link
Member

@NotMyFault: Thanks for having a look at the PR - I didn't notice that Gianlucas GH handle is @gianluca-soffredini.

Is it an issue that it's different from his username in the Jenkins JIRA? 🙈

No, accounts.jenkins.io operates independently of your GH account. Hence, you log in to artifactory and Jira with its own credentials.

@rzanner

This comment was marked as outdated.

@rzanner
Copy link
Contributor Author

rzanner commented Mar 1, 2024

@NotMyFault: Thanks for having a look at the PR - I didn't notice that Gianlucas GH handle is @gianluca-soffredini.
Is it an issue that it's different from his username in the Jenkins JIRA? 🙈

No, accounts.jenkins.io operates independently of your GH account. Hence, you log in to artifactory and Jira with its own credentials.

So I need to use the GH handle @gianluca-soffredini in the YAML file?

Ah - no. Only in the PR description. Got it (hopefully)...

@NotMyFault
Copy link
Member

@NotMyFault: Thanks for having a look at the PR - I didn't notice that Gianlucas GH handle is @gianluca-soffredini.
Is it an issue that it's different from his username in the Jenkins JIRA? 🙈

No, accounts.jenkins.io operates independently of your GH account. Hence, you log in to artifactory and Jira with its own credentials.

So I need to use the GH handle @gianluca-soffredini in the YAML file?

Ah - no. Only in the PR description. Got it (hopefully)...

Yup, that's correct. The names defined in the YAML must match the account name you registered on accounts.jenkins.io, and used to log in to artifactory, jira, etc. NOT your GH handle (if that's the case, please change it) 😄

@rzanner
Copy link
Contributor Author

rzanner commented Mar 1, 2024

I just confirmed with @gianluca-soffredini - gsoffredini is his Artifactory (and JIRA) username. So the PR is correct... 😅

@NotMyFault: @gianluca-soffredini just confirmed that he was able to login to Artifactory - do we need to re-open the PR?

@NotMyFault
Copy link
Member

just confirmed that he was able to login to Artifactory - do we need to re-open the PR?

No, the job fetching Jira users runs every 2h. After the next run, I'll trigger a new build.

@NotMyFault NotMyFault merged commit f7ca98a into jenkins-infra:master Mar 1, 2024
3 checks passed
@rzanner
Copy link
Contributor Author

rzanner commented Mar 13, 2024

Good morning, @NotMyFault!

Many thanks for creating the repository for the delivery-pipeline-plugin and granting me access to it.
I just happened to realize that my colleague @gianluca-soffredini was not having any permissions on the new repository (probably because he did not accept your invite?).

I invited him to the project and gave him explicit "Admin" permissions now.

But: I guess that's not the "right" way to do it, am I right?

I noticed there's a team called "delivery-pipeline-plugin Developers" where I am the only member so far. All members of this group have "Admin" permissions on the delivery-pipeline-plugin repository.
I wanted to ask you if you could give me the "Maintainer" role for this group, so that I can add my colleague as a "Maintainer" as well.

Thank you and kind regards,
René

@timja
Copy link
Member

timja commented Mar 13, 2024

I've made you a maintainer, but you aren't able to invite people to the org so still need either these requests filed:
https://github.com/jenkins-infra/repository-permissions-updater/issues/new?assignees=&labels=github-permissions&projects=&template=5-github-permissions.yml

or if they want manual release permissions then send a PR to https://github.com/rzanner/repository-permissions-updater/blob/master/permissions/plugin-delivery-pipeline-plugin.yml and their github can be added at the same time

@rzanner
Copy link
Contributor Author

rzanner commented Mar 13, 2024

Thanks a lot, @timja - that was already enough. @gianluca-soffredini is already part of the jenkinsci organization. He was just missing in the team and I couldn't add him until now.
😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants