News for hackers. Stuff that matters.
Re:Cargo: predictable dependency management by waffle_ss on Thursday May 05, 2016 @03:38PM (#11639099)
> You can yank a version, which tells Cargo not to allow any projects to form new dependencies on that version, but the version isn't actually deleted

That's how RubyGems used to work, except you could contact the support team and ask them to permanently delete your gem version if something really sensitive and irrevocable was put into it. They had to change that due to their support log getting too big: http://blog.rubygems.org/2015/04/13/permadelete-on-yank.html

Re:Cargo: predictable dependency management by eridius on Thursday May 05, 2016 @04:37PM (#11639489)
Cargo's policy is that if you upload secrets, you need to change the secrets because the code can't be deleted. From the aforelinked page:

> A yank does not delete any code. This feature is not intended for deleting accidentally uploaded secrets, for example. If that happens, you must reset those secrets immediately.

Re:Cargo: predictable dependency management by waffle_ss on Thursday May 05, 2016 @06:17PM (#11640089)
Even if they're given a court order to take a version down? It may be their policy, but I guarantee it will happen at some point.
Re:Cargo: predictable dependency management by steveklabnik on Thursday May 05, 2016 @06:21PM (#11640110)
We will comply with the law where required.
Re:Cargo: predictable dependency management by dkersten on Thursday May 05, 2016 @07:49PM (#11640612)
Court orders will be a lot less frequent than normal user requests so the overhead to the team won't be as high.
Re:Cargo: predictable dependency management by waffle_ss on Thursday May 05, 2016 @08:26PM (#11640791)
Of course, and I totally agree with their approach. I'm just saying the narrative eridius is pushing that somehow they can make assurances about things never being deleted totally false. For example, I'm sure if someone somehow put child pornography in a Rust crate it would rightly be taken down pretty fast (and not require a court order).

Also I just wanted to give a little history because eridius's original comment made it sound like it was a novel concept.

Re:Cargo: predictable dependency management by cfallin on Thursday May 05, 2016 @07:59PM (#11640665)
This seems a bit... inflexible. I definitely understand the arguments for not breaking builds and for reducing administrative overhead and such, but not every bit of secret data can be revoked like a key/credential can. What if you accidentally include user data, or proprietary business-logic code, or...? (Yes, with proper data hygiene and processes you'd never even come close to doing any of that, but it seems there should still be an escape hatch.)
Re:Cargo: predictable dependency management by kibwen on Thursday May 05, 2016 @03:43PM (#11639141)
And of course, a centralized site can still be compelled to remove a package via legal action if push comes to shove.