News for hackers. Stuff that matters.
Re:The Rust community's crate host by idbentley on Thursday November 20, 2014 @03:43PM (#8638019)
Can you clarify this?

Generally, if you've published a package, it's possible someone has downloaded it. If you take it down, that's going to be strange and unexpected behaviour for those people.

Re:The Rust community's crate host by FlyingAvatar on Thursday November 20, 2014 @04:46PM (#8638377)
Someone has maliciously posted a package with illegal content.

Someone has accidentally posted a package that contains a 2TB file, and now all mirrors have to sync it.

Someone accidentally puts their personal information in a package.

Re:The Rust community's crate host by darklajid on Thursday November 20, 2014 @06:31PM (#8638881)
Illegal: There are legal ways to make that initial statement ("Cannot be deleted") false. If you're uploading a crate that offers nude pictures of random celebrities the guys at cargo.io will find a way to make this go away.

2TB file: That's .. nonsense. I assume guards are in place to prevent the oldest form of DOS attacks. If not, the guys at cargo.io will learn and .. make that go away?

Personal information: That looks like the only case where I sympathize with the guy uploading stuff. That said, this is how the net works? Publishing sensitive stuff to Github means that it might be out there forever (force pushing a new history doesn't mean that no one cloned the stuff before or just grabbed a zip of the current head).

For me its a win. I certainly can imagine some scenarios that might be painful, but .. that usually boils down to your third example, a developer error. The usual issue with 'removing packages' is that the user suffers. My gut feeling is that there are far more users that get 404s than developers that share their API keys.

Re:The Rust community's crate host by dbaupp on Thursday November 20, 2014 @06:35PM (#8638894)
There's currently a 10MB limit on uploaded packages.
Re:The Rust community's crate host by riffraff on Friday November 21, 2014 @04:54AM (#8640561)
there are a few possible cases of users suffering:

* you push a revision which introduces a bug

* you push a release which introduces involuntary API breakage

* the new release has a glaring security issue

* release X relies on a third party which has changed (think: some web service) and therefore doesn't work anymore

Sure, you can push a newer release but you don't want _anyone_ to be using the old one.

I'm not saying yanking is good, but maybe a notification system "this package should not be used, upgrade to XXX" would be useful.

Re:The Rust community's crate host by serge2k on Sunday November 23, 2014 @03:15AM (#8648151)
Vendor guidance would be great.
Re:The Rust community's crate host by ecdavis on Thursday November 20, 2014 @04:23PM (#8638236)
If you accidentally published sensitive info in that package you may want to contain the damage.
Re:The Rust community's crate host by kbenson on Thursday November 20, 2014 @10:46PM (#8639720)
Then contact the people that run cargo.io and see if they are sympathetic and what options exist in the circumstances. Setting a sane standard of "no, you can't fuck up everybody that has depended on your public package" is a good thing.
Re:The Rust community's crate host by baq on Thursday November 20, 2014 @04:23PM (#8638238)
same with git rebase on master branches and yet people do that sometimes. there'll always be use cases for deleting a package from anywhere no matter what repo we're talking about.