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

Use go list in the go.mod replacements check to improve reliability #995

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

metlos
Copy link
Contributor

@metlos metlos commented Mar 19, 2024

Use go list -m all to get us the full machine-readable list of modules instead of manually parsing go.mod using grep to correctly check forbidden replacements in the go.mod.

instead of manually parsing go.mod using grep to correctly check forbidden
replacements in the go.mod.
Copy link
Contributor

@xcoulon xcoulon left a comment

Choose a reason for hiding this comment

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

nice! 👍

Copy link
Contributor

@rajivnathan rajivnathan left a comment

Choose a reason for hiding this comment

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

Nice 👍

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
12.9% Duplication on New Code

See analysis details on SonarCloud

Copy link

openshift-ci bot commented Mar 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexeykazakov, metlos, rajivnathan, ranakan19, xcoulon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [alexeykazakov,xcoulon]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metlos
Copy link
Contributor Author

metlos commented Mar 20, 2024

/retest

@MatousJobanek
Copy link
Contributor

/lgtm

@metlos
Copy link
Contributor Author

metlos commented Mar 20, 2024

/retest

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

Merging #995 (31682f3) into master (188cb8a) will decrease coverage by 0.02%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #995      +/-   ##
==========================================
- Coverage   84.75%   84.73%   -0.02%     
==========================================
  Files          55       55              
  Lines        5039     5039              
==========================================
- Hits         4271     4270       -1     
- Misses        584      585       +1     
  Partials      184      184              

see 1 file with indirect coverage changes

@metlos metlos merged commit 3a523da into codeready-toolchain:master Mar 20, 2024
10 of 12 checks passed
@metlos metlos deleted the improve-gomod-check branch March 20, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants