Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363511 - rights on rt.equinox.bundles.git
Summary: rights on rt.equinox.bundles.git
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Servers (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-10 13:00 EST by Kim Moir CLA
Modified: 2016-02-10 04:14 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Moir CLA 2011-11-10 13:00:35 EST
I don't seem to have rights on rt.equinox.bundles.git since it was migrated from CVS.  I used to have it.  Can I have my rights restored?
Comment 1 Thomas Watson CLA 2011-11-10 13:14:43 EST
Kim should have commit rights to all equinox repositories (http://git.eclipse.org/c/equinox).
Comment 2 Eclipse Webmaster CLA 2011-11-10 13:45:40 EST
I've added acls, since it looks like it's the 16 group limit.  Restart your git client and let me know if it's still throwing errors.

-M.
Comment 3 Kim Moir CLA 2011-11-10 16:19:51 EST
No, still have problems.

Repository
ssh://kmoir@git.eclipse.org/gitroot/equinox/rt.equinox.bundles.git

hook declined
error: git.eclipse.org does not know this committer,
 or this this
committer cannot commit to this project (gid=8348
repo:rt.equinox.bundles): kmoir@ca.ibm.com.

denied: You
(kim_moir@ca.ibm.com) cannot push changes that were not committed by you
or members of your project. Please fix your repository, and see
http://wiki.eclipse.org/Git for information on configuring your Git
environment.

error: hook declined to update refs/heads/master
Comment 4 Eclipse Webmaster CLA 2011-11-10 16:31:08 EST
(In reply to comment #3)

> error: git.eclipse.org does not know this committer,
>  or this this
> committer cannot commit to this project (gid=8348
> repo:rt.equinox.bundles): kmoir@ca.ibm.com.
> 
> denied: You
> (kim_moir@ca.ibm.com)

To me this reads like the issue isn't lacking permissions, it's 'incorrect' attribution of changes.  Can you update the kmoir@ to be kim_moir@ in the git data?

-M.
Comment 5 Kim Moir CLA 2011-11-11 14:01:27 EST
What do you mean by in the git data?  I'm kmoir@ca.ibm.com on all the other repos. This is my identify as configured in EGit.
Comment 6 Eclipse Webmaster CLA 2011-11-11 14:15:43 EST
Well the error you provided is generated when we can't work out who you are.  Since the email address (kmoir@ ) isn't the one we have on file for you it's failing.  

My understanding is that the 'tag' data for each git commit contains a 'who' field, and in this case it looks like it's kmoir@ instead of kim_moir@.

-M.
Comment 7 Kim Moir CLA 2011-11-11 14:25:05 EST
My bugzilla address is kmoir@ca.ibm.com.  I don't understand why there are other records that use  kim_moir@ca.ibm.com.  I never use that address.
Comment 8 Eclipse Webmaster CLA 2011-11-11 15:46:39 EST
It's the address on file for your committer id.  You can change it via the portal, but it'll take 9h to take effect(the update is at midnight).

-M.
Comment 9 Kim Moir CLA 2011-11-14 11:20:30 EST
In the portal it says kmoir@ca.ibm.com.  Not kim_moir@ca.ibm.com.  Where does the committer hook get the address if not from this one?

I just tried to change my git configuration information in EGit to use kim_moir@ca.ibm.com and it didn't work.  Didn't allow me to commit.

Not sure where to go from here.
Comment 10 Eclipse Webmaster CLA 2011-11-14 11:33:11 EST
(In reply to comment #9)
> In the portal it says kmoir@ca.ibm.com.  Not kim_moir@ca.ibm.com.  Where does
> the committer hook get the address if not from this one?

Ah, now I understand.  Ok so you've logged into the portal with your bugzilla Id and not your committer id.  

The git hook gets it's information from ldap, and that's where the 'bad' address is stored.

I've just used the portal(as you) to update the email address associated with your committer account.  Everything should sort itself out shortly.

-M.
Comment 11 Kim Moir CLA 2011-11-14 13:30:01 EST
Still no love :-(

Repository
ssh://kmoir@git.eclipse.org/gitroot/equinox/rt.equinox.bundles.git

hook declined
error: git.eclipse.org does not know this committer,
 or this this
committer cannot commit to this project (gid=8348
repo:rt.equinox.bundles): kmoir@ca.ibm.com.

denied: You
(kim_moir@ca.ibm.com) cannot push changes that were not committed by you
or members of your project. Please fix your repository, and see
http://wiki.eclipse.org/Git for information on configuring your Git
environment.

error: hook declined to update refs/heads/master
Comment 12 Denis Roy CLA 2011-11-14 14:07:58 EST
(In reply to comment #11)
> Still no love :-(

LDAP caches attributes quite aggressively.  If you've just changed your email address, it may take some time (up to 15 minutes) for it to take effect all over.
Comment 13 Eclipse Webmaster CLA 2011-11-14 14:08:53 EST
Ok, I just saw the mail update notice.  Can you please try your push again?

-M.
Comment 14 Kim Moir CLA 2011-11-14 14:45:55 EST
Okay, my rights work on this repo now.  Thanks!  I feel better now :-)