#7629 delete accidentally created branch "pr/9" for package "tpm2-tools"
Closed: Can't Fix 5 years ago Opened 5 years ago by yunyings.

Hi,

When trying to update pull request 9, I accidentally created a branch "pr/9" for "rpms/tpm2-tools":
$ git push origin pr/9
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (5/5), 783 bytes | 783.00 KiB/s, done.
Total 5 (delta 1), reused 0 (delta 0)
remote: Emitting a message to the fedmsg bus.
remote: * Publishing information for 1 commits
remote: Sending to redis to send commit notification emails
remote: * Publishing information for 1 commits
remote:
remote: Create a pull-request for pr/9
remote: https://src.fedoraproject.org/rpms/tpm2-tools/diff/master..pr/9
remote:
To ssh://pkgs.fedoraproject.org/rpms/tpm2-tools
* [new branch] pr/9 -> pr/9

I tried to delete it, by failed:
[test@localhost tpm2-tools]$ git push origin --delete pr/9
remote: FATAL: + refs/heads/pr/9 rpms/tpm2-tools yunyings DENIED by fallthru
remote: error: hook declined to update refs/heads/pr/9
To ssh://pkgs.fedoraproject.org/rpms/tpm2-tools
! [remote rejected] pr/9 (hook declined)
error: failed to push some refs to 'ssh://yunyings@pkgs.fedoraproject.org/rpms/tpm2-tools'
[test@localhost tpm2-tools]$ pwd
/home/test/fedora-scm/tpm2-tools

Is it by design that package maintainers are not able to delete branches by themselves?
Could you help to delete the "pr/9" branch from "rpms/tpm2-tools".

Thanks.


@yunyings Sorry, but we cannot remove branches from dist-git. As there is no way for us to track where builds got submitted from.

Metadata Update from @mohanboddu:
- Issue close_status updated to: Can't Fix
- Issue status updated to: Closed (was: Open)

5 years ago

@mohanboddu , I saw another similar ticket, which was fixed here:
https://pagure.io/releng/issue/4274

Can't such issue be fixed now? Do you know where/who I can ask for help on this? Thanks!

Login to comment on this ticket.

Metadata