-
-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to include ssh user in lib_deps repository url #830
Comments
@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 |
Configuration
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
git+ssh://[email protected]/a2hill/my-private-project.git#3.1.8
Actual Results
Expected Results
Library should install correctly.
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
Additional info
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
platformio lib [STORAGE_OPTIONS] install <name>@<version>
. To me it looks like the url parser is splitting on the '@' symbol and treating the second token as a version when in reality it is just the rest of the URL.The text was updated successfully, but these errors were encountered: