Skip to content

Commit 1f28056

Browse files
committed
Fixed an issue when using a custom git/ssh package with platform_packages // Resolve platformio#3624
1 parent 7daccee commit 1f28056

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

HISTORY.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,16 @@ PlatformIO Core 5
88

99
**A professional collaborative platform for embedded development**
1010

11-
- `Migration guide from 4.x to 5.0 <https://docs.platformio.org/page/core/migration.html>`__
11+
5.0.1 (2020-??-??)
12+
~~~~~~~~~~~~~~~~~~
13+
14+
- Fixed an issue when using a custom git/ssh package with `platform_packages <https://docs.platformio.org/page/projectconf/section_env_platform.html#platform-packages>`__ option (`issue #3624 <https://github.com/platformio/platformio-core/issues/3624>`_)
1215

1316
5.0.0 (2020-09-03)
1417
~~~~~~~~~~~~~~~~~~
1518

19+
Please check `Migration guide from 4.x to 5.0 <https://docs.platformio.org/page/core/migration.html>`__.
20+
1621
* Integration with the new **PlatformIO Trusted Registry**
1722

1823
- Enterprise-grade package storage with high availability (multi replicas)

platformio/platform/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def packages(self):
9494
name = item
9595
version = "*"
9696
if "@" in item:
97-
name, version = item.split("@", 2)
97+
name, version = item.split("@", 1)
9898
spec = self.pm.ensure_spec(name)
9999
options = {"version": version.strip(), "optional": False}
100100
if spec.owner:

0 commit comments

Comments
 (0)