Re: [Development] Looking for a way to batch-upload independent changes to Gerrit

2014-08-27 Thread Oswald Buddenhagen
On Mon, Aug 18, 2014 at 08:32:19AM -0700, Thiago Macieira wrote: > On Monday 18 August 2014 15:23:25 Marc Mutz wrote: > > > I have several times come across the problem that I hack away and end up > > with a chain of 20 or so commits, most of which are completely independent > > of each other. If

Re: [Development] Looking for a way to batch-upload independent changes to Gerrit

2014-08-19 Thread Marc Mutz
Hi Thiago, On Tuesday 19 August 2014 09:38:03 Marc Mutz wrote: > On Tuesday 19 August 2014 00:38:48 Thiago Macieira wrote: > > git push gerrit `list all cherry-picked commits | sed > > 's,$,:refs/for/5.4,'` > > aka: rtfm... > > Got it, thanks! It seems that the above can be and has been read as

Re: [Development] Looking for a way to batch-upload independent changes to Gerrit

2014-08-19 Thread Thiago Macieira
On Tuesday 19 August 2014 09:38:03 Marc Mutz wrote: > On Tuesday 19 August 2014 00:38:48 Thiago Macieira wrote: > > git push gerrit `list all cherry-picked commits | sed > > 's,$,:refs/for/5.4,'` commits= git rev-list @{upstream}.. | while read commit; do git reset --hard git check

Re: [Development] Looking for a way to batch-upload independent changes to Gerrit

2014-08-19 Thread Marc Mutz
On Tuesday 19 August 2014 00:38:48 Thiago Macieira wrote: > > git push gerrit `list all cherry-picked commits | sed 's,$,:refs/for/5.4,'` aka: rtfm... Got it, thanks! -- Qt Developer Days 2014 - October 6 - 8 at BCC, Berlin Marc Mutz | Senior Software Engineer KDAB (Deutschland) GmbH & Co.KG,

Re: [Development] Looking for a way to batch-upload independent changes to Gerrit

2014-08-18 Thread Thiago Macieira
On Tuesday 19 August 2014 00:09:19 Allan Sandfeld Jensen wrote: > On Monday 18 August 2014, you wrote: > > On Mon, Aug 18, 2014 at 7:57 PM, Allan Sandfeld Jensen > > wrote: > > > Is it a problem that they have fake dependencies listed in gerrit? I > > > often upload lists of patches like that, an

Re: [Development] Looking for a way to batch-upload independent changes to Gerrit

2014-08-18 Thread Allan Sandfeld Jensen
On Monday 18 August 2014, you wrote: > On Mon, Aug 18, 2014 at 7:57 PM, Allan Sandfeld Jensen wrote: > > Is it a problem that they have fake dependencies listed in gerrit? I > > often upload lists of patches like that, and land them out of order as > > they get reviewed. It appears to pose no par

Re: [Development] Looking for a way to batch-upload independent changes to Gerrit

2014-08-18 Thread Robin Burchell
On Mon, Aug 18, 2014 at 7:57 PM, Allan Sandfeld Jensen wrote: > Is it a problem that they have fake dependencies listed in gerrit? I often > upload lists of patches like that, and land them out of order as they get > reviewed. It appears to pose no particular problem, except that it can look a >

Re: [Development] Looking for a way to batch-upload independent changes to Gerrit

2014-08-18 Thread Allan Sandfeld Jensen
On Monday 18 August 2014, Marc Mutz wrote: > Hi all, > > I have several times come across the problem that I hack away and end up > with a chain of 20 or so commits, most of which are completely independent > of each other. If I push gerrit HEAD:refs/for/X, I can upload all of them > in one go, bu

Re: [Development] Looking for a way to batch-upload independent changes to Gerrit

2014-08-18 Thread Thiago Macieira
On Monday 18 August 2014 15:23:25 Marc Mutz wrote: > Hi all, > > I have several times come across the problem that I hack away and end up > with a chain of 20 or so commits, most of which are completely independent > of each other. If I push gerrit HEAD:refs/for/X, I can upload all of them > in on

Re: [Development] Looking for a way to batch-upload independent changes to Gerrit

2014-08-18 Thread Robin Burchell
Hi Marc, It doesn't specifically do what you want, I think, but you might want to take a look at Android's repo tool: https://source.android.com/source/developing.html https://source.android.com/source/using-repo.html I've been using it to interact with Qt's Gerrit for quite a while now and am p

[Development] Looking for a way to batch-upload independent changes to Gerrit

2014-08-18 Thread Marc Mutz
Hi all, I have several times come across the problem that I hack away and end up with a chain of 20 or so commits, most of which are completely independent of each other. If I push gerrit HEAD:refs/for/X, I can upload all of them in one go, but they will be shown in the Gerrit UI as depending o