Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package namespaces #2514

Closed
torkve opened this issue Mar 24, 2016 · 1 comment
Closed

package namespaces #2514

torkve opened this issue Mar 24, 2016 · 1 comment

Comments

@torkve
Copy link

torkve commented Mar 24, 2016

Hello,

Probably everyone has already heard about the recent issue with NPM and 'kik' package.
That story could possibly occur with many other package repositories as well. Cargo is in this list.
Though there's no such problem in Cargo like accidental code removal and/or replacement with some other vulnerable code, but the naming conflict can possibly occur. We live in the world of copyright and trademarks, so the crates.io repository will have to deal with the problem, in one way or another.

Considering this, there's a solution to be found before some lawsuit would be brought against the Crates.io or the package has to be renamed (that's violating repository policy).

I myself would propose the two-component scheme of package naming, similar to the one used in Github, with some modifications: owner name ought to be only username or organization name (so no 'metaproject'-names like "rust-lang"). However this solution will also lead to confusion if one intentionally takes some 'trademarked' username or vice versa some organization in future trademarks already registered username and wants to take account under own control.

Any thoughts?

@alexcrichton
Copy link
Member

Thanks for the report! This was discussed long ago, however, and we've decided to not have namespaces, so I'm going to close. Feel free to continue discussion over there, however!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants