Hacker News new | ask | show | jobs
by c7DJTLrn 1339 days ago
Crates should be namespaced by user. This is a disaster waiting to happen.
4 comments

Do you change the name every time there is a change in the maintainers' team?

If you have `ripgrep-team/ripgrep` rather than `ripgrep`, it doesn't help at all with people typing the wrong thing, like `rg-team/rg`. I fail to see how it helps.

It's even worse with packages that are (currently) authored by a single person, how many people know the name of ripgrep's author? Or rand? Or bevy?

Then you'd have people installing "burnedsushi/ripgrep" instead of "burntsushi/ripgrep". It only kicks the problem one step down without fixing it.
worse, if the correct one was `burntsushi/ripgrep`, someone else would just squat `ripgrep/ripgrep`.
I don't think so. ripgrep could easily become super cluttered if any john-joe-jimmy-larry could namespace it
I agree, same for PyPI and all package repositories.