Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337982 - Correct policy for contributing from Github
Summary: Correct policy for contributing from Github
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Git (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Wayne Beaton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 10:18 EST by Ugo Braga Sangiorgi CLA
Modified: 2011-02-23 16:36 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ugo Braga Sangiorgi CLA 2011-02-23 10:18:26 EST
Hello all, 

I'm from Eclipse Sketch project and I'm looking for some guidance regarding how to proceed for getting contributions from github cloned repositories. 

My scenario is: 
-I have the offical Eclipse Repository (eclipse-repo)
-I have a clone on github (github-repo) which mirrors the eclipse-repo
-Some people had it cloned (github-clone1, github-clone2) and eventually do pull requests to github-repo.

I have the github-repo in a stable state, so I would like to be able to push from github-repo to eclipse-repo and credit the contributors along. In the wiki (http://wiki.eclipse.org/Development_Resources/Handling_Git_Contributions) it says: 2) Contributor or project committer creates a bugzilla that includes a URL pointer to the ref (commit record) in the source repository.

This URL needs to be in the field URL of the bug? If so, how can I reference more than one commit per bug?

Is it possible for a commit from github-repo to be pushed into eclipse-repo

In time, is there another (smarter) way for retrieving contributions from github?

I am willing to complement the wiki with this additional info. 
Thank you!
Comment 1 Denis Roy CLA 2011-02-23 15:31:10 EST
Wayne is likely the best person to answer this.
Comment 2 Wayne Beaton CLA 2011-02-23 16:36:13 EST
What's important is that the IP is tracked. The URL field seemed like a convenient way to do this, but is clearly inadequate in the case of multiple commits.

So... as long as the commits themselves are referenced in the bug, we should be in good shape. I have updated the wiki.

The longer term solution will involve Gerrit which handles the contribution tracking that we need to have.

> Is it possible for a commit from github-repo to be pushed into eclipse-repo

Yes. If the committer field is set correctly, this should technically work. However, please be aware of the IP implications of the refs you are pushing.

I am marking this as FIXED. Please reopen if you feel we haven't addressed this adequately.