nao1215 / gup

gup - Update binaries installed by "go install" with goroutines.
Apache License 2.0
330 stars 19 forks source link

Feature: add option to not rebuild with newer toolchain #173

Open yukita443 opened 4 days ago

yukita443 commented 4 days ago

Is your feature request related to a problem?

An option to prevent unintended rebuilds caused by toolchain updates would be useful, especially if the user has a large number of packages installed.

Describe the solution you'd like

Adding an option like gup update --ignore-go-update

Describe alternatives you've considered

Installing a binary per go toolchains installed by asdf.

Additional context

#154

nao1215 commented 4 days ago

@yukita443 Thank you for the suggestion of a new feature !! I couldn't fully understand the use case, so I have a few questions.

Here is the use case I imagined:

Is this the situation you are referring to? I personally think it's fine to always use the latest Go version, so I’m not quite sure I understand your ideal situation.

Also, does the --ignore-go-update option skip the update only when the Go toolchain is updated? For example, if the toolchain becomes outdated, will gup still skip the update? Which of these behaviors is the feature you are requesting?