You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recipe file of approvaltests.cpp has hardcoded logic that assumes only one source url is present per file. This breaks our downstream automation, where we modify conandata.yml file to add custom mirror urls.
Building the package with the updated conandata.yml results in the following error:
ERROR: approvaltests.cpp/10.13.0: Error in source() method, line 80
filename = url[url.rfind("/") + 1:]
AttributeError: 'list' object has no attribute 'rfind'
The text was updated successfully, but these errors were encountered:
Description
The recipe file of
approvaltests.cpp
has hardcoded logic that assumes only one source url is present per file. This breaks our downstream automation, where we modify conandata.yml file to add custom mirror urls.conan-center-index/recipes/approvaltests.cpp/all/conanfile.py
Lines 77 to 83 in 1ac559d
Judging by conan's source code of
conan.tools.files.get
and.download
, I assume a possible fix could be:Package and Environment Details
Conan profile
n/a
Steps to reproduce
Logs
Click to expand log
Building the package with the updated conandata.yml results in the following error:
The text was updated successfully, but these errors were encountered: