4 ms·
Why is it allowed at all to delete packages? The article states that’s it’s not an issue in Maven since you can’t unpublish anything, only deploy a newer versio
by radicality 3y ago
Why is it allowed at all to delete packages? The article states that’s it’s not an issue in Maven since you can’t unpublish anything, only deploy a newer version.
- codetrotter 3y agoI like the approach that Rust takes with Cargo and crates.io You can mark a package you’ve published as “yanked”, which will make it so that if someone tries to depend on that version in the future they “can’t” (cargo will tell you it’s yanked). But if it’s in your Cargo.lock file since before, cargo will still fetch it and use it. This way you can mark a broken version of your published package as bad so that fewer people will use that version. While not preventing anyone who was already using it from continuing to use it.
- c0wb0yc0d3r 3y agoGenerally, this is how it works with NuGet, too. https://learn.microsoft.com/en-us/nuget/nuget-org/policies/deleting-packages https://learn.microsoft.com/en-us/nuget/nuget-org/policies/d...
- ivanjermakov 3y agoMaybe NPM was also designed in 10 days like JavaScript.