]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/recipeutils.py: passthrough of FETCHCMD
authorKonrad Weihmann <kweihmann@outlook.com>
Mon, 18 May 2020 19:28:07 +0000 (21:28 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 May 2020 21:55:50 +0000 (22:55 +0100)
let FETCHCMD_* settings be passed to upstream check functions from
get_recipe_upgrade_status. It enables using different values for
the fetching tools, as otherwise always the defaults are used.
E.g. use different timeout or retry values for wget.
This is especially useful for remote server that do request-limiting (429)
or that are simply unavailable (500, 504) and can speedup upgrade-check
for a larger set of recipe significantly

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/recipeutils.py

index 732420e46ffd8ad8767a533ffd0882c9abedf294..29473a9882560d1d9e46c81d2c739c81e520d829 100644 (file)
@@ -1076,6 +1076,18 @@ def get_recipe_upgrade_status(recipes=None):
                  'RECIPE_UPSTREAM_VERSION',
                  'RECIPE_UPSTREAM_DATE',
                  'CHECK_DATE',
+                 'FETCHCMD_bzr',
+                 'FETCHCMD_ccrc',
+                 'FETCHCMD_cvs',
+                 'FETCHCMD_git',
+                 'FETCHCMD_hg',
+                 'FETCHCMD_npm',
+                 'FETCHCMD_osc',
+                 'FETCHCMD_p4',
+                 'FETCHCMD_repo',
+                 'FETCHCMD_s3',
+                 'FETCHCMD_svn',
+                 'FETCHCMD_wget',
             )
 
     with bb.tinfoil.Tinfoil() as tinfoil: