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

Fix dependency parsing from Renovate dependency dashboard #32

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

danlivings-dxw
Copy link
Contributor

This changes the parsing to only process lines between the 'Detected dependencies' header and the next horizontal rule, which fixes an issue where dependency references in previous sections of the dashboard were being parsed incorrectly and sometimes causing weird results.

Example of incorrect parsing (from the nest-template repo's dashboard):
image

Example of fixed parsing (note that Node is listed in the dashboard with two different versions as Dockerfile and .node-version disagree):
image

@danlivings-dxw danlivings-dxw force-pushed the fix/renovate-dependency-dashboard-parsing branch from e1a00ce to 6a3037b Compare September 12, 2024 10:51
@danlivings-dxw danlivings-dxw force-pushed the fix/renovate-dependency-dashboard-parsing branch from 6a3037b to ec39186 Compare September 13, 2024 10:02
This changes the parsing to only process lines between the 'Detected
dependencies' header and the next horizontal rule, which fixes an issue
where dependency references in previous sections of the dashboard were
being parsed incorrectly and sometimes causing weird results.
@danlivings-dxw danlivings-dxw force-pushed the fix/renovate-dependency-dashboard-parsing branch from ec39186 to f0156a1 Compare September 13, 2024 10:03
@danlivings-dxw danlivings-dxw merged commit 6cb8108 into main Sep 13, 2024
2 checks passed
@danlivings-dxw danlivings-dxw deleted the fix/renovate-dependency-dashboard-parsing branch September 13, 2024 10:07
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