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

fix: log error when failing to get git client #12876

Merged
merged 4 commits into from
Mar 24, 2023

Conversation

crenshaw-dev
Copy link
Collaborator

Note on DCO:

If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • Optional. My organization is added to USERS.md.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).
  • My new feature complies with the feature status guidelines.
  • I have added a brief description of why this PR is necessary and/or what this PR solves.

Please see Contribution FAQs if you have questions about your pull-request.

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Mar 15, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (5d53415) 48.92% compared to head (4df3559) 48.92%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12876      +/-   ##
==========================================
- Coverage   48.92%   48.92%   -0.01%     
==========================================
  Files         246      246              
  Lines       42360    42362       +2     
==========================================
  Hits        20724    20724              
- Misses      19531    19533       +2     
  Partials     2105     2105              
Impacted Files Coverage Δ
reposerver/repository/repository.go 60.42% <0.00%> (-0.07%) ⬇️

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@crenshaw-dev
Copy link
Collaborator Author

/cherry-pick release-2.4

@crenshaw-dev
Copy link
Collaborator Author

/cherry-pick release-2.5

@crenshaw-dev
Copy link
Collaborator Author

/cherry-pick release-2.6

Copy link
Member

@jannfis jannfis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with two minor nits regarding capitalization.

reposerver/repository/repository.go Outdated Show resolved Hide resolved
reposerver/repository/repository.go Outdated Show resolved Hide resolved
crenshaw-dev and others added 2 commits March 23, 2023 17:42
Co-authored-by: jannfis <jann@mistrust.net>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: jannfis <jann@mistrust.net>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@crenshaw-dev crenshaw-dev enabled auto-merge (squash) March 23, 2023 21:42
@crenshaw-dev crenshaw-dev merged commit 8f1b5d5 into argoproj:master Mar 24, 2023
@gcp-cherry-pick-bot
Copy link

Cherry-pick failed with Merge error 8f1b5d54fa964f69d62e4b278d0276bab8982d73 into temp-cherry-pick-730ffc-release-2.4

@gcp-cherry-pick-bot
Copy link

Cherry-pick failed with Merge error 8f1b5d54fa964f69d62e4b278d0276bab8982d73 into temp-cherry-pick-730ffc-release-2.5

gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Mar 24, 2023
* fix: log error when failing to get git client

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* Update reposerver/repository/repository.go

Co-authored-by: jannfis <jann@mistrust.net>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* Update reposerver/repository/repository.go

Co-authored-by: jannfis <jann@mistrust.net>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: jannfis <jann@mistrust.net>
crenshaw-dev added a commit that referenced this pull request Mar 24, 2023
* fix: log error when failing to get git client



* Update reposerver/repository/repository.go




* Update reposerver/repository/repository.go




---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: jannfis <jann@mistrust.net>
@crenshaw-dev crenshaw-dev deleted the failed-git-client-logs branch March 24, 2023 15:42
@crenshaw-dev
Copy link
Collaborator Author

No need to cherry-pick back further than 2.6. This only applies to multi-source apps, which were introduced in 2.6.

yyzxw pushed a commit to yyzxw/argo-cd that referenced this pull request Aug 9, 2023
* fix: log error when failing to get git client

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* Update reposerver/repository/repository.go

Co-authored-by: jannfis <jann@mistrust.net>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* Update reposerver/repository/repository.go

Co-authored-by: jannfis <jann@mistrust.net>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: jannfis <jann@mistrust.net>
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.

None yet

3 participants