Skip to content

Conversation

@oldium
Copy link

@oldium oldium commented Oct 27, 2025

When the URL explicitly contains https, do not try to switch to ssh. This change is necessary for npm to retain the protocol, please see the link and the referenced issues here and here reporting problems when using ssh instead of requested https.

References

Relates to npm/cli#8703

@oldium oldium requested a review from a team as a code owner October 27, 2025 15:51
@wraithgar wraithgar changed the title bugfix: do not switch to git+ssh for https repository links fix: do not switch to git+ssh for https repository links Nov 13, 2025
When the URL explicitly contains https, do not try to switch to ssh. This
change is necessary for [npm][3] to retain the protocol, please see the
link and the referenced issues [here][1] and [here][2] reporting problems
when using ssh instead of requested https.

[1]: npm/cli#2610
[2]: npm/cli#4305
[3]: npm/cli#8703

Signed-off-by: Oldřich Jedlička <[email protected]>
@oldium
Copy link
Author

oldium commented Nov 22, 2025

Rebased to latest main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant