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

Yu Ke ke.yu at intel.com
Mon May 23 22:50:57 PDT 2011


on 2011-5-21 8:07, Darren Hart wrote:
>
>
> 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.
>

This is good reminder, Thanks.

There are several places that hold this info:

- bitbake manual: http://bitbake.berlios.de/manual/ch03s07.html
- openembedded manual: 
http://docs.openembedded.org/usermanual/usermanual.html#id572539
- poky reference manual: 
http://www.yoctoproject.org/docs/poky-ref-manual/poky-ref-manual.html#ref-bitbake-fetchers

It looks the most appropriate place would be bitbake manual, which is 
also refereed by poky reference manual. So does anyone know how can I 
update this mannual?

Also, it sounds good idea to add the SRC_URI options doc in the source, 
I will cook a patch to add this info.

Regards
Ke



More information about the poky mailing list