gerrit: vdsm: grant tag permission to stable branch maintainer

Hi, Please grant "Push Annotated Tag" permission to vdsm-stable-maintainers on the stable branches refs/heads/ovirt-* BTW, permissions on refs/heads/ovirt-3.3 refs/heads/ovirt-3.4 and refs/heads/ovirt-3.5 are exactly the same, can we merge them to a single refs/heads/ovirt-* entry? Dan.

--lIrNkN/7tmsD/ALM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 07/23, Dan Kenigsberg wrote:
Hi, =20 Please grant "Push Annotated Tag" permission to vdsm-stable-maintainers on the stable branches refs/heads/ovirt-*
You should already have it, as it's granted at refs/* level and not restricted on the branches. Are you sure you can't push them?
=20 BTW, permissions on refs/heads/ovirt-3.3 refs/heads/ovirt-3.4 and refs/heads/ovirt-3.5 are exactly the same, can we merge them to a single refs/heads/ovirt-* entry?
I know, and I checked but I did not find a way to specify globs or regexpes in the refspec field when in between the name itself (like refs/name-*, refs/* works well though). If you know how to do it tell me please, that will help on other repos as well.
=20 Dan. _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
--=20 David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Tel.: +420 532 294 605 Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605 --lIrNkN/7tmsD/ALM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTz74TAAoJEEBxx+HSYmnDREAH/RD99nX//kXP2MErcci1/gfM vFyG7DIH+HcKi3QD9jZHHZsG6pQCigPPF/uDErqY9/cWkpiPh6YBAROrRx5boUTV EmbcEnJGfPthcjoPGdaUW+WKzxPtcF+Juuq53hSkmoQKFxjS2+INVe0UzlxGlxy2 ySrwsIiIRNVgKPukThVnh8WwQP8NibQX8Wo+2aK15Dke/N5fMbM0BUWS9z1ZK5z0 bmNoLPyUAfB3lZKG/yvKypuWaFaTPFw0MSP1KaP7YrJQsdtTivHjnLfJRAz5dtIG CBBwhFKVpBTcMFamWDZvSrSC4sv0eFuU195QMCmbZDUtAuqXPcRYFT2SLvkGbEo= =GSt/ -----END PGP SIGNATURE----- --lIrNkN/7tmsD/ALM--

On Wed, Jul 23, 2014 at 03:52:19PM +0200, David Caro wrote:
On 07/23, Dan Kenigsberg wrote:
Hi,
Please grant "Push Annotated Tag" permission to vdsm-stable-maintainers on the stable branches refs/heads/ovirt-*
You should already have it, as it's granted at refs/* level and not restricted on the branches. Are you sure you can't push them?
I am asking on behalf of vdsm-stable-maintainers, not me personally.
BTW, permissions on refs/heads/ovirt-3.3 refs/heads/ovirt-3.4 and refs/heads/ovirt-3.5 are exactly the same, can we merge them to a single refs/heads/ovirt-* entry?
I know, and I checked but I did not find a way to specify globs or regexpes in the refspec field when in between the name itself (like refs/name-*, refs/* works well though). If you know how to do it tell me please, that will help on other repos as well.
Oh. May deserve an RFE to gerrit upstream.

--nOM8ykUjac0mNN89 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 07/23, Dan Kenigsberg wrote:
On Wed, Jul 23, 2014 at 03:52:19PM +0200, David Caro wrote:
On 07/23, Dan Kenigsberg wrote:
Hi, =20 Please grant "Push Annotated Tag" permission to vdsm-stable-maintaine= rs on the stable branches refs/heads/ovirt-* =20 You should already have it, as it's granted at refs/* level and not restricted on the branches. Are you sure you can't push them? =20 I am asking on behalf of vdsm-stable-maintainers, not me personally.
Any maintainers around?
=20
=20
=20 BTW, permissions on refs/heads/ovirt-3.3 refs/heads/ovirt-3.4 and refs/heads/ovirt-3.5 are exactly the same, can we merge them to a sin= gle refs/heads/ovirt-* entry? =20 I know, and I checked but I did not find a way to specify globs or regexpes in the refspec field when in between the name itself (like refs/name-*, refs/* works well though). If you know how to do it tell me please, that will help on other repos as well. =20 Oh. May deserve an RFE to gerrit upstream.
I've found an undocumented way to use regexpes in a slide of a presentation by one of the maintainers... I'm testing it.
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
--=20 David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Tel.: +420 532 294 605 Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605 --nOM8ykUjac0mNN89 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTz9WEAAoJEEBxx+HSYmnDJzkH/1ni4km9TRmk+V/B6xaOyJNk FqWoUImfJmZXZE4F/jS/91iYfbNsApXMNA8Rc/AjotdURIHRiYdEtXALDtvYtzQV OyD0ppVmbUg8Gm69mdoRkZepLO/ESY9+Ve2Q3SJ/w1z3bkY8Yyxx9/c7b+LroYyS CohB35Eb2DhJ2mQtTRrUwRVYVw5pklur1M9a9Xk4sDZeO9exeJKZgWb7AtSIsSr5 4rmntljUgrEAXOQ1GLVcp4GWypxXeL7NpOGRiC2je0VAhnQjlsAnZ3Lnnvzu+L63 plotEb3I1Dy8nvuho00NLY4YvbA3h2UV1Nuaa8U4MnUvsFGYQSpRVwYJCmm1ws0= =VAnT -----END PGP SIGNATURE----- --nOM8ykUjac0mNN89--

--xGGVyNQdqA79rdfn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Can any of you (vdsm maintainers) test if he has rights to push annotated tags? On 07/23, Dan Kenigsberg wrote:
On Wed, Jul 23, 2014 at 03:52:19PM +0200, David Caro wrote:
On 07/23, Dan Kenigsberg wrote:
Hi, =20 Please grant "Push Annotated Tag" permission to vdsm-stable-maintaine= rs on the stable branches refs/heads/ovirt-* =20 You should already have it, as it's granted at refs/* level and not restricted on the branches. Are you sure you can't push them? =20 I am asking on behalf of vdsm-stable-maintainers, not me personally. =20 =20 =20 BTW, permissions on refs/heads/ovirt-3.3 refs/heads/ovirt-3.4 and refs/heads/ovirt-3.5 are exactly the same, can we merge them to a sin= gle refs/heads/ovirt-* entry? =20 I know, and I checked but I did not find a way to specify globs or regexpes in the refspec field when in between the name itself (like refs/name-*, refs/* works well though). If you know how to do it tell me please, that will help on other repos as well. =20 Oh. May deserve an RFE to gerrit upstream.
Worked! So I collapsed them all into one section with a regexp match.
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
--=20 David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Tel.: +420 532 294 605 Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605 --xGGVyNQdqA79rdfn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTz9c7AAoJEEBxx+HSYmnDIu8H/1Xx2tTWKwLPPs7adnRQ4nDl BAwBtle1rJ21qz7JvM64kgx0WDkenURpLpuUtWO2N8HZzUqoB0kCqiB4QVAUwh/F ivGkaBDfSJOUPWs7KBPiDzmpvQsPRzuKMtIxHgYx7KSRLl97Omnjg51ZKJm2Q1x6 k+4s0YcOSRE8IOkVgQ2RRk+gi+FBKScbOKsxjeY2yxVrQevwhGxrrvalN6GaETcz 6dU3cvvOOswE0JxKdyekM+xFtDZG10m1p6kUELq/UlUdrDsyWgMKzwJX1gqgk5yn FUKjgILPhAIAYBOTnf0V0jJfa1Lv8FhWq23P8GWAt0e3GwmttRxj2uCBaIPOAi8= =Q51I -----END PGP SIGNATURE----- --xGGVyNQdqA79rdfn--

On 07/23/2014 06:39 PM, David Caro wrote:
Can any of you (vdsm maintainers) test if he has rights to push annotated tags?
Hey dcaro, sorry for the late response.. didn't have nothing to tag. but i still can't.. getting the following: ybronhei@ybronhei:~/Projects/vdsm ((ad88538...))$ git tag -a v4.14.12 ad88538dc77502bc0a5135216f5e3210435cce5b ybronhei@ybronhei:~/Projects/vdsm ((v4.14.12))$ git push origin v4.14.12 Counting objects: 1, done. Writing objects: 100% (1/1), 176 bytes | 0 bytes/s, done. Total 1 (delta 0), reused 0 (delta 0) remote: Processing changes: refs: 1, done To gerrit.ovirt.org:vdsm ! [remote rejected] v4.14.12 -> v4.14.12 (prohibited by Gerrit) error: failed to push some refs to 'gerrit.ovirt.org:vdsm' Thanks, Yaniv Bronhaim.
On 07/23, Dan Kenigsberg wrote:
On Wed, Jul 23, 2014 at 03:52:19PM +0200, David Caro wrote:
On 07/23, Dan Kenigsberg wrote:
Hi,
Please grant "Push Annotated Tag" permission to vdsm-stable-maintainers on the stable branches refs/heads/ovirt-*
You should already have it, as it's granted at refs/* level and not restricted on the branches. Are you sure you can't push them?
I am asking on behalf of vdsm-stable-maintainers, not me personally.
BTW, permissions on refs/heads/ovirt-3.3 refs/heads/ovirt-3.4 and refs/heads/ovirt-3.5 are exactly the same, can we merge them to a single refs/heads/ovirt-* entry?
I know, and I checked but I did not find a way to specify globs or regexpes in the refspec field when in between the name itself (like refs/name-*, refs/* works well though). If you know how to do it tell me please, that will help on other repos as well.
Oh. May deserve an RFE to gerrit upstream.
Worked! So I collapsed them all into one section with a regexp match.
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Yaniv Bronhaim.

--jho1yZJdad60DJr+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 07/31, ybronhei wrote:
On 07/23/2014 06:39 PM, David Caro wrote:
Can any of you (vdsm maintainers) test if he has rights to push annotated tags?
Hey dcaro, sorry for the late response.. didn't have nothing to tag. =20 but i still can't.. getting the following: =20 ybronhei@ybronhei:~/Projects/vdsm ((ad88538...))$ git tag -a v4.14.12 ad88538dc77502bc0a5135216f5e3210435cce5b ybronhei@ybronhei:~/Projects/vdsm ((v4.14.12))$ git push origin v4.14.12 Counting objects: 1, done. Writing objects: 100% (1/1), 176 bytes | 0 bytes/s, done. Total 1 (delta 0), reused 0 (delta 0) remote: Processing changes: refs: 1, done To gerrit.ovirt.org:vdsm ! [remote rejected] v4.14.12 -> v4.14.12 (prohibited by Gerrit) error: failed to push some refs to 'gerrit.ovirt.org:vdsm'
Was it an annotated tag? $ git tag -am 'My message' v4.14.12 $ git push origin v4.14.12 HEAD:refs/heads/master
=20 Thanks, =20 Yaniv Bronhaim. =20
On 07/23, Dan Kenigsberg wrote:
On Wed, Jul 23, 2014 at 03:52:19PM +0200, David Caro wrote:
On 07/23, Dan Kenigsberg wrote:
Hi,
Please grant "Push Annotated Tag" permission to vdsm-stable-maintaine=
rs
on the stable branches refs/heads/ovirt-*
You should already have it, as it's granted at refs/* level and not restricted on the branches. Are you sure you can't push them?
I am asking on behalf of vdsm-stable-maintainers, not me personally.
BTW, permissions on refs/heads/ovirt-3.3 refs/heads/ovirt-3.4 and refs/heads/ovirt-3.5 are exactly the same, can we merge them to a sin=
gle
refs/heads/ovirt-* entry?
I know, and I checked but I did not find a way to specify globs or regexpes in the refspec field when in between the name itself (like refs/name-*, refs/* works well though). If you know how to do it tell me please, that will help on other repos as well.
Oh. May deserve an RFE to gerrit upstream.
Worked! So I collapsed them all into one section with a regexp match.
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
=20 =20 --=20 Yaniv Bronhaim. _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
--=20 David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Tel.: +420 532 294 605 Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605 --jho1yZJdad60DJr+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT2k3nAAoJEEBxx+HSYmnDlJYH/1xvf0tYg1A4Yj9GToSevR39 N+cb7dUxCwRoHnoaBQEtXjO1krQCepnZ0VaggmjhEV6+cHwyF6uTSegYO2Yb3O6B NSwN6ergL5zKa3nxZ7S0p+A0BJEK6ygs8x6KZz1Z0diBzR9qTFvd8WRF1fhkPYCP 7uuOea/pdlt1SaNKvizIDLWPV/qUMZXgnq0kZMo9sA0kF/VvH9cSBa8J0l2Xugjb 5QGHVFFEdZgxhbNOQfgK8a00CTGsd4fo67RLDLNJeeSmmaC9rZzlrloSJgWVnwBk J/Su8wlqKIqY/fq9EPD9lDl7eXv9yK2aiXSFMUlnrtHjbJUisGLVSZRdMxGDazo= =UcE1 -----END PGP SIGNATURE----- --jho1yZJdad60DJr+--

On Thu, Jul 31, 2014 at 04:08:40PM +0200, David Caro wrote:
On 07/31, ybronhei wrote:
On 07/23/2014 06:39 PM, David Caro wrote:
Can any of you (vdsm maintainers) test if he has rights to push annotated tags?
Hey dcaro, sorry for the late response.. didn't have nothing to tag.
but i still can't.. getting the following:
ybronhei@ybronhei:~/Projects/vdsm ((ad88538...))$ git tag -a v4.14.12 ad88538dc77502bc0a5135216f5e3210435cce5b ybronhei@ybronhei:~/Projects/vdsm ((v4.14.12))$ git push origin v4.14.12 Counting objects: 1, done. Writing objects: 100% (1/1), 176 bytes | 0 bytes/s, done. Total 1 (delta 0), reused 0 (delta 0) remote: Processing changes: refs: 1, done To gerrit.ovirt.org:vdsm ! [remote rejected] v4.14.12 -> v4.14.12 (prohibited by Gerrit) error: failed to push some refs to 'gerrit.ovirt.org:vdsm'
Was it an annotated tag? $ git tag -am 'My message' v4.14.12 $ git push origin v4.14.12 HEAD:refs/heads/master
Yes, it was anotated; I don't think that your suggested git-push is valid. git push origin tagname works for me, but for Yaniv (i.e. it's a permission problem. Maybe the permission model for tags in gerrit is not the one we suppose it is).

--tmoQ0UElFV5VgXgH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 08/01, Dan Kenigsberg wrote:
On Thu, Jul 31, 2014 at 04:08:40PM +0200, David Caro wrote:
On 07/31, ybronhei wrote:
On 07/23/2014 06:39 PM, David Caro wrote:
Can any of you (vdsm maintainers) test if he has rights to push annotated tags?
Hey dcaro, sorry for the late response.. didn't have nothing to tag. =20 but i still can't.. getting the following: =20 ybronhei@ybronhei:~/Projects/vdsm ((ad88538...))$ git tag -a v4.14.12 ad88538dc77502bc0a5135216f5e3210435cce5b ybronhei@ybronhei:~/Projects/vdsm ((v4.14.12))$ git push origin v4.14= =2E12 Counting objects: 1, done. Writing objects: 100% (1/1), 176 bytes | 0 bytes/s, done. Total 1 (delta 0), reused 0 (delta 0) remote: Processing changes: refs: 1, done To gerrit.ovirt.org:vdsm ! [remote rejected] v4.14.12 -> v4.14.12 (prohibited by Gerrit) error: failed to push some refs to 'gerrit.ovirt.org:vdsm' =20 Was it an annotated tag? $ git tag -am 'My message' v4.14.12 $ git push origin v4.14.12 HEAD:refs/heads/master =20 Yes, it was anotated; I don't think that your suggested git-push is valid.
Well, that worked for me last time, and it's the suggested way of pushing annotated tags to gerrit. The difference is that you are not specifying which ref you are sending to = which other ref, (HEAD:refs/heads/master), so git has to figure out himself that data in your case (it takes current local commit and current local branch usually). Anyhow, I've added push permission to ovirt-3.* branches for vdsm-stable-maintainers, can you try again Yaniv?
=20 git push origin tagname =20 works for me, but for Yaniv (i.e. it's a permission problem. Maybe the permission model for tags in gerrit is not the one we suppose it is). _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
--=20 David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Tel.: +420 532 294 605 Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605 --tmoQ0UElFV5VgXgH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT21uFAAoJEEBxx+HSYmnDoIsIAIIU6DMzZArN9P+Hn0W4elqb eDL2W6hlV2FT3k5dRfIH6UatTz1lvjvnUxSp/D4Y6lZV5IZPSKFt+lPkF1E/xvqG p6Hd5oEb0QWSEFExaCkGsq8lcz8HxjTSfwYzoYM9iif9sU3uqaXP5jjcuFIEZLbV CjwLHWQ4ggq96kEX/dSNlwPDAjWfs8UKamlJdUf6AUPflF7xUx6591BcKbBukHX8 fWk78iF84QTLwyKO58a6PH4qtswaYL/AFgb990D+bfZTWLhw6twJzMQP5REpMOZB ijHcHj7E2Iql5WdQ5cbAay6wj38at4wAWMjEJe42vE60KAuojPoEeNGr7WZnRnU= =XNa7 -----END PGP SIGNATURE----- --tmoQ0UElFV5VgXgH--

Hey, Thanks for the effort, but still same.. ybronhei@ybronhei:~/Projects/vdsm ((0b24e53...))$ git tag -a v4.14.13 0b24e53c02d699dde3bbd2fd85427c811e771117 ybronhei@ybronhei:~/Projects/vdsm ((v4.14.13))$ git push origin v4.14.13 Counting objects: 1, done. Writing objects: 100% (1/1), 168 bytes | 0 bytes/s, done. Total 1 (delta 0), reused 0 (delta 0) remote: Processing changes: refs: 1, done To gerrit.ovirt.org:vdsm ! [remote rejected] v4.14.13 -> v4.14.13 (prohibited by Gerrit) error: failed to push some refs to 'gerrit.ovirt.org:vdsm' also with -am and refs:HEAD\for\ovirt-3.4 On 08/01/2014 12:19 PM, David Caro wrote:
On 08/01, Dan Kenigsberg wrote:
On Thu, Jul 31, 2014 at 04:08:40PM +0200, David Caro wrote:
On 07/31, ybronhei wrote:
On 07/23/2014 06:39 PM, David Caro wrote:
Can any of you (vdsm maintainers) test if he has rights to push annotated tags?
Hey dcaro, sorry for the late response.. didn't have nothing to tag.
but i still can't.. getting the following:
ybronhei@ybronhei:~/Projects/vdsm ((ad88538...))$ git tag -a v4.14.12 ad88538dc77502bc0a5135216f5e3210435cce5b ybronhei@ybronhei:~/Projects/vdsm ((v4.14.12))$ git push origin v4.14.12 Counting objects: 1, done. Writing objects: 100% (1/1), 176 bytes | 0 bytes/s, done. Total 1 (delta 0), reused 0 (delta 0) remote: Processing changes: refs: 1, done To gerrit.ovirt.org:vdsm ! [remote rejected] v4.14.12 -> v4.14.12 (prohibited by Gerrit) error: failed to push some refs to 'gerrit.ovirt.org:vdsm'
Was it an annotated tag? $ git tag -am 'My message' v4.14.12 $ git push origin v4.14.12 HEAD:refs/heads/master
Yes, it was anotated; I don't think that your suggested git-push is valid.
Well, that worked for me last time, and it's the suggested way of pushing annotated tags to gerrit.
The difference is that you are not specifying which ref you are sending to which other ref, (HEAD:refs/heads/master), so git has to figure out himself that data in your case (it takes current local commit and current local branch usually).
Anyhow, I've added push permission to ovirt-3.* branches for vdsm-stable-maintainers, can you try again Yaniv?
git push origin tagname
works for me, but for Yaniv (i.e. it's a permission problem. Maybe the permission model for tags in gerrit is not the one we suppose it is). _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
-- Yaniv Bronhaim.
participants (3)
-
Dan Kenigsberg
-
David Caro
-
ybronhei