Re: [cross-project-issues-dev] how to delete a git tag at eclipse.org?

2015-11-25 Thread Matthias Sohn
On Tue, Nov 24, 2015 at 2:16 PM, Paul Webster 
wrote:

> On Mon, Nov 23, 2015 at 1:24 PM, Bob Brodt  wrote:
>
>> Hi all,
>>
>> I need to "move" a tag to include the most commit, so I first tried this:
>>
>
> Something you want to be careful about.  When you force push a branch, on
> the next pull everybody finds out about it via the discrepancy between
> branch and origin/branch.  But I think if you force change a tag, everybody
> that has already pulled that tag will keep the old version.  Git won't
> auto-update an existing tag in a local repo.  Now it might not be a problem
> if you don't have a lot of contributors pulling your repo frequently, but
> you should make them aware on your *-dev list.  If they delete the tag and
> pull again, they'll get the correct tag.
>

they should also get the updated tags if they run
git fetch -f origin

-Matthias
___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Re: [cross-project-issues-dev] how to delete a git tag at eclipse.org?

2015-11-24 Thread Paul Webster
On Mon, Nov 23, 2015 at 1:24 PM, Bob Brodt  wrote:

> Hi all,
>
> I need to "move" a tag to include the most commit, so I first tried this:
>

Something you want to be careful about.  When you force push a branch, on
the next pull everybody finds out about it via the discrepancy between
branch and origin/branch.  But I think if you force change a tag, everybody
that has already pulled that tag will keep the old version.  Git won't
auto-update an existing tag in a local repo.  Now it might not be a problem
if you don't have a lot of contributors pulling your repo frequently, but
you should make them aware on your *-dev list.  If they delete the tag and
pull again, they'll get the correct tag.

Later,
Paul


-- 
Paul Webster
Hi floor.  Make me a sammich! - GIR
___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Re: [cross-project-issues-dev] how to delete a git tag at eclipse.org?

2015-11-23 Thread Bob Brodt
Thanks Denis, but that didn't work. Are you sure you have the right User
ID? I'm trying this as "rbrodt".


On Mon, Nov 23, 2015 at 12:07 PM, Denis Roy  wrote:

> Hi Bob,
>
> We only allow Fast-Forward pushes, and we disallow Forced pushes by
> default to protect our repos from accidental erasure and damage.
>
> I've granted you Force Push, so your second method should now succeed.
> Please let me know (off-list) when you're done.
>
> Denis
>
>
> On 11/23/2015 01:24 PM, Bob Brodt wrote:
> > Hi all,
> >
> > I need to "move" a tag to include the most commit, so I first tried this:
> >
> > $ git tag -fa 1.2.1.Final
> > Updated tag '1.2.1.Final' (was 76d5b92)
> >
> > which, I guess seemed to work in my local repo. Then I tried:
> >
> > $ git push --tags
> > Counting objects: 1, done.
> > Writing objects: 100% (1/1), 171 bytes, done.
> > Total 1 (delta 0), reused 0 (delta 0)
> > remote: Processing changes: done
> > To
> > ssh://
> rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> > <
> http://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> >
> >  ! [remote rejected] 1.2.1.Final -> 1.2.1.Final (non-fast forward)
> > error: failed to push some refs to
> > 'ssh://
> rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> > <
> http://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> >'
> >
> > OK, that didn't work so I tried to delete the tag and push the changes:
> >
> > $ git push --delete origin 1.2.1.Final
> > remote: Branch refs/tags/1.2.1.Final:
> > remote: You need 'Push' rights with the 'Force Push'
> > remote: flag set to delete references.
> > remote: User: rbrodt
> > 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://
> rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> > <
> http://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> >
> >  ! [remote rejected] 1.2.1.Final (cannot delete references)
> > error: failed to push some refs to
> > 'ssh://
> rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> > <
> http://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> >'
> >
> > Anybody have any idea what's going on? I'm the project lead on this
> > thing, so why do I need separate "Push rights" for deleting tags??
> >
> > --
> > 
> > Robert ("Bob") Brodt
> > Senior Software Engineer
> > JBoss by Red Hat
> >
> >
> >
> >
> > ___
> > cross-project-issues-dev mailing list
> > cross-project-issues-dev@eclipse.org
> > To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
> >
> ___
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>



-- 

Robert ("Bob") Brodt
Senior Software Engineer
JBoss by Red Hat
___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

[cross-project-issues-dev] how to delete a git tag at eclipse.org?

2015-11-23 Thread Bob Brodt
Hi all,

I need to "move" a tag to include the most commit, so I first tried this:

$ git tag -fa 1.2.1.Final
Updated tag '1.2.1.Final' (was 76d5b92)

which, I guess seemed to work in my local repo. Then I tried:

$ git push --tags
Counting objects: 1, done.
Writing objects: 100% (1/1), 171 bytes, done.
Total 1 (delta 0), reused 0 (delta 0)
remote: Processing changes: done
To ssh://
rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
 ! [remote rejected] 1.2.1.Final -> 1.2.1.Final (non-fast forward)
error: failed to push some refs to 'ssh://
rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git'

OK, that didn't work so I tried to delete the tag and push the changes:

$ git push --delete origin 1.2.1.Final
remote: Branch refs/tags/1.2.1.Final:
remote: You need 'Push' rights with the 'Force Push'
remote: flag set to delete references.
remote: User: rbrodt
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://
rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
 ! [remote rejected] 1.2.1.Final (cannot delete references)
error: failed to push some refs to 'ssh://
rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git'

Anybody have any idea what's going on? I'm the project lead on this thing,
so why do I need separate "Push rights" for deleting tags??

-- 

Robert ("Bob") Brodt
Senior Software Engineer
JBoss by Red Hat
___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Re: [cross-project-issues-dev] how to delete a git tag at eclipse.org?

2015-11-23 Thread Denis Roy
Hi Bob,

We only allow Fast-Forward pushes, and we disallow Forced pushes by
default to protect our repos from accidental erasure and damage.

I've granted you Force Push, so your second method should now succeed.
Please let me know (off-list) when you're done.

Denis


On 11/23/2015 01:24 PM, Bob Brodt wrote:
> Hi all,
> 
> I need to "move" a tag to include the most commit, so I first tried this:
> 
> $ git tag -fa 1.2.1.Final
> Updated tag '1.2.1.Final' (was 76d5b92)
> 
> which, I guess seemed to work in my local repo. Then I tried:
> 
> $ git push --tags
> Counting objects: 1, done.
> Writing objects: 100% (1/1), 171 bytes, done.
> Total 1 (delta 0), reused 0 (delta 0)
> remote: Processing changes: done
> To
> ssh://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> 
>  ! [remote rejected] 1.2.1.Final -> 1.2.1.Final (non-fast forward)
> error: failed to push some refs to
> 'ssh://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> '
> 
> OK, that didn't work so I tried to delete the tag and push the changes:
> 
> $ git push --delete origin 1.2.1.Final
> remote: Branch refs/tags/1.2.1.Final:
> remote: You need 'Push' rights with the 'Force Push'
> remote: flag set to delete references.
> remote: User: rbrodt
> 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://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> 
>  ! [remote rejected] 1.2.1.Final (cannot delete references)
> error: failed to push some refs to
> 'ssh://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> '
> 
> Anybody have any idea what's going on? I'm the project lead on this
> thing, so why do I need separate "Push rights" for deleting tags??
> 
> -- 
> 
> Robert ("Bob") Brodt
> Senior Software Engineer
> JBoss by Red Hat
> 
> 
> 
> 
> ___
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
> 
___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


Re: [cross-project-issues-dev] how to delete a git tag at eclipse.org?

2015-11-23 Thread Matthias Sohn
Denis:
you have granted the forced push permission on refs/heads/* this should
work to allow
forced push to a branch but Bob wants to delete a tag so he needs forced
push permission on refs/tags/*

-Matthias

On Mon, Nov 23, 2015 at 8:11 PM, Bob Brodt  wrote:

> Thanks Denis, but that didn't work. Are you sure you have the right User
> ID? I'm trying this as "rbrodt".
>
>
> On Mon, Nov 23, 2015 at 12:07 PM, Denis Roy  wrote:
>
>> Hi Bob,
>>
>> We only allow Fast-Forward pushes, and we disallow Forced pushes by
>> default to protect our repos from accidental erasure and damage.
>>
>> I've granted you Force Push, so your second method should now succeed.
>> Please let me know (off-list) when you're done.
>>
>> Denis
>>
>>
>> On 11/23/2015 01:24 PM, Bob Brodt wrote:
>> > Hi all,
>> >
>> > I need to "move" a tag to include the most commit, so I first tried
>> this:
>> >
>> > $ git tag -fa 1.2.1.Final
>> > Updated tag '1.2.1.Final' (was 76d5b92)
>> >
>> > which, I guess seemed to work in my local repo. Then I tried:
>> >
>> > $ git push --tags
>> > Counting objects: 1, done.
>> > Writing objects: 100% (1/1), 171 bytes, done.
>> > Total 1 (delta 0), reused 0 (delta 0)
>> > remote: Processing changes: done
>> > To
>> > ssh://
>> rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
>> > <
>> http://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
>> >
>> >  ! [remote rejected] 1.2.1.Final -> 1.2.1.Final (non-fast forward)
>> > error: failed to push some refs to
>> > 'ssh://
>> rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
>> > <
>> http://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
>> >'
>> >
>> > OK, that didn't work so I tried to delete the tag and push the changes:
>> >
>> > $ git push --delete origin 1.2.1.Final
>> > remote: Branch refs/tags/1.2.1.Final:
>> > remote: You need 'Push' rights with the 'Force Push'
>> > remote: flag set to delete references.
>> > remote: User: rbrodt
>> > 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://
>> rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
>> > <
>> http://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
>> >
>> >  ! [remote rejected] 1.2.1.Final (cannot delete references)
>> > error: failed to push some refs to
>> > 'ssh://
>> rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
>> > <
>> http://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
>> >'
>> >
>> > Anybody have any idea what's going on? I'm the project lead on this
>> > thing, so why do I need separate "Push rights" for deleting tags??
>> >
>> > --
>> > 
>> > Robert ("Bob") Brodt
>> > Senior Software Engineer
>> > JBoss by Red Hat
>> >
>> >
>> >
>> >
>> > ___
>> > cross-project-issues-dev mailing list
>> > cross-project-issues-dev@eclipse.org
>> > To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> > https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>> >
>> ___
>> cross-project-issues-dev mailing list
>> cross-project-issues-dev@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>>
>
>
>
> --
> 
> Robert ("Bob") Brodt
> Senior Software Engineer
> JBoss by Red Hat
>
>
>
> ___
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>
___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Re: [cross-project-issues-dev] how to delete a git tag at eclipse.org?

2015-11-23 Thread Denis Roy
My oversight... Try now.



On 11/23/2015 04:26 PM, Matthias Sohn wrote:
> Denis:
> you have granted the forced push permission on refs/heads/* this should
> work to allow
> forced push to a branch but Bob wants to delete a tag so he needs forced
> push permission on refs/tags/*
> 
> -Matthias
> 
> On Mon, Nov 23, 2015 at 8:11 PM, Bob Brodt  > wrote:
> 
> Thanks Denis, but that didn't work. Are you sure you have the right
> User ID? I'm trying this as "rbrodt".
> 
> 
> On Mon, Nov 23, 2015 at 12:07 PM, Denis Roy  > wrote:
> 
> Hi Bob,
> 
> We only allow Fast-Forward pushes, and we disallow Forced pushes by
> default to protect our repos from accidental erasure and damage.
> 
> I've granted you Force Push, so your second method should now
> succeed.
> Please let me know (off-list) when you're done.
> 
> Denis
> 
> 
> On 11/23/2015 01:24 PM, Bob Brodt wrote:
> > Hi all,
> >
> > I need to "move" a tag to include the most commit, so I first tried 
> this:
> >
> > $ git tag -fa 1.2.1.Final
> > Updated tag '1.2.1.Final' (was 76d5b92)
> >
> > which, I guess seemed to work in my local repo. Then I tried:
> >
> > $ git push --tags
> > Counting objects: 1, done.
> > Writing objects: 100% (1/1), 171 bytes, done.
> > Total 1 (delta 0), reused 0 (delta 0)
> > remote: Processing changes: done
> > To
> > 
> ssh://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> 
> 
> >
> 
> 
> >  ! [remote rejected] 1.2.1.Final -> 1.2.1.Final (non-fast forward)
> > error: failed to push some refs to
> > 
> 'ssh://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> 
> 
> >
> 
> '
> >
> > OK, that didn't work so I tried to delete the tag and push the 
> changes:
> >
> > $ git push --delete origin 1.2.1.Final
> > remote: Branch refs/tags/1.2.1.Final:
> > remote: You need 'Push' rights with the 'Force Push'
> > remote: flag set to delete references.
> > remote: User: rbrodt
> > 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://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> 
> 
> >
> 
> 
> >  ! [remote rejected] 1.2.1.Final (cannot delete references)
> > error: failed to push some refs to
> > 
> 'ssh://rbr...@git.eclipse.org:29418/bpmn2-modeler/org.eclipse.bpmn2-modeler.git
> 
> 
> >
> 
> '
> >
> > Anybody have any idea what's going on? I'm the project lead on this
> > thing, so why do I need separate "Push rights" for deleting tags??
> >
> > --
> > 
> > Robert ("Bob") Brodt
> > Senior Software Engineer
> > JBoss by Red Hat
> >
> >
> >
> >
> > ___
> > cross-project-issues-dev mailing list
> > cross-project-issues-dev@eclipse.org
> 
> > To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
> >
> ___
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> 
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
> 
> 
> 
> 
> -- 
> 
> Robert ("Bob") Brodt
> Senior Software Engineer
> JBoss by Red Hat
> 
> 
> 
>