summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Weihmann <kweihmann@outlook.com>2020-05-18 21:28:07 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-19 22:57:26 +0100
commit9ac51e479db251068c81b9e7be52e18e0c605341 (patch)
tree3676c6388e3057258ea2e9ee39d98ae4d508214e
parent59ccabe26bd5282026aae4c64254da2c66386f1c (diff)
downloadpoky-9ac51e479db251068c81b9e7be52e18e0c605341.tar.gz
lib/oe/recipeutils.py: passthrough of FETCHCMD
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 (From OE-Core rev: f69347744241afea19f155d9ff5115c675e9043d) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/recipeutils.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index 732420e46f..29473a9882 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -1076,6 +1076,18 @@ def get_recipe_upgrade_status(recipes=None):
1076 'RECIPE_UPSTREAM_VERSION', 1076 'RECIPE_UPSTREAM_VERSION',
1077 'RECIPE_UPSTREAM_DATE', 1077 'RECIPE_UPSTREAM_DATE',
1078 'CHECK_DATE', 1078 'CHECK_DATE',
1079 'FETCHCMD_bzr',
1080 'FETCHCMD_ccrc',
1081 'FETCHCMD_cvs',
1082 'FETCHCMD_git',
1083 'FETCHCMD_hg',
1084 'FETCHCMD_npm',
1085 'FETCHCMD_osc',
1086 'FETCHCMD_p4',
1087 'FETCHCMD_repo',
1088 'FETCHCMD_s3',
1089 'FETCHCMD_svn',
1090 'FETCHCMD_wget',
1079 ) 1091 )
1080 1092
1081 with bb.tinfoil.Tinfoil() as tinfoil: 1093 with bb.tinfoil.Tinfoil() as tinfoil: