JFrog shutdowns Bintray

This commit is contained in:
Ivan Kravets
2021-03-03 21:31:42 +02:00
parent 21886517e1
commit 244dba3614
2 changed files with 6 additions and 2 deletions

2
docs

Submodule docs updated: 0613d4fba9...5502e13ca5

View File

@ -253,5 +253,9 @@ class ManifestSchema(BaseSchema):
@staticmethod
@memoized(expire="1h")
def load_spdx_licenses():
spdx_data_url = "https://dl.bintray.com/platformio/dl-misc/spdx-licenses-3.json"
version = "3.11"
spdx_data_url = (
"hhttps://raw.githubusercontent.com/spdx/license-list-data/"
"v%s/json/licenses.json" % version
)
return json.loads(fetch_remote_content(spdx_data_url))