Skip to content
This repository has been archived by the owner. It is now read-only.

Export/Import labels #1448

Open
nombrekeff opened this issue Jan 3, 2019 · 15 comments
Open

Export/Import labels #1448

nombrekeff opened this issue Jan 3, 2019 · 15 comments

Comments

@nombrekeff
Copy link

@nombrekeff nombrekeff commented Jan 3, 2019

It would be nice to be able to import labels from another repository.

I usually always setup my labels the same way. And every time I create a new repo I have to create all the labels again, one by one.

It would be nice to be able to import labels in some way. Maybe from another repo or maybe from a file...

Let me know what you guys think about this!

@clarkbw
Copy link
Collaborator

@clarkbw clarkbw commented Feb 26, 2019

Check out https://probot.github.io/apps/settings/

Loading

@nombrekeff
Copy link
Author

@nombrekeff nombrekeff commented Feb 27, 2019

Ohh cool thanks, thats exactly what I wanted!!!
Is it a new addition? I used settings a time ago and didnt see that option

Loading

@nombrekeff nombrekeff closed this Mar 9, 2019
@TPS
Copy link
Collaborator

@TPS TPS commented Mar 10, 2019

@nombrekeff I'd say that's a great way to get it done in GitHub, but isn't built-in, which is what this repo's about, so I'd like to reopen. Objection?

Loading

@TPS TPS added the labels label Mar 10, 2019
@nombrekeff
Copy link
Author

@nombrekeff nombrekeff commented Mar 10, 2019

Yup, sure, I would also like seeing it built-in so yeah, I'll open it myself!

Loading

@nombrekeff nombrekeff reopened this Mar 10, 2019
@nombrekeff
Copy link
Author

@nombrekeff nombrekeff commented Mar 14, 2019

Hey, can I ask what this migration label is about?
Just curious!

Loading

@nombrekeff
Copy link
Author

@nombrekeff nombrekeff commented Mar 14, 2019

I also came across this issue, wich adds the option of having labels shared inside an organization...
this could be a good way of accomplishing this in my opinion... at least for orgs...

Loading

@TPS
Copy link
Collaborator

@TPS TPS commented Mar 14, 2019

@nombrekeff I see migration as problems that make migrating from/to another service/GitHub difficult. (I'll add that in the label description.)

Loading

@nombrekeff
Copy link
Author

@nombrekeff nombrekeff commented Mar 14, 2019

Ohh I see, thanks for the explanation!

Loading

@nombrekeff
Copy link
Author

@nombrekeff nombrekeff commented Dec 12, 2019

It can now be done in /organizations/{org}/settings/labels, you can specify a set of labels and they will be added to all new repos.

I would suggest closing this issue, if nobody has any objection

Loading

@nombrekeff nombrekeff closed this Dec 14, 2019
@stefstelea
Copy link

@stefstelea stefstelea commented Jan 9, 2020

but those are just the default ones, I think this feature would still be useful to have (migrate from repo to repo). I suggest we reopen this issue as I still find it useful

Loading

@nombrekeff
Copy link
Author

@nombrekeff nombrekeff commented Jan 9, 2020

Okay, no problem, I also think it would be useful in some cases!

Loading

@nombrekeff nombrekeff reopened this Jan 9, 2020
@NBprojekt
Copy link

@NBprojekt NBprojekt commented Feb 5, 2020

Even if I edit or create standard labels in my organization, I have to adapt every repository in which I want to make these changes myself.

This can be time consuming if you have a lot repositories.

Loading

@nombrekeff
Copy link
Author

@nombrekeff nombrekeff commented Feb 5, 2020

Totally agree! I find myself in that situation quite often 😒

Loading

@rtek
Copy link

@rtek rtek commented Jul 30, 2020

It can now be done in /organizations/{org}/settings/labels, you can specify a set of labels and they will be added to all new repos.

I would suggest closing this issue, if nobody has any objection

Is there any documentation for this endpoint? Its not turning up anything in the API docs.

Loading

@nombrekeff
Copy link
Author

@nombrekeff nombrekeff commented Jul 30, 2020

@rtek Hey, I might have misspoken there, It's actually the path for https://github.com, not the API. It would be https://github.com/organizations/{org}/settings/labels

It's in the org settings, under labels.

Loading

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants