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

✨ scdiff: add output flag to generate #3341

Merged
merged 7 commits into from
Aug 7, 2023

Conversation

spencerschrock
Copy link
Member

What kind of change does this PR introduce?

feature

What is the current behavior?

output goes to stdout

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

output can be redirected to a file with the --output flag

  • Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

Related to #2462, 3/n

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.)


Signed-off-by: Spencer Schrock <[email protected]>
@spencerschrock spencerschrock temporarily deployed to gitlab August 2, 2023 20:00 — with GitHub Actions Inactive
@spencerschrock spencerschrock temporarily deployed to integration-test August 2, 2023 20:01 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #3341 (fdbfcf4) into main (097f6c7) will decrease coverage by 6.24%.
The diff coverage is 50.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3341      +/-   ##
==========================================
- Coverage   73.74%   67.50%   -6.24%     
==========================================
  Files         178      178              
  Lines       12862    12874      +12     
==========================================
- Hits         9485     8691     -794     
- Misses       2835     3675     +840     
+ Partials      542      508      -34     

@spencerschrock spencerschrock marked this pull request as draft August 2, 2023 20:27
@spencerschrock spencerschrock temporarily deployed to gitlab August 2, 2023 20:44 — with GitHub Actions Inactive
@spencerschrock spencerschrock temporarily deployed to integration-test August 2, 2023 20:45 — with GitHub Actions Inactive
Signed-off-by: Spencer Schrock <[email protected]>
@spencerschrock spencerschrock temporarily deployed to gitlab August 2, 2023 20:57 — with GitHub Actions Inactive
@spencerschrock spencerschrock marked this pull request as ready for review August 2, 2023 20:58
@spencerschrock spencerschrock temporarily deployed to integration-test August 2, 2023 20:58 — with GitHub Actions Inactive
Signed-off-by: Spencer Schrock <[email protected]>
@spencerschrock spencerschrock temporarily deployed to gitlab August 7, 2023 22:59 — with GitHub Actions Inactive
@spencerschrock spencerschrock temporarily deployed to integration-test August 7, 2023 22:59 — with GitHub Actions Inactive
@spencerschrock spencerschrock merged commit 9aefbba into ossf:main Aug 7, 2023
@spencerschrock spencerschrock deleted the golden/to-file branch August 7, 2023 23:21
ashearin pushed a commit to kgangerlm/scorecard-gitlab that referenced this pull request Nov 13, 2023
* Write to file if --output specified.

Signed-off-by: Spencer Schrock <[email protected]>

* add tests for generate.

Signed-off-by: Spencer Schrock <[email protected]>

* Keep the file stuff in the cobra command.

Signed-off-by: Spencer Schrock <[email protected]>

* add doc to generate.

Signed-off-by: Spencer Schrock <[email protected]>

* fix linter, parallelize test.

Signed-off-by: Spencer Schrock <[email protected]>

* Add tracking issue.

Signed-off-by: Spencer Schrock <[email protected]>

---------

Signed-off-by: Spencer Schrock <[email protected]>
Signed-off-by: Allen Shearin <[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.

2 participants