You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Joseph Percivall (JIRA)" <ji...@apache.org> on 2016/08/09 15:29:20 UTC

[jira] [Comment Edited] (INFRA-12397) Accidentally created rel tag pointing to wrong commit

    [ https://issues.apache.org/jira/browse/INFRA-12397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413724#comment-15413724 ] 

Joseph Percivall edited comment on INFRA-12397 at 8/9/16 3:28 PM:
------------------------------------------------------------------

[~pono], I just tried and got denied:

Joseph-Percivall:nifi jpercivall$ git push --delete apache rel/nifi-1.0.0-BETA
remote: Rewinding refs/tags/rel/nifi-1.0.0-BETA is forbidden.
remote: 
To https://git-wip-us.apache.org/repos/asf/nifi.git
 ! [remote rejected] rel/nifi-1.0.0-BETA (pre-receive hook declined)
error: failed to push some refs to 'https://git-wip-us.apache.org/repos/asf/nifi.git'


was (Author: jpercivall):
[~pono], I just tried and got denied:

{code}
Joseph-Percivall:nifi jpercivall$ git push --delete apache rel/nifi-1.0.0-BETA
remote: Rewinding refs/tags/rel/nifi-1.0.0-BETA is forbidden.
remote: 
To https://git-wip-us.apache.org/repos/asf/nifi.git
 ! [remote rejected] rel/nifi-1.0.0-BETA (pre-receive hook declined)
error: failed to push some refs to 'https://git-wip-us.apache.org/repos/asf/nifi.git'
{code}

> Accidentally created rel tag pointing to wrong commit
> -----------------------------------------------------
>
>                 Key: INFRA-12397
>                 URL: https://issues.apache.org/jira/browse/INFRA-12397
>             Project: Infrastructure
>          Issue Type: Task
>          Components: Git
>            Reporter: Joseph Percivall
>            Assignee: Daniel Takamori
>            Priority: Critical
>
> In doing the nifi-1.0.0-BETA release I accidentally tagged the wrong commit as "rel/nifi-1.0.0-BETA"[1]. I tried to fix it my self by deleting or replacing the tag but I keep getting denied due to "Rewinding refs/tags/rel/nifi-1.0.0-BETA is forbidden." I'm assuming this is acting correctly and only infra can modify a "rel" tag.
> I pushed out the correctly tagged commit as "rel/nifi-1.0.0-BETA-official"[2]. 
> Could infra delete the "nifi-1.0.0-BETA" tag and rename "rel/nifi-1.0.0-BETA-official" to "nifi-1.0.0-BETA"?
> [1] https://github.com/apache/nifi/tree/rel/nifi-1.0.0-BETA
> [2] https://github.com/apache/nifi/tree/rel/nifi-1.0.0-BETA-official



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)