composer / composer/packagist

branched version can't be removed after branch removed on github

Open
#1,753 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
1.8k
Forks
488
Avg merge
2d 21h
Merged PRs (30d)
32

Description

Step to reproduce:

1. Create a branch named `file-finder` and create a PR
2. PR merged
3. branch `file-finder` removed

Now, I got in packagist, branch is exists but can't be removed there:

Image

To actually able to remove it, I need to rollback branch, and then remove it on packagist, which imo, it should be able to be removed via packagist.

I think remove branched version should be allowed like before.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported flow by creating and merging a GitHub pull request from a branch, deleting the branch, and checking the corresponding Packagist version. Trace the existing branched-version removal handling and its validation. Done means a version for a deleted branch can be removed through Packagist without first restoring the branch.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.