Review Request 109503: Compile with current qt dev branch

Stephen Kelly steveire at gmail.com
Sat Mar 16 11:29:23 UTC 2013


Ben Cooksley wrote:

> On Sun, Mar 17, 2013 at 12:23 AM, Stephen Kelly <steveire at gmail.com>
> wrote:
>> Stephen Kelly wrote:
>>
>>> Ben Cooksley wrote:
>>>> In theory, however Jenkins itself does Git handling for part of the
>>>> process and that may very well override our invocation of that.
>>>>
>>>> In any case, git spits out the following if I run that for each
>>>> submodule:
>>>>
>>>> You are not currently on a branch, so I cannot use any
>>>> 'branch.<branchname>.merge' in your configuration file.
>>>> Please specify which branch you want to merge with on the command
>>>> line and try again (e.g. 'git pull <repository> <refspec>').
>>>> See git-pull(1) for details.
>>>>
>>>> So we would need something more advanced than that.
>>>>
>>>
>>> Try
>>>
>>>  git submodule foreach 'git fetch; git reset --hard origin/dev
>>
>> I mean
>>
>>   git submodule foreach 'git fetch; git reset --hard origin/dev || true'
> 
> That works for the most part, except with qtqa, qtrepotools and
> qtx11extras which don't have a 'dev' branch for some unknown reason.
> As qtx11extras is a recent addition which we have needed, I suspect
> this could cause issues.

Yes, could those be special-cased?

 git submodule foreach 'git fetch; git reset --hard origin/dev || true'
 cd qtx11extras && git fetch && git reset --hard origin/master

etc?

Thanks,

Steve.



More information about the Kde-frameworks-devel mailing list