elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.52k stars 661 forks source link

It's possible to publish new packages with old GitHub username #2285

Open henriquecbuss opened 1 year ago

henriquecbuss commented 1 year ago

Quick Summary:

After changing my GitHub username, it was still possible for me to publish a new package with my old username.

SSCCE

  1. Have a GitHub account (let's say with username A)
  2. Change your GitHub username to B
  3. Publish a package with A/some-package as the name in elm.json
  4. See that it succeeds

Additional Details

I was writing a package, and before publishing it, I changed my username from NeoVier to henriquecbuss. I forgot to change the name of the package in elm.json, and when I ran elm publish, it published NeoVier/elm-eos.

It should probably warn me that the username is incorrect, and only let me publish it as henriquecbuss/elm-eos.

github-actions[bot] commented 1 year ago

Thanks for reporting this! To set expectations:

Finally, please be patient with the core team. They are trying their best with limited resources.