Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 576854

Summary: Company affiliation missing
Product: Community Reporter: Ivar Grimstad <ivar.grimstad>
Component: Project Management & PortalAssignee: Eclipse Web <webdev>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chris.guindon, wayne.beaton, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ivar Grimstad CLA 2021-10-23 02:45:58 EDT
Please verify that Tomas Langer is correctly affiliated with Oracle.
Currently, there is one commit in the Jakarta Config repository

https://github.com/eclipse-ee4j/config/commit/03b8d472c59aa8821e32f3d0da3956c1232107c0

The project's Who page shows this commit, but lists him as "Contributor" where it should say "Oracle".

https://projects.eclipse.org/projects/ee4j.jakartaconfig/who

This commit is made by Tomas Langer from Oracle. The commit author is his gmail.com address, which may be the issue since his Eclipse account is registered to his oracle.com address. But since his GitHub account is used, the link should be possible to make anyway? Or it could be that his Eclipse account is not correctly linked with Oracle.

https://accounts.eclipse.org/users/tlangeraq4
Comment 1 Eclipse Webmaster CLA 2021-10-25 11:13:49 EDT
Re-asigning to the portal component.

I took a really quick look at the committer db and things look ok to me.

@webdev any ideas?

-M.
Comment 2 Christopher Guindon CLA 2021-10-25 11:53:03 EDT
I can see that Tomas Langer is correctly affiliated with Oracle.

However, I see the problem. 

A Gmail email address was used to make the commit, not the Oracle email address that we have on file.

https://api.github.com/repos/eclipse-ee4j/config/commits/03b8d472c59aa8821e32f3d0da3956c1232107c0
Comment 3 Wayne Beaton CLA 2021-10-25 11:58:00 EDT
The data that we use to generate the charts depends on the email address on the commit being the same as the email address on the EF account.

@webdev, my understanding is that our hooks require (and enforce) that the commit author's email address matches the email address on the corresponding EF account. Is is this understanding correct?
Comment 4 Christopher Guindon CLA 2021-10-25 12:02:10 EDT
Closing this issue since this is working as expected.

I can see that Tomas is using his Oracle address for commits on an open PR: https://api.github.com/repos/eclipse-ee4j/config/commits/1d510071806f231fbbeb7b14c101a8f73ea5bec6

I would expect those to be attributed as expected.
Comment 5 Ivar Grimstad CLA 2021-10-25 12:05:08 EDT
Good to know. I'll give that feedback to Tomas.

Shouldn't it be possible to use the github username to make the connection?
Comment 6 Christopher Guindon CLA 2021-10-25 12:05:42 EDT
(In reply to Wayne Beaton from comment #3)

> @webdev, my understanding is that our hooks require (and enforce) that the
> commit author's email address matches the email address on the corresponding
> EF account. Is is this understanding correct?

A PR is required to trigger our ECA validation tool. That initial commit was pushed directly to the repo since I don't see any closed PR for the project: https://github.com/eclipse-ee4j/config/pull/6

Enforce is not correct with Github. The ECA informs the committers and contributions of the current ECA state of the author(s).
Comment 7 Christopher Guindon CLA 2021-10-25 12:12:58 EDT
(In reply to Ivar Grimstad from comment #5)
> Good to know. I'll give that feedback to Tomas.
> 
> Shouldn't it be possible to use the github username to make the connection?

Everything is possible without enough time :)

For example, we could query Github API to fetch additional information about the commit such as the Github Username, and store that in one of our databases. 

However, the current tool makes connections based on the information stored in the git repository.
Comment 8 Christopher Guindon CLA 2021-10-25 12:13:17 EDT
(In reply to Christopher Guindon from comment #7)
> (In reply to Ivar Grimstad from comment #5)
> > Good to know. I'll give that feedback to Tomas.
> > 
> > Shouldn't it be possible to use the github username to make the connection?
> 
> Everything is possible without enough time :)

*with
Comment 9 Christopher Guindon CLA 2021-10-25 12:16:19 EDT
However, We plan on fixing this by allowing users to associate more than 1 email address to their account.

In this situation, the fix would be easy. We would ask Tomas to add his gmail address to his account.

I expect us to look at implementing this in 2022.