-
Notifications
You must be signed in to change notification settings - Fork 436
Update README.md #1475
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 README.md #1475
Conversation
This seems to be a common question that is quite difficult to answer. The most visible solution I found previously was to use the `remove_from_coverage` package to remove generated files from the coverage report. That solution complicates CLI commands and requires updating CI/CD pipelines.
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
@travis-mortimer – you need to update the template file and re-run build. The readme is generated! |
…exclude generated files from coverage
|
@travis-mortimer – you'll need to re-run the build, too
|
I did run that command and the generated readme was (apparently) identical to what I had previously committed. When I attempted to stage the file, it disappeared. I also saw this error and ~47 Can you help me better understand what changes are expected from running the build after updating the template? |
|
Are you on a windows machine, @travis-mortimer ? The readme is generated from the template. And I check that the root readme is in sync w/ the template as part of CI. So both files should be updated w/ your change. Ideally the root readme is updated by running the builder on your dev machine, but hand editing both should work, too. Have you run |
Yes I am, though I have access to a mac if we expect running it on that machine will yield better results. I did not run UPDATE: I see the same error when running the build after a UPDATE UPDATE: When you say "root" readme, do I assume correctly that you are referring to the root of the json_serializable directory, and not of the monorepo? @kevmoo I ran it on a mac without error, but there were no differences from the hand-edit. Are there any other changes you'd like me to make? |
|
@kevmoo Are there any other changes you'd like me to make? |
|
thanks for your patience here @travis-mortimer . Trying to kick it a bit from my side... |
This seems to be a common question that is quite difficult to answer. The most visible solution I found previously was to use the `remove_from_coverage` package to remove generated files from the coverage report. That solution complicates CLI commands and requires updating CI/CD pipelines.

This seems to be a common question that is quite difficult to answer. The most visible solution I found previously was to use the
remove_from_coveragepackage to remove generated files from the coverage report. That solution complicates CLI commands and may require updating CI/CD pipelines.