fix(controller): make git repo retain url suitable for use by external callers of URL() method
Fixes #5344
Internally, implementations of git.Repo hang on to URLs that often contain @username, but callers of the URL() method rightfully expect it to return the original URL that was provided to the git.Clone() or git.CloneBare() function.
Deploy Preview for docs-kargo-io canceled.
| Name | Link |
|---|---|
| Latest commit | bdb6abcd6d799acf73cb410f79e8343c7c4467c7 |
| Latest deploy log | https://app.netlify.com/projects/docs-kargo-io/deploys/692610fdc982c7000750e8e2 |
Codecov Report
:x: Patch coverage is 50.00000% with 44 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 55.06%. Comparing base (5ca84ef) to head (bdb6abc).
:warning: Report is 1 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #5350 +/- ##
==========================================
- Coverage 55.09% 55.06% -0.04%
==========================================
Files 426 426
Lines 31442 31485 +43
==========================================
+ Hits 17324 17338 +14
- Misses 13121 13146 +25
- Partials 997 1001 +4
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Question: I was helping a user where the argocd-update step was passing this as repoURL:
- https://github.com/my-org/my-repo.git
but Argo's Application was configured without the .git:
- https://github.com/my-org/my-repo
And so the argocd-update step was not updating the app properly. Would this fix have helped?
@jessesuen I don't believe so. That sounds like a bug, but likely unrelated to this.
Successfully created backport PR for release-1.8:
- #5430