[bitbake-devel] [RFC PATCH] svn.py: Stop SVN from directly pulling from an external layer w/o fetcher

Richard Purdie richard.purdie at linuxfoundation.org
Thu May 16 06:41:37 UTC 2019


On Wed, 2019-05-15 at 14:02 -0400, Mark Hatle wrote:
> Add a new option to the svn fetcher url "externals=allowed".  This will allow
> a user to enable svn co w/ externals.  However, this does avoid the fetcher,
> network access and mirror systems.
> 
> By default we no longer allow externals in the checkout.  This ensures a
> deterministic download.  The system does attempt to identify SVN repos that
> have externals enabled, and will warn the user.
> 
> In the future we would like to parse this list and see if the items are already
> in the SRC_URI for that recipe, but with SVN being in limited use these days
> that extra work is likely not worth the trouble.
> 
> Add test cases that generated a local SVN tree, with an external source
> set to github bitbake in svn format.  One test case checks that externals are
> ignored, and one checks that they in downloaded.
> 
> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> ---
>  This was done in response to the patch from Krzysztof Zawadzki and the resulting
>  discussion to make this the default instead of optional.

Patch looks good to me but the autobuilder didn't like it:

https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/465/steps/7/logs/step1d

Cheers,

Richard



More information about the bitbake-devel mailing list