atom / apm

Atom Package Manager
https://atom.io/packages
MIT License
1.27k stars 298 forks source link

Need better error message for when attempting to publish a new package that has the same name as one that already exists #176

Open lee-dohm opened 10 years ago

lee-dohm commented 10 years ago

See: https://discuss.atom.io/t/package-name-collisions/11568

Repro Steps

  1. Use Atom's Package Generator to generate a package with the same name as one that already exists that is not yours
  2. Use Git to create a repository and push it to GitHub
  3. Use the apm publish command to attempt to publish the new package

Expected: An error message stating that you do not have rights to publish to that package Actual: Some other error message with a correct, but unhelpful text (see attached forum thread for more details)

kevinsawicki commented 10 years ago

/cc @thedaniel