Discussion:
apache brooklyn projects -- git push permissions?
Alex Heneveld
2016-01-31 12:33:26 UTC
Permalink
*Infra-* We are ready to close the old incubating-brooklyn repository
and get write permission to the new one.

*All-* I don't seem to have permissions to write to the new repos
(brooklyn*.git, 6 in total). Maybe this is awaiting incubator-brooklyn
being closed?

I have the split-projects ready to go, with history and branches. You
can see examples in ahgittin/brooklyn* .

The error I get is:

% git remote add apache-git
https://git-wip-us.apache.org/repos/asf/brooklyn.git
% get fetch apache-git
% git push apache-git master:master
...
*remote: You are not authorized to edit this repository.*
remote:
To https://git-wip-us.apache.org/repos/asf/brooklyn.git
! [remote rejected] 0.4.0 -> 0.4.0 (pre-receive hook declined)
error: failed to push some refs to
'https://git-wip-us.apache.org/repos/asf/brooklyn.git'

Thanks
Alex
Hadrian Zbarcea
2016-01-31 17:02:14 UTC
Permalink
Hi Alex,

Repositories are created via automated scrips and access is controlled
via groups, afaik. This should have nothing to do with the incubator
repo (and I hope I am not wrong). We'll get this sorted out asap, no
worries.

Hadrian
Post by Alex Heneveld
*Infra-* We are ready to close the old incubating-brooklyn repository
and get write permission to the new one.
*All-* I don't seem to have permissions to write to the new repos
(brooklyn*.git, 6 in total). Maybe this is awaiting incubator-brooklyn
being closed?
I have the split-projects ready to go, with history and branches. You
can see examples in ahgittin/brooklyn* .
% git remote add apache-git
https://git-wip-us.apache.org/repos/asf/brooklyn.git
% get fetch apache-git
% git push apache-git master:master
...
*remote: You are not authorized to edit this repository.*
To https://git-wip-us.apache.org/repos/asf/brooklyn.git
! [remote rejected] 0.4.0 -> 0.4.0 (pre-receive hook declined)
error: failed to push some refs to
'https://git-wip-us.apache.org/repos/asf/brooklyn.git'
Thanks
Alex
Geoffrey Corey
2016-02-01 16:00:19 UTC
Permalink
Alex,

What is your asf username? The above error is indicating that you might not
be in the Brooklyn ldap group (and yes, if you are in the Brooklyn PMC ldap
group, you must be in the Brooklyn ldap group as well for commits to work).
Post by Hadrian Zbarcea
Hi Alex,
Repositories are created via automated scrips and access is controlled via
groups, afaik. This should have nothing to do with the incubator repo (and
I hope I am not wrong). We'll get this sorted out asap, no worries.
Hadrian
Post by Alex Heneveld
*Infra-* We are ready to close the old incubating-brooklyn repository
and get write permission to the new one.
*All-* I don't seem to have permissions to write to the new repos
(brooklyn*.git, 6 in total). Maybe this is awaiting incubator-brooklyn
being closed?
I have the split-projects ready to go, with history and branches. You
can see examples in ahgittin/brooklyn* .
% git remote add apache-git
https://git-wip-us.apache.org/repos/asf/brooklyn.git
% get fetch apache-git
% git push apache-git master:master
...
*remote: You are not authorized to edit this repository.*
To https://git-wip-us.apache.org/repos/asf/brooklyn.git
! [remote rejected] 0.4.0 -> 0.4.0 (pre-receive hook declined)
error: failed to push some refs to
'https://git-wip-us.apache.org/repos/asf/brooklyn.git'
Thanks
Alex
Alex Heneveld
2016-02-01 16:31:58 UTC
Permalink
heneveld

Thanks
--A
Post by Geoffrey Corey
Alex,
What is your asf username? The above error is indicating that you
might not be in the Brooklyn ldap group (and yes, if you are in the
Brooklyn PMC ldap group, you must be in the Brooklyn ldap group as
well for commits to work).
Hi Alex,
Repositories are created via automated scrips and access is
controlled via groups, afaik. This should have nothing to do with
the incubator repo (and I hope I am not wrong). We'll get this
sorted out asap, no worries.
Hadrian
*Infra-* We are ready to close the old incubating-brooklyn repository
and get write permission to the new one.
*All-* I don't seem to have permissions to write to the new repos
(brooklyn*.git, 6 in total). Maybe this is awaiting
incubator-brooklyn
being closed?
I have the split-projects ready to go, with history and branches. You
can see examples in ahgittin/brooklyn* .
% git remote add apache-git
https://git-wip-us.apache.org/repos/asf/brooklyn.git
% get fetch apache-git
% git push apache-git master:master
...
*remote: You are not authorized to edit this repository.*
To https://git-wip-us.apache.org/repos/asf/brooklyn.git
! [remote rejected] 0.4.0 -> 0.4.0 (pre-receive hook declined)
error: failed to push some refs to
'https://git-wip-us.apache.org/repos/asf/brooklyn.git'
Thanks
Alex
Geoffrey Corey
2016-02-01 16:44:29 UTC
Permalink
Alex: You are in the brookly PMC ldap group, but not in the brooklyn ldap
group.

Please see http://www.apache.org/dev/pmc.html#karma for how to get yourself
in the brooklyn ldap group. Note: this must be run from people.apache.org

On Mon, Feb 1, 2016 at 8:31 AM, Alex Heneveld <
Post by Alex Heneveld
heneveld
Thanks
--A
Alex,
What is your asf username? The above error is indicating that you might
not be in the Brooklyn ldap group (and yes, if you are in the Brooklyn PMC
ldap group, you must be in the Brooklyn ldap group as well for commits to
work).
Post by Hadrian Zbarcea
Hi Alex,
Repositories are created via automated scrips and access is controlled
via groups, afaik. This should have nothing to do with the incubator repo
(and I hope I am not wrong). We'll get this sorted out asap, no worries.
Hadrian
Post by Alex Heneveld
*Infra-* We are ready to close the old incubating-brooklyn repository
and get write permission to the new one.
*All-* I don't seem to have permissions to write to the new repos
(brooklyn*.git, 6 in total). Maybe this is awaiting incubator-brooklyn
being closed?
I have the split-projects ready to go, with history and branches. You
can see examples in ahgittin/brooklyn* .
% git remote add apache-git
https://git-wip-us.apache.org/repos/asf/brooklyn.git
% get fetch apache-git
% git push apache-git master:master
...
*remote: You are not authorized to edit this repository.*
To https://git-wip-us.apache.org/repos/asf/brooklyn.git
! [remote rejected] 0.4.0 -> 0.4.0 (pre-receive hook declined)
error: failed to push some refs to
'https://git-wip-us.apache.org/repos/asf/brooklyn.git'
Thanks
Alex
Alex Heneveld
2016-02-01 17:30:20 UTC
Permalink
Thank you Geoff + Richard -- everything now seems to be working.

Apologies for not knowing this!

Best
Alex
Post by Geoffrey Corey
Alex: You are in the brookly PMC ldap group, but not in the brooklyn
ldap group.
Please see http://www.apache.org/dev/pmc.html#karma for how to get
yourself in the brooklyn ldap group. Note: this must be run from
people.apache.org <http://people.apache.org>
On Mon, Feb 1, 2016 at 8:31 AM, Alex Heneveld
heneveld
Thanks
--A
Post by Geoffrey Corey
Alex,
What is your asf username? The above error is indicating that you
might not be in the Brooklyn ldap group (and yes, if you are in
the Brooklyn PMC ldap group, you must be in the Brooklyn ldap
group as well for commits to work).
On Sun, Jan 31, 2016 at 9:02 AM, Hadrian Zbarcea
Hi Alex,
Repositories are created via automated scrips and access is
controlled via groups, afaik. This should have nothing to do
with the incubator repo (and I hope I am not wrong). We'll
get this sorted out asap, no worries.
Hadrian
*Infra-* We are ready to close the old
incubating-brooklyn repository
and get write permission to the new one.
*All-* I don't seem to have permissions to write to the
new repos
(brooklyn*.git, 6 in total). Maybe this is awaiting
incubator-brooklyn
being closed?
I have the split-projects ready to go, with history and
branches. You
can see examples in ahgittin/brooklyn* .
% git remote add apache-git
https://git-wip-us.apache.org/repos/asf/brooklyn.git
% get fetch apache-git
% git push apache-git master:master
...
*remote: You are not authorized to edit this repository.*
To https://git-wip-us.apache.org/repos/asf/brooklyn.git
! [remote rejected] 0.4.0 -> 0.4.0 (pre-receive hook declined)
error: failed to push some refs to
'https://git-wip-us.apache.org/repos/asf/brooklyn.git'
Thanks
Alex
Alex Heneveld
2016-02-01 18:11:30 UTC
Permalink
Geoff/All-

Two of our github mirrors have "0.4.0" as the default branch. Can these
be repointed to "master" branch?

The two repos are:

* https://github.com/apache/brooklyn
* https://github.com/apache/brooklyn-docs


Probably this is because I pushed in alpha order and the synch process
kicked in before master got uploaded. The others seem to have picked up
"master". (Still waiting on "brooklyn-ui" and "brooklyn-client" to
synch but all branches are pushed to apache's git server.)

Thanks again for the help.

Best
Alex
Post by Geoffrey Corey
Alex: You are in the brookly PMC ldap group, but not in the brooklyn
ldap group.
Please see http://www.apache.org/dev/pmc.html#karma for how to get
yourself in the brooklyn ldap group. Note: this must be run from
people.apache.org <http://people.apache.org>
On Mon, Feb 1, 2016 at 8:31 AM, Alex Heneveld
heneveld
Thanks
--A
Post by Geoffrey Corey
Alex,
What is your asf username? The above error is indicating that you
might not be in the Brooklyn ldap group (and yes, if you are in
the Brooklyn PMC ldap group, you must be in the Brooklyn ldap
group as well for commits to work).
On Sun, Jan 31, 2016 at 9:02 AM, Hadrian Zbarcea
Hi Alex,
Repositories are created via automated scrips and access is
controlled via groups, afaik. This should have nothing to do
with the incubator repo (and I hope I am not wrong). We'll
get this sorted out asap, no worries.
Hadrian
*Infra-* We are ready to close the old
incubating-brooklyn repository
and get write permission to the new one.
*All-* I don't seem to have permissions to write to the
new repos
(brooklyn*.git, 6 in total). Maybe this is awaiting
incubator-brooklyn
being closed?
I have the split-projects ready to go, with history and
branches. You
can see examples in ahgittin/brooklyn* .
% git remote add apache-git
https://git-wip-us.apache.org/repos/asf/brooklyn.git
% get fetch apache-git
% git push apache-git master:master
...
*remote: You are not authorized to edit this repository.*
To https://git-wip-us.apache.org/repos/asf/brooklyn.git
! [remote rejected] 0.4.0 -> 0.4.0 (pre-receive hook declined)
error: failed to push some refs to
'https://git-wip-us.apache.org/repos/asf/brooklyn.git'
Thanks
Alex
Geoffrey Corey
2016-02-01 18:16:25 UTC
Permalink
I have fixed the above github mirrors to have master as the default branch.

On Mon, Feb 1, 2016 at 10:11 AM, Alex Heneveld <
Post by Alex Heneveld
Geoff/All-
Two of our github mirrors have "0.4.0" as the default branch. Can these
be repointed to "master" branch?
* https://github.com/apache/brooklyn
* https://github.com/apache/brooklyn-docs
Probably this is because I pushed in alpha order and the synch process
kicked in before master got uploaded. The others seem to have picked up
"master". (Still waiting on "brooklyn-ui" and "brooklyn-client" to synch
but all branches are pushed to apache's git server.)
Thanks again for the help.
Best
Alex
Alex: You are in the brookly PMC ldap group, but not in the brooklyn ldap
group.
Please see http://www.apache.org/dev/pmc.html#karma for how to get
yourself in the brooklyn ldap group. Note: this must be run from
people.apache.org
On Mon, Feb 1, 2016 at 8:31 AM, Alex Heneveld <
Post by Alex Heneveld
heneveld
Thanks
--A
Alex,
What is your asf username? The above error is indicating that you might
not be in the Brooklyn ldap group (and yes, if you are in the Brooklyn PMC
ldap group, you must be in the Brooklyn ldap group as well for commits to
work).
Post by Hadrian Zbarcea
Hi Alex,
Repositories are created via automated scrips and access is controlled
via groups, afaik. This should have nothing to do with the incubator repo
(and I hope I am not wrong). We'll get this sorted out asap, no worries.
Hadrian
Post by Alex Heneveld
*Infra-* We are ready to close the old incubating-brooklyn repository
and get write permission to the new one.
*All-* I don't seem to have permissions to write to the new repos
(brooklyn*.git, 6 in total). Maybe this is awaiting incubator-brooklyn
being closed?
I have the split-projects ready to go, with history and branches. You
can see examples in ahgittin/brooklyn* .
% git remote add apache-git
https://git-wip-us.apache.org/repos/asf/brooklyn.git
% get fetch apache-git
% git push apache-git master:master
...
*remote: You are not authorized to edit this repository.*
To https://git-wip-us.apache.org/repos/asf/brooklyn.git
! [remote rejected] 0.4.0 -> 0.4.0 (pre-receive hook declined)
error: failed to push some refs to
'https://git-wip-us.apache.org/repos/asf/brooklyn.git'
Thanks
Alex
Loading...