Skip to content
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

[cli] correctly detect URL of git submodules #4503

Merged
merged 2 commits into from
Jun 15, 2021

Conversation

JanKoehnlein
Copy link
Contributor

No description provided.

@JanKoehnlein
Copy link
Contributor Author

When pushing a git submodule, the command line from the process tree looks like

/usr/lib/git-core/git-remote-https origin https://github.com/gitpod-io/gitpod

i.e. the URL doesn't end in .git.

Related to #4503

@codecov
Copy link

codecov bot commented Jun 14, 2021

Codecov Report

Merging #4503 (3ff79f6) into main (2a408d8) will increase coverage by 6.86%.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           main   #4503      +/-   ##
=======================================
+ Coverage      0   6.86%   +6.86%     
=======================================
  Files         0      14      +14     
  Lines         0     962     +962     
=======================================
+ Hits          0      66      +66     
- Misses        0     895     +895     
- Partials      0       1       +1     
Impacted Files Coverage Δ
components/gitpod-cli/cmd/credential-helper.go 1.25% <0.00%> (ø)
components/gitpod-cli/cmd/preview.go 32.14% <0.00%> (ø)
components/gitpod-cli/cmd/url.go 30.76% <0.00%> (ø)
components/gitpod-cli/cmd/env.go 2.42% <0.00%> (ø)
components/gitpod-cli/cmd/completion.go 40.00% <0.00%> (ø)
components/gitpod-cli/cmd/init.go 1.86% <0.00%> (ø)
components/gitpod-cli/cmd/open.go 4.54% <0.00%> (ø)
components/gitpod-cli/cmd/root.go 0.00% <0.00%> (ø)
components/gitpod-cli/cmd/sync-await.go 10.52% <0.00%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2a408d8...3ff79f6. Read the comment docs.

@corneliusludmann
Copy link
Contributor

Related to #4503

Is it a joke or did you accidentally self-reference this PR? 🤔

@JanKoehnlein JanKoehnlein merged commit 4cb9104 into main Jun 15, 2021
@JanKoehnlein JanKoehnlein deleted the jk/token-validator-submodules branch June 15, 2021 07:56
corneliusludmann added a commit that referenced this pull request Jun 15, 2021
* [cli] correctly detect URL of git submodules

* Update components/gitpod-cli/cmd/credential-helper.go

Co-authored-by: Cornelius A. Ludmann <[email protected]>

Co-authored-by: Cornelius A. Ludmann <[email protected]>
MatthewFagan pushed a commit to trilogy-group/gitpod that referenced this pull request Nov 24, 2021
* [cli] correctly detect URL of git submodules

* Update components/gitpod-cli/cmd/credential-helper.go

Co-authored-by: Cornelius A. Ludmann <[email protected]>

Co-authored-by: Cornelius A. Ludmann <[email protected]>
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.

3 participants