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 have a use-case where I want to retire all 1.x versions of a package. Rather than individually retiring each release, I was hoping to do them all at the same time. I think the common action is just to retire the most recent release which would not show the flag in the CLI nor the banner on hexpm if a user is a point release behind.
My initial idea was mix hex.retire PKG VER --major or mix hex.retire PKG VER --minor which would apply the retirement to all releases in that major version or minor version.
Another idea is to have --to and --from options which would accept a range of versions.
Thoughts?
The text was updated successfully, but these errors were encountered:
fwiw when using mix hex.info we'd only get several recent versions and there isn't another built-in way to get all published versions. We can get them from API easily though:
@ericmj I will close this later today unless you want to discuss it further. I see some value in the feature, but I respect the maintainers opinion on not want to add complexity to the project for little gain.
I have a use-case where I want to retire all 1.x versions of a package. Rather than individually retiring each release, I was hoping to do them all at the same time. I think the common action is just to retire the most recent release which would not show the flag in the CLI nor the banner on hexpm if a user is a point release behind.
My initial idea was
mix hex.retire PKG VER --major
ormix hex.retire PKG VER --minor
which would apply the retirement to all releases in that major version or minor version.Another idea is to have
--to
and--from
options which would accept a range of versions.Thoughts?
The text was updated successfully, but these errors were encountered: