-
Notifications
You must be signed in to change notification settings - Fork 23
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
#312: Added ability to prefer git (ssh) protocol instead of https for cloning repos #724
#312: Added ability to prefer git (ssh) protocol instead of https for cloning repos #724
Conversation
… GitUrl.java to process ssh urls as well, and added tests
Co-authored-by: Jörg Hohwiller <[email protected]>
….java Co-authored-by: Jörg Hohwiller <[email protected]>
…num.java and seperate IdeVariable, moved test functions to GitUrlSyntax.java
# Conflicts: # cli/src/main/java/com/devonfw/tools/ide/context/GitContextImpl.java
…project for git based implementations and its config file
…to Enhancement/git_ssh_protocol
…to Enhancement/git_ssh_protocol
…aces and home dir in test env
…to Enhancement/git_ssh_protocol
…itionEnum.java Co-authored-by: Jörg Hohwiller <[email protected]>
…to Enhancement/git_ssh_protocol
…into devonfw#312-enhance-git-syntax-urls
Pull Request Test Coverage Report for Build 11783308535Details
💛 - Coveralls |
…com/alfeilex/IDEasy into devonfw#312-enhance-git-syntax-urls
cli/src/main/java/com/devonfw/tools/ide/context/GitContextImpl.java
Outdated
Show resolved
Hide resolved
cli/src/main/java/com/devonfw/tools/ide/context/GitUrlSyntax.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alfeilex thanks for taking over this PR and completing it. All seems functionally correct and complete now. 👍
I left some comments for final improvement. Please have a look. We can merge if resolved.
cli/src/main/java/com/devonfw/tools/ide/context/GitUrlSyntax.java
Outdated
Show resolved
Hide resolved
cli/src/main/java/com/devonfw/tools/ide/context/GitUrlSyntax.java
Outdated
Show resolved
Hide resolved
cli/src/main/java/com/devonfw/tools/ide/context/GitContextImpl.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alfeilex thanks for the rework. All perfect now 👍
Ready for merge.
This PR finishes PR #625
Fixes #312
PREFERRED_GIT_PROTOCOL
property to allow configuration of preferred Git protocol (SSH or HTTPS).PREFERRED_GIT_PROTOCOL
is not defined then URL doesn't change