Join GitHub today
Unable to include ssh user in lib_deps repository url #830
Operating system: macOS Seirra
PlatformIO Version: 3.1.0
Description of problem
When including a git+ssh repository URL with the ssh username included the library installer will throw an AssertionError due to a version mismatch.
Steps to Reproduce
Library should install correctly.
If problems with PlatformIO Build System:
The content of
[env:teensy31] platform = teensy board = teensy31 framework = arduino lib_deps = git+ssh://firstname.lastname@example.org/a2hill/my-private-project.git#3.1.8
Source file to reproduce issue:
This is important for privately hosted repository solutions (like GitLab) where a single 'git' user is used to control access to the repositories via public/private key authentication.
I know that URL's from lib_deps are sent directly to the platformio lib install utility. So after looking at the documentation I saw an option for
This was referenced
Nov 18, 2016
@ivankravets it seems to be that the issue returned with the latest version if pio core.
The path to the repo is:
Should be fixed in previous releases. See https://github.com/platformio/platformio-core/blob/develop/tests/test_managers.py#L127