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

Edit-Command #5

Closed
kronn opened this issue Sep 3, 2021 · 5 comments
Closed

Edit-Command #5

kronn opened this issue Sep 3, 2021 · 5 comments

Comments

@kronn
Copy link

kronn commented Sep 3, 2021

This is a nice and useful extension to the github-cli.

I would like to see an edit or update-action which allows me to change the color, name, or description of a label. Just passing arguments for the fields I want to change and leaving the other unchanged seems like the simplest complete solution to me.

Sadly, I do not know go, so I just opened this issue

@heaths
Copy link
Owner

heaths commented Sep 3, 2021

It's coming. 😄. I've been doing some refactoring to make it easier. I also plan on delete, import (import a list of labels - non-destructive, but considering a switch to allow deleting labels not in the list - probably should at least list them), and something like merge to make 1 or more repos like another - something we do a lot for the Azure SDK.

@heaths heaths closed this as completed in 770d913 Sep 4, 2021
@heaths
Copy link
Owner

heaths commented Sep 4, 2021

@kronn the binary itself hasn't been updated because, combined, they are already ~24MB, git stores full snapshots, and binaries don't compress well. The CLI team is discussing a long-term solution and I'd like to see what they say first - including about my short-term and general perf idea before I push the binaries.

If you have the Go toolset installed, once you run gh extension update gh-label you can cd into its directory and run ./build.sh.

@heaths
Copy link
Owner

heaths commented Sep 4, 2021

With all the new commands I added, the total size of the builds/ directory is now 58MB. Even if I strip symbols it's still 51MB.

@kronn
Copy link
Author

kronn commented Oct 11, 2021

Wow, that is indeed a lot. When trying the command today, it downloaded the binary on demand. I am kinda curious how you solved it.

Also, the merge sounds like a great idea. For hitobito, I want something like it. Right now, I am fixing the color codes and making on-demand additions to the labels. For this, gh-label is nice tooling. I'll keep an eye on your releases.

@heaths
Copy link
Owner

heaths commented Oct 11, 2021

It tries to find the last tag, find a release for it, and download the release binary for the appropriate platform.

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

No branches or pull requests

2 participants