[poky] [PATCH 1/1] git fetcher: add support for rebaseable git repo

Darren Hart dvhart at linux.intel.com
Fri May 20 17:07:57 PDT 2011



On 05/20/2011 09:30 AM, Khem Raj wrote:
> On 5/15/2011 6:16 PM, Yu Ke wrote:
>> From: Yu Ke<ke.yu at intel.com>
>>
>> Some upstream git repo may rebase in the future, which means current
>> revision may disappear from the upstream repo after the rebase.
>>
>> current git fetcher can not handle this case, because the git mirror
>> tar ball is per repo, and may also change in the rebase and lost the
>> current revision info.
>>
>> To fix this issue, this patch
>> - add rebaseable tag in the SRC_URI
>> - for rebaseable repo, make git mirror tar ball per revision, in this
>>    case, even upstream rebase, the git mirror still has the current
>>    revision info.
>> - for rebaseable repo, generate mirror tar ball by default, since the
>>    repo may change in the future.
> 
> Do we have the options to SRC_URI documented somewhere ?
> if yes then this should be added there too.

I was looking and didn't find them. At the very least these should be
documented in the fetch2/git.py file for reference when
reviewing/maintaining the source.

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the poky mailing list