You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like the ability to have a package installed via stew not be auto-upgraded during stew upgrade --all. In my case, the package in question (topgrade) has a self-upgrading feature built into it, which I'd rather use over stew. It seems like the upgrade candidates are determined by the lockfile, so I'm guessing this would just be a matter of changing thiselse to an else if <don't upgrade flag not specified>? I'd be happy to PR this, I've just never written Go in my life.
The text was updated successfully, but these errors were encountered:
You're right that we read the packages from the lockfile, this occurs here.
A few things to consider:
We'll need to read from the config file during the upgrade.
Config file is not guaranteed to exist.
Even if the config file exists, this property won't be guaranteed to exist.
We'd need to support configuring this option through the stew config command. Probably the most user-friendly UI would be a multi-select of packages you already have installed.
I don't have bandwidth to work on this right now, but if you wanna work on a PR, I can review and provide feedback!
I'd like the ability to have a package installed via
stew
not be auto-upgraded duringstew upgrade --all
. In my case, the package in question (topgrade) has a self-upgrading feature built into it, which I'd rather use overstew
. It seems like the upgrade candidates are determined by the lockfile, so I'm guessing this would just be a matter of changing thiselse
to anelse if <don't upgrade flag not specified>
? I'd be happy to PR this, I've just never written Go in my life.The text was updated successfully, but these errors were encountered: