Repository navigation
CLI: support git URLs as directory arguments - #6058
Merged
Merged
Conversation
Signed-off-by: Solomon Hykes <[email protected]>
Contributor
Author
|
I would love to add information about supported formats in the |
Signed-off-by: Erik Sipsma <[email protected]>
Signed-off-by: Erik Sipsma <[email protected]>
Signed-off-by: Erik Sipsma <[email protected]>
helderco
approved these changes
Nov 3, 2023
Contributor
We can add a method to DaggerValue for that so it gets appended to the usage (which comes from the argument's description) in AddFlag (GetCustomFlagValue). That would show in every flag that uses that type, though. To make a separate section in --help dedicated to this we'd have to customize the help template for it. |
schlapzz
pushed a commit
to schlapzz/dagger
that referenced
this pull request
Nov 24, 2023
* CLI: support git URLs as directory arguments Signed-off-by: Solomon Hykes <[email protected]> * use gitutil parser + add test coverage Signed-off-by: Erik Sipsma <[email protected]> * fix docs for module git format Signed-off-by: Erik Sipsma <[email protected]> * use ssh auth socket in git directory args if set Signed-off-by: Erik Sipsma <[email protected]> --------- Signed-off-by: Solomon Hykes <[email protected]> Signed-off-by: Erik Sipsma <[email protected]> Co-authored-by: Erik Sipsma <[email protected]> Signed-off-by: Christian Schlatter <[email protected]>
schlapzz
pushed a commit
to schlapzz/dagger
that referenced
this pull request
Nov 24, 2023
* CLI: support git URLs as directory arguments Signed-off-by: Solomon Hykes <[email protected]> * use gitutil parser + add test coverage Signed-off-by: Erik Sipsma <[email protected]> * fix docs for module git format Signed-off-by: Erik Sipsma <[email protected]> * use ssh auth socket in git directory args if set Signed-off-by: Erik Sipsma <[email protected]> --------- Signed-off-by: Solomon Hykes <[email protected]> Signed-off-by: Erik Sipsma <[email protected]> Co-authored-by: Erik Sipsma <[email protected]>
schlapzz
pushed a commit
to schlapzz/dagger
that referenced
this pull request
Nov 24, 2023
* CLI: support git URLs as directory arguments Signed-off-by: Solomon Hykes <[email protected]> * use gitutil parser + add test coverage Signed-off-by: Erik Sipsma <[email protected]> * fix docs for module git format Signed-off-by: Erik Sipsma <[email protected]> * use ssh auth socket in git directory args if set Signed-off-by: Erik Sipsma <[email protected]> --------- Signed-off-by: Solomon Hykes <[email protected]> Signed-off-by: Erik Sipsma <[email protected]> Co-authored-by: Erik Sipsma <[email protected]>
schlapzz
pushed a commit
to schlapzz/dagger
that referenced
this pull request
Nov 24, 2023
* CLI: support git URLs as directory arguments Signed-off-by: Solomon Hykes <[email protected]> * use gitutil parser + add test coverage Signed-off-by: Erik Sipsma <[email protected]> * fix docs for module git format Signed-off-by: Erik Sipsma <[email protected]> * use ssh auth socket in git directory args if set Signed-off-by: Erik Sipsma <[email protected]> --------- Signed-off-by: Solomon Hykes <[email protected]> Signed-off-by: Erik Sipsma <[email protected]> Co-authored-by: Erik Sipsma <[email protected]>
schlapzz
pushed a commit
to schlapzz/dagger
that referenced
this pull request
Nov 24, 2023
* CLI: support git URLs as directory arguments Signed-off-by: Solomon Hykes <[email protected]> * use gitutil parser + add test coverage Signed-off-by: Erik Sipsma <[email protected]> * fix docs for module git format Signed-off-by: Erik Sipsma <[email protected]> * use ssh auth socket in git directory args if set Signed-off-by: Erik Sipsma <[email protected]> --------- Signed-off-by: Solomon Hykes <[email protected]> Signed-off-by: Erik Sipsma <[email protected]> Co-authored-by: Erik Sipsma <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support values include:
./mydirfile://mydirgit://,ssh://,https://,git+ssh://,git+https://main):https://github.com/dagger/dagger#v0.9.2file://.#main