atom / atom.io

🌐 A place for feedback on the atom.io website and package API
161 stars 98 forks source link

Unable to publish after recreating package repo #105

Closed jasongilman closed 7 years ago

jasongilman commented 7 years ago

I maintain several Atom packages and when trying to resolve a git problem I deleted and recreated the github repo https://github.com/jasongilman/proto-repl-sayid. I can no longer publish to the repo:

apm publish --tag v0.1.4
Publishing proto-repl-sayid@v0.1.4 ✗
Creating new version failed: Git tag not found

I thought if I unpublished and recreated it then that may resolve the issue but I can't unpublish it.

apm unpublish
Are you sure you want to unpublish ALL VERSIONS of 'proto-repl-sayid'? This will remove it from the apm registry, including download counts and stars, and this action is irreversible. (no)yes
Unpublishing proto-repl-sayid ✗
Unpublishing failed: Unauthorized

After googling I saw too late that deleting a repo connected to a package has bad consequences http://flight-manual.atom.io/behind-atom/sections/maintaining-your-packages/#unpublish-your-package

If you delete the repository first, you will lose access to the package and will not be able to recover it without assistance.

I would like to keep the package name and continue to develop it. What's the best way to resolve this?

jasongilman commented 7 years ago

This was fixed by @lee-dohm over slack.