Skip to content

Conversation

@zvigrinberg
Copy link
Contributor

@zvigrinberg zvigrinberg commented Dec 7, 2023

Description

  1. Fix parsing of dependency from dependency tree text format, taking into account also maven artifacts with classifier ( aka version suffix)

  2. Use a single simplified REGEX with global regex flag (/g) in order to parse all dependencies from dependency tree correctly and efficiently.

  3. omit redundant characters from REGEX used to choose the right resolved version for artifact that had conflicts - this caused all the discrepancies between exhort-java-api and exhort-javascript-api for maven stack analysis.

  4. Fixing broken Integration tests.

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

Additional information

the above 3 fixes closing the following tickets:

https://issues.redhat.com/browse/TC-766
https://issues.redhat.com/browse/TC-797

fix Jira Ticket: https://issues.redhat.com/browse/TC-766
fix Jira Ticket  https://issues.redhat.com/browse/TC-797

Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
@zvigrinberg zvigrinberg merged commit 582e7f1 into main Dec 7, 2023
@zvigrinberg zvigrinberg deleted the hotfix/maven-deps-parsing-bugs branch December 7, 2023 23:21
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