diff --git a/platformio/commands/home.py b/platformio/commands/home.py new file mode 100644 index 00000000..328298e9 --- /dev/null +++ b/platformio/commands/home.py @@ -0,0 +1,27 @@ +# Copyright (c) 2014-present PlatformIO +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import sys + +import click + +from platformio.managers.core import pioplus_call + + +@click.command("home", short_help="PIO Home") +@click.option( + "--port", "-p", type=int, default=8008, help="HTTP port, default=8008") +@click.option("--no-open", is_flag=True) +def cli(*args, **kwargs): # pylint: disable=unused-argument + pioplus_call(sys.argv[1:]) diff --git a/platformio/maintenance.py b/platformio/maintenance.py index 3e198f08..db4ac275 100644 --- a/platformio/maintenance.py +++ b/platformio/maintenance.py @@ -98,7 +98,7 @@ class Upgrader(object): self._upgrade_to_3_0_0), (semantic_version.Version("3.0.0-b.11"), self._upgrade_to_3_0_0b11), - (semantic_version.Version("3.4.0-a.9"), + (semantic_version.Version("3.5.0-a.2"), self._update_dev_platforms)] def run(self, ctx): diff --git a/platformio/managers/core.py b/platformio/managers/core.py index b052c23e..b9dae1d4 100644 --- a/platformio/managers/core.py +++ b/platformio/managers/core.py @@ -21,8 +21,9 @@ from platformio import __version__, exception, util from platformio.managers.package import PackageManager CORE_PACKAGES = { - "pysite-pioplus": ">=0.3.0,<2", - "tool-pioplus": ">=0.9.1,<2", + "contrib-piohome": "<2", + "pysite-pioplus": ">=0.4.2,<2", + "tool-pioplus": ">=0.10.0,<2", "tool-unity": "~1.20302.1", "tool-scons": "~3.20501.2" }