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

Bug 427097

Summary: Paho Python repo needs history squashing
Product: Community Reporter: Roger Light <roger>
Component: GitAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: denis.roy, thanh.ha, wayne.beaton
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Roger Light CLA 2014-01-31 05:13:07 EST
The Paho Python Git repository has history from before the initial contribution that needs to be removed.

This is discussed in the thread starting here: http://dev.eclipse.org/mhonarc/lists/paho-dev/msg01237.html

The repository is:

http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.python.git/

The final commit before the initial contribution that was scanned by the IP team was 2d8aa084a9b26b6f0eaf6bbc587a9eb3ea1c3d24.

I am happy to resolve the history in my local copy and then push the changes, but to do so will need the current repository reinitialising. I am equally happy to have the changes carried out on my behalf.
Comment 1 Thanh Ha CLA 2014-01-31 13:55:20 EST
Roger,

I've given you "Force Push" and "Forge Committer" rights. This should be enough to allow you to force push a new master branch.

Please let us know when you've done the push so that I can revert these permissions.
Comment 2 Roger Light CLA 2014-02-03 16:49:21 EST
I've tried to do a force push using the gerrit url, it failed with:

remote: error: The author does not have a Gerrit account.
remote: All authors must either be a commiter on the project, or have a current CLA on file.

This is on a commit from Jan-Piet Mens, who has a CLA on record, used a proper commit message and the push was fine when it was done - although this was prior to moving to gerrit.

Can you advise how I should proceed?
Comment 3 Thanh Ha CLA 2014-02-03 16:55:42 EST
(In reply to Roger Light from comment #2)
> I've tried to do a force push using the gerrit url, it failed with:
> 
> remote: error: The author does not have a Gerrit account.
> remote: All authors must either be a commiter on the project, or have a
> current CLA on file.
> 
> This is on a commit from Jan-Piet Mens, who has a CLA on record, used a
> proper commit message and the push was fine when it was done - although this
> was prior to moving to gerrit.
> 
> Can you advise how I should proceed?

Right that's a problem. We can work around this by not using Gerrit Push URLs. I've re-enabled the old URLs for this repo so you can push to the old URLs again. This will mess up Gerrit permissions but we can fix it after you finish your push.

Use this URL: ssh://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.python.git
Comment 4 Denis Roy CLA 2014-02-03 17:00:36 EST
If Jan hasn't logged into Gerrit at least once, then Gerrit doesn't know who that person is.  Logging in once may just solve the problem.
Comment 5 Thanh Ha CLA 2014-02-03 17:02:45 EST
(In reply to Denis Roy from comment #4)
> If Jan hasn't logged into Gerrit at least once, then Gerrit doesn't know who
> that person is.  Logging in once may just solve the problem.

Right that's true too. I forgot this repo's pretty new. I was thinking that it might have had a long history of commits with authors who are no longer around but if the issue's only with 1 committer having him login will solve the issue.
Comment 6 Roger Light CLA 2014-02-04 03:14:31 EST
Jan-Piet logged in and I was able to push all of the commits.

You can remove the extra permissions now, thanks.
Comment 7 Thanh Ha CLA 2014-02-04 09:19:49 EST
(In reply to Roger Light from comment #6)
> Jan-Piet logged in and I was able to push all of the commits.
> 
> You can remove the extra permissions now, thanks.

Done.