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

syncing labels for projects is cumbersome and error prone #3694

Open
jtnord opened this issue Jul 31, 2023 · 4 comments
Open

syncing labels for projects is cumbersome and error prone #3694

jtnord opened this issue Jul 31, 2023 · 4 comments
Labels
enhancement New feature or request github

Comments

@jtnord
Copy link

jtnord commented Jul 31, 2023

Service(s)

GitHub

Summary

Today it is cumbersome to sync a repositories labels to the the expected use cases configured in the organisation release drafter.

Not only do you have to create the labels, but ensuring the colour is consistent across all repositories is a PITA.

as per https://groups.google.com/g/jenkinsci-dev/c/A54eSh0ueSA/m/mHSASibjCQAJ filing this (its not an issue but an RFE).

Reproduction steps

  1. have a repo in the jenkins org
  2. setup all the labels for release drafter in the consistent colours
  3. notice how repetitive this is across many repositories when CD enabling / incrementality them is
@jtnord jtnord added the triage Incoming issues that need review label Jul 31, 2023
@dduportal dduportal added enhancement New feature or request and removed triage Incoming issues that need review labels Aug 3, 2023
@lemeurherve
Copy link
Member

lemeurherve commented Sep 23, 2023

Related, script to create default labels: jenkins-infra/jenkins.io#6699

@MarkEWaite MarkEWaite changed the title syncing labels for projects is combersome and error prone syncing labels for projects is cumbersome and error prone Sep 23, 2023
@timja
Copy link
Member

timja commented Sep 23, 2023

I'm assuming default labels don't work on forks?
https://github.com/organizations/jenkinsci/settings/repository-defaults (requires org owner)

Another approach would be to change hosting to create a repo and push the code and then rely on our configured defaults

cc @NotMyFault

@NotMyFault
Copy link
Member

I'm assuming default labels don't work on forks?
github.com/organizations/jenkinsci/settings/repository-defaults (requires org owner)

I created the labels yesterday to be an exhaustive list, but I don't think it'll apply to forks, given

Set the labels that will be included when a new repository is created in this organization

@timja
Copy link
Member

timja commented Sep 23, 2023

I created the labels yesterday to be an exhaustive list, but I don't think it'll apply to forks, given

I just tested it and it does:
https://github.com/jenkinsci/label-test/labels

(delete the repo when you're done looking)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request github
Projects
None yet
Development

No branches or pull requests

5 participants