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

📖 Update docs on how to run and debug locally #2587

Merged

Conversation

gabibguti
Copy link
Contributor

Signed-off-by: Gabriela Gutierrez gabigutierrez@google.com

What kind of change does this PR introduce?

Update docs on how to how to run Scorecard locally and debug Go files by logging to console or to an output file.

What is the current behavior?

Currently the docs don't explain how to run Scorecard locally, only how to build it. I added instructions on how to run it locally. The other thing is there are currently no debug instructions. Debugging is more Go language related than Scorecard related but I thought adding some debug instructions would be useful.

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

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

Which issue(s) this PR fixes

None.

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

Update docs on how to run and debug Scorecard locally

@gabibguti gabibguti temporarily deployed to integration-test January 9, 2023 14:25 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Jan 9, 2023

Codecov Report

Merging #2587 (f539969) into main (2ea140a) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2587   +/-   ##
=======================================
  Coverage   41.27%   41.27%           
=======================================
  Files         123      123           
  Lines       10043    10043           
=======================================
  Hits         4145     4145           
  Misses       5602     5602           
  Partials      296      296           

@github-actions
Copy link

github-actions bot commented Jan 9, 2023

Integration tests success for
[8416882]
(https://github.com/ossf/scorecard/actions/runs/3874689467)

Copy link
Member

@naveensrinivasan naveensrinivasan left a comment

Choose a reason for hiding this comment

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

Thanks!

CONTRIBUTING.md Outdated Show resolved Hide resolved
@gabibguti gabibguti temporarily deployed to integration-test January 10, 2023 14:22 — with GitHub Actions Inactive
@github-actions
Copy link

Integration tests success for
[d6014ff]
(https://github.com/ossf/scorecard/actions/runs/3884219271)

Copy link
Member

@naveensrinivasan naveensrinivasan left a comment

Choose a reason for hiding this comment

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

Thank you!

@github-actions
Copy link

Stale pull request message

@naveensrinivasan naveensrinivasan temporarily deployed to integration-test January 21, 2023 14:35 — with GitHub Actions Inactive
@github-actions
Copy link

Integration tests success for
[9056020]
(https://github.com/ossf/scorecard/actions/runs/3975266992)

@github-actions
Copy link

github-actions bot commented Feb 1, 2023

Stale pull request message

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
@naveensrinivasan naveensrinivasan temporarily deployed to integration-test February 1, 2023 03:49 — with GitHub Actions Inactive
@github-actions
Copy link

github-actions bot commented Feb 1, 2023

Integration tests success for
[f539969]
(https://github.com/ossf/scorecard/actions/runs/4060763023)

@naveensrinivasan naveensrinivasan merged commit 0f33c37 into ossf:main Feb 1, 2023
@gabibguti gabibguti deleted the docs/how-to-local-run-and-debug branch February 1, 2023 12:48
raghavkaul pushed a commit to raghavkaul/scorecard that referenced this pull request Feb 9, 2023
* Change docs on how to run and debug locally

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>

* Remove docs section on debug Go lang

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
Shofiya2003 pushed a commit to Shofiya2003/scorecard that referenced this pull request Mar 10, 2023
* Change docs on how to run and debug locally

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>

* Remove docs section on debug Go lang

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
Signed-off-by: Shofiya2003 <shofiyabootwala@gmail.com>
Shofiya2003 pushed a commit to Shofiya2003/scorecard that referenced this pull request Mar 10, 2023
* Change docs on how to run and debug locally

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>

* Remove docs section on debug Go lang

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
Signed-off-by: Shofiya2003 <shofiyabootwala@gmail.com>
raghavkaul pushed a commit to raghavkaul/scorecard that referenced this pull request Apr 4, 2023
* Change docs on how to run and debug locally

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>

* Remove docs section on debug Go lang

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>

Signed-off-by: Gabriela Gutierrez <gabigutierrez@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.

2 participants