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

342 approximate file matching #432

Merged
merged 13 commits into from
May 16, 2024
Merged

342 approximate file matching #432

merged 13 commits into from
May 16, 2024

Conversation

JonoYang
Copy link
Contributor

No description provided.

Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
    * Fix tests

Signed-off-by: Jono Yang <jyang@nexb.com>
    * Move match.py to match_test_utils.py as we are now just using those functions for testing match functionality than actually using it for matching

Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
    * Use new test data

Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
Copy link
Member

@keshav-space keshav-space left a comment

Choose a reason for hiding this comment

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

Thanks @JonoYang, LGTM! Just a minor nit for your consideration.

matchcode_pipeline/pipelines/matching.py Outdated Show resolved Hide resolved
Copy link
Member

@TG1999 TG1999 left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@keshav-space keshav-space left a comment

Choose a reason for hiding this comment

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

@JonoYang It seems like the APPROXIMATE_MATCHED_TO_PURLDB_RESOURCE flag is not present in scanpipe.pipes.flag. We should add this flag to the upstream SCIO.

@JonoYang
Copy link
Contributor Author

@JonoYang It seems like the APPROXIMATE_MATCHED_TO_PURLDB_RESOURCE flag is not present in scanpipe.pipes.flag. We should add this flag to the upstream SCIO.

I've made a PR for that here: nexB/scancode.io#1239

@JonoYang
Copy link
Contributor Author

Thanks for the review, guys! Merging.

@JonoYang JonoYang merged commit 5b2377b into main May 16, 2024
8 checks passed
@JonoYang JonoYang deleted the 342-approximate-file-matching branch May 16, 2024 21:59
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.

None yet

3 participants