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

Make markdown reporter more diff friendly #326

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

suniala
Copy link

@suniala suniala commented Jan 11, 2025

The markdown report is a convenient because it is nice to read when rendered to html but its source is also nice to read when compared to html report, for example. The markdown report can also be added to version control in order to track and verify changes to licenses.

However, the timestamp and counter values included in the report make it unfriendly for diffing. For example, adding or removing a dependency may cause tens or hundred of modified lines in a diff.

I propose we make it configurable if timetamp or counter values should be included in the report. This is what I have implemented in this pull request. The change should be backwards compatible because the default values are such that the timestamp and counter values are included in the report.

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.

1 participant