Page MenuHomePhabricator

Cannot delete tags anymore
Closed, ResolvedPublic

Description

I was making MLEB release bundle yesterday with Amir, and we noticed that neither of us have the ability to remove remote tags. I know for certain that Chad enabled this a while ago and it worked for me, so the ability seems to be lost at some point.

The output given from Gerrit is:
remote: You need 'Push' rights with the 'Force Push'
remote: flag set to delete references.

NB: We only want to delete MLEB tags we haven't announced yet ;)


Version: unspecified
Severity: normal
URL: https://code.google.com/p/gerrit/issues/detail?id=1902

Details

Reference
bz45597

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:37 AM
bzimport added projects: Gerrit, Upstream.
bzimport set Reference to bz45597.
bzimport added a subscriber: Unknown Object (MLST).

Was encountered with UniversalLanguageSelector extension.

Weird, you've got all the permissions (and they haven't changed since I set that up months ago).

I had a similar problem with Push+Force on trying to delete something on Monday...I wonder if Force is broken :\

Will look at this for sure, and report upstream if it's indeed a bug.

(In reply to comment #3 by Chad)

Will look at this for sure, and report upstream if it's indeed a bug.

Chad: Did you have time?

Niklas: Is this still an issue?

Wondering if this is still "high" priority...

I've asked Amir to test this when he is doing the next MLEB release later in this month.

Still the same problem today. I tried to delete tag 2013.05-rc in UniversalLanguageSelector, and got this:

remote: Branch refs/tags/2013.05-rc:
remote: You need 'Push' rights with the 'Force Push'
remote: flag set to delete references.
remote: User: amire80
remote: Please read the documentation and contact an administrator
remote: if you feel the configuration is incorrect
remote: Processing changes: refs: 1, done
To ssh://amire80@gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector.git
! [remote rejected] 2013.05-rc (cannot delete references)
error: failed to push some refs to 'ssh://amire80@gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector.git'

Upstream bug is fixed and meanwhile included in our gerrit as well.

To make sure it works, I tried deleting tags on a repo where I have
Force Push permission, and it seems to work now.