packagist icon indicating copy to clipboard operation
packagist copied to clipboard

[ Suggestion ] When yanking a version, remind the user to delete the tag from git

Open hershel-theodore-layton opened this issue 7 months ago • 1 comments

Alternative titles for users who are having the same issue I am having:

  • My deleted versions come back when I push to Github
  • Yanked version keeps coming back
  • How to permanently delete a package version?

Problem statement

I have pushed a broken v0.6.0 in the past. I used the ❌ to yank the version on Packagist. The version comes back with auto-update when pushing a new commit to the repo. I should have deleted the git tag to prevent this.

Suggestion

When a version has been deleted on Packagist, remind the user via a toast or another UI primitive to also remove the tag from git.

Yank UI

Image

hershel-theodore-layton avatar Jun 09 '25 17:06 hershel-theodore-layton

I think we eventually will rather want to have those versions blocked and make it very clear when deleting that this version cannot be recreated, so I rather not work on this now to change it again later, but just so you know..

Seldaek avatar Aug 28 '25 15:08 Seldaek