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

chore: add script to verify READMEs and apply few fixes #2242

Merged
merged 13 commits into from
Jun 20, 2024

Conversation

blumamir
Copy link
Member

@blumamir blumamir commented May 25, 2024

I am looking into opportunities to improve how we manage READMEs.

This PR adds a script to verify few peaces of instrumentation README, as well as introducing few fixes where the content was wrong, missing, or not consistent with other packages.

Currently, this is done for instrumentation packages, but can be extended to other packages later on

Comment on lines 86 to 87
[pkg-repo-url]: https://github.com/nestjs/nest
[pkg-npm-url]: https://www.npmjs.com/package/@nestjs/core
Copy link
Member Author

Choose a reason for hiding this comment

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

these were not used in the readme

Copy link

codecov bot commented May 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.30%. Comparing base (dfb2dff) to head (3127d3f).
Report is 170 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2242      +/-   ##
==========================================
- Coverage   90.97%   90.30%   -0.68%     
==========================================
  Files         146      147       +1     
  Lines        7492     7263     -229     
  Branches     1502     1509       +7     
==========================================
- Hits         6816     6559     -257     
- Misses        676      704      +28     

see 57 files with indirect coverage changes

@maryliag
Copy link
Contributor

It would be really nice if this also had an option of readme:fix, similar to lint:fix

Copy link
Contributor

@trentm trentm left a comment

Choose a reason for hiding this comment

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

Some nits.

.github/workflows/lint.yml Outdated Show resolved Hide resolved
scripts/verify-readme.js Outdated Show resolved Hide resolved
scripts/verify-readme.js Outdated Show resolved Hide resolved
Copy link
Member

@JamieDanielson JamieDanielson left a comment

Choose a reason for hiding this comment

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

Good old fashioned homemade linter 🤖 Love this for consistency

scripts/lint-readme.js Outdated Show resolved Hide resolved
@blumamir blumamir merged commit 2b117bb into open-telemetry:main Jun 20, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment