forked from platformio/platformio-core
Renamed "enable_ssl" setting to "strict_ssl"
This commit is contained in:
@ -9,10 +9,11 @@ PlatformIO 4.0
|
|||||||
4.0.1 (2019-??-??)
|
4.0.1 (2019-??-??)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
* Print `debug tool <http://docs.platformio.org/en/latest/plus/debugging.html#tools-debug-probes>`__ name for the active debugging session
|
* Print `debug tool <http://docs.platformio.org/page/plus/debugging.html#tools-debug-probes>`__ name for the active debugging session
|
||||||
* Do not shutdown PIO Home Server for "upgrade" operations (`issue #2784 <https://github.com/platformio/platformio-core/issues/2784>`_)
|
* Do not shutdown PIO Home Server for "upgrade" operations (`issue #2784 <https://github.com/platformio/platformio-core/issues/2784>`_)
|
||||||
* Improved computing of project check sum (structure, configuration) and avoid unnecessary rebuilding
|
* Improved computing of project check sum (structure, configuration) and avoid unnecessary rebuilding
|
||||||
* Fixed an issue with incorrect escaping of Windows slashes when using `PIO Unified Debugger <http://docs.platformio.org/en/latest/plus/debugging.html>`__ and "piped" openOCD
|
* Renamed "enable_ssl" setting to `strict_ssl <http://docs.platformio.org/page/userguide/cmd_settings.html#strict-ssl>`__
|
||||||
|
* Fixed an issue with incorrect escaping of Windows slashes when using `PIO Unified Debugger <http://docs.platformio.org/page/plus/debugging.html>`__ and "piped" openOCD
|
||||||
|
|
||||||
4.0.0 (2019-07-10)
|
4.0.0 (2019-07-10)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -129,12 +129,13 @@ Contributing
|
|||||||
See `contributing guidelines <https://github.com/platformio/platformio/blob/develop/CONTRIBUTING.md>`_.
|
See `contributing guidelines <https://github.com/platformio/platformio/blob/develop/CONTRIBUTING.md>`_.
|
||||||
|
|
||||||
Telemetry / Privacy Policy
|
Telemetry / Privacy Policy
|
||||||
---------------------------
|
--------------------------
|
||||||
|
|
||||||
Share diagnostics and usage information to help us make PlatformIO better. It is enabled by default. For more information see:
|
Share minimal diagnostics and usage information to help us make PlatformIO better.
|
||||||
|
It is enabled by default. For more information see:
|
||||||
|
|
||||||
* `Telemetry Setting <https://docs.platformio.org/en/latest/userguide/cmd_settings.html?utm_source=github&utm_medium=core#enable-telemetry>`_
|
* `Telemetry Setting <https://docs.platformio.org/en/latest/userguide/cmd_settings.html?utm_source=github&utm_medium=core#enable-telemetry>`_
|
||||||
* `SSL Setting <https://docs.platformio.org/en/latest/userguide/cmd_settings.html?utm_source=github&utm_medium=core#enable-ssl>`_
|
* `SSL Setting <https://docs.platformio.org/en/latest/userguide/cmd_settings.html?utm_source=github&utm_medium=core#strict-ssl>`_
|
||||||
|
|
||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
|
2
docs
2
docs
Submodule docs updated: 3f6ebfa0a9...994c821046
@ -73,8 +73,8 @@ DEFAULT_SETTINGS = {
|
|||||||
"description": "Enable caching for API requests and Library Manager",
|
"description": "Enable caching for API requests and Library Manager",
|
||||||
"value": True
|
"value": True
|
||||||
},
|
},
|
||||||
"enable_ssl": {
|
"strict_ssl": {
|
||||||
"description": "Enable SSL for PlatformIO Services",
|
"description": "Strict SSL for PlatformIO Services",
|
||||||
"value": False
|
"value": False
|
||||||
},
|
},
|
||||||
"enable_telemetry": {
|
"enable_telemetry": {
|
||||||
|
@ -211,7 +211,7 @@ class LibraryManager(BasePkgManager):
|
|||||||
|
|
||||||
return self._install_from_url(
|
return self._install_from_url(
|
||||||
name, dl_data['url'].replace("http://", "https://")
|
name, dl_data['url'].replace("http://", "https://")
|
||||||
if app.get_setting("enable_ssl") else dl_data['url'], requirements)
|
if app.get_setting("strict_ssl") else dl_data['url'], requirements)
|
||||||
|
|
||||||
def search_lib_id( # pylint: disable=too-many-branches
|
def search_lib_id( # pylint: disable=too-many-branches
|
||||||
self,
|
self,
|
||||||
|
@ -47,7 +47,7 @@ class PlatformManager(BasePkgManager):
|
|||||||
repositories = [
|
repositories = [
|
||||||
"https://dl.bintray.com/platformio/dl-platforms/manifest.json",
|
"https://dl.bintray.com/platformio/dl-platforms/manifest.json",
|
||||||
"{0}://dl.platformio.org/platforms/manifest.json".format(
|
"{0}://dl.platformio.org/platforms/manifest.json".format(
|
||||||
"https" if app.get_setting("enable_ssl") else "http")
|
"https" if app.get_setting("strict_ssl") else "http")
|
||||||
]
|
]
|
||||||
BasePkgManager.__init__(self, package_dir
|
BasePkgManager.__init__(self, package_dir
|
||||||
or get_project_platforms_dir(), repositories)
|
or get_project_platforms_dir(), repositories)
|
||||||
|
@ -302,6 +302,9 @@ def measure_ci():
|
|||||||
},
|
},
|
||||||
"DRONE": {
|
"DRONE": {
|
||||||
"label": getenv("DRONE_REPO_SLUG")
|
"label": getenv("DRONE_REPO_SLUG")
|
||||||
|
},
|
||||||
|
"GITLAB": {
|
||||||
|
"label": getenv("CI_PROJECT_PATH_SLUG")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -333,7 +333,7 @@ def _get_api_result(
|
|||||||
headers = get_request_defheaders()
|
headers = get_request_defheaders()
|
||||||
if not url.startswith("http"):
|
if not url.startswith("http"):
|
||||||
url = __apiurl__ + url
|
url = __apiurl__ + url
|
||||||
if not get_setting("enable_ssl"):
|
if not get_setting("strict_ssl"):
|
||||||
url = url.replace("https://", "http://")
|
url = url.replace("https://", "http://")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user