[Buildroot] [PATCH] scripts/autobuild-run: add --branches option

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Jan 16 08:55:04 UTC 2019


Hello,

On Tue, 15 Jan 2019 15:11:31 +0100, Arnout Vandecappelle
(Essensium/Mind) wrote:
> From: Arnout Vandecappelle <arnout.vandecappelle at essensium.com>
> 
> The autobuild-run script will retrieve the list of branches to test
> from autobuild.buildroot.org. However, it the autobuild script is used
> to test some local configuration, this is probably not appropriate. The
> new --branches option allows to override the URL of the branches CSV
> file. A file:/// URL can be used for a local file.
> 
> Signed-off-by: Arnout Vandecappelle <arnout.vandecappelle at essensium.com>

I had an alternate patch ready for this, which consists in changing
http-url to be the base URL, and not the submission URL.

I.e:

   '--http-url': 'http://autobuild.buildroot.org/submit/',

would become:

   '--http-url': 'http://autobuild.buildroot.org/',

And so the branches file would be retrieved from $(--http-url)/branches.

Would this work for you, or do you have a set up where the branches
file is not located at the same place as the submission URL ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list