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 --local functionality #2342

Merged
merged 1 commit into from
Oct 11, 2022
Merged

Conversation

spencerschrock
Copy link
Contributor

Signed-off-by: Spencer Schrock sschrock@google.com

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

A bug prevents running on local repos

What is the new behavior (if this is a feature change)?**

Running scorecard locally reports a commit of "unknown" since the local directory client doesn't support ListCommits. "unknown" is what was being returned before by sigs.k8s.io/release-utils/version.GetVersionInfo()

  "scorecard": {
    "version": "",
    "commit": "unknown"
  },
  • Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

Fixes #2334

Special notes for your reviewer

Does this PR introduce a user-facing change?

For user-facing changes, please add a concise, human-readable release note to
the release-note

(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

NONE

Signed-off-by: Spencer Schrock <sschrock@google.com>
@codecov
Copy link

codecov bot commented Oct 11, 2022

Codecov Report

Merging #2342 (877ada4) into main (83db8ba) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2342      +/-   ##
==========================================
+ Coverage   40.52%   40.55%   +0.03%     
==========================================
  Files         112      112              
  Lines        8820     8822       +2     
==========================================
+ Hits         3574     3578       +4     
+ Misses       4985     4984       -1     
+ Partials      261      260       -1     

@naveensrinivasan naveensrinivasan enabled auto-merge (squash) October 11, 2022 17:28
@github-actions
Copy link

Integration tests success for
[877ada4]
(https://github.com/ossf/scorecard/actions/runs/3228858556)

@naveensrinivasan naveensrinivasan merged commit 9b9006e into ossf:main Oct 11, 2022
@spencerschrock spencerschrock deleted the local-repo branch October 11, 2022 17:32
latortuga71 pushed a commit to latortuga71/scorecard that referenced this pull request Oct 27, 2022
Signed-off-by: Spencer Schrock <sschrock@google.com>

Signed-off-by: Spencer Schrock <sschrock@google.com>
Signed-off-by: latortuga <latortugaaaa>
N8BWert pushed a commit to N8BWert/scorecard that referenced this pull request Nov 28, 2022
Signed-off-by: Spencer Schrock <sschrock@google.com>

Signed-off-by: Spencer Schrock <sschrock@google.com>
Signed-off-by: nathaniel.wert <nathaniel.wert@kudelskisecurity.com>
N8BWert pushed a commit to N8BWert/scorecard that referenced this pull request Nov 28, 2022
Signed-off-by: Spencer Schrock <sschrock@google.com>

Signed-off-by: Spencer Schrock <sschrock@google.com>
Signed-off-by: nathaniel.wert <nathaniel.wert@kudelskisecurity.com>
raghavkaul pushed a commit to raghavkaul/scorecard that referenced this pull request Feb 9, 2023
Signed-off-by: Spencer Schrock <sschrock@google.com>

Signed-off-by: Spencer Schrock <sschrock@google.com>
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.

BUG: Scorecard does not run any checks on local repos
3 participants