Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Refine referenced filenames #3547#3681

Merged
AyanSinhaMahapatra merged 5 commits intodevelopfrom
update-referenced-files
Mar 19, 2024
Merged

Refine referenced filenames #3547#3681
AyanSinhaMahapatra merged 5 commits intodevelopfrom
update-referenced-files

Conversation

Copy link
Member

AyanSinhaMahapatra commented Feb 27, 2024 *
edited by pombredanne
Loading

This PR refine how we handle "referenced filenames" that we track in license detection rules.
We use improved heuristics to decide if a something detected like "See license in COPYING" will follow the license found in the file "COPYING" or not follow and reuse it in the detection, as suggested in the issue:

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled and links the original issue above
  • Tests pass -- look for a green checkbox a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts
  • Updated documentation pages (if applicable)
  • Updated CHANGELOG.rst (if applicable)

AyanSinhaMahapatra added 3 commits December 21, 2023 20:55
Reference: #3547
Signed-off-by: Ayan Sinha Mahapatra
Signed-off-by: Ayan Sinha Mahapatra
Signed-off-by: Ayan Sinha Mahapatra
AyanSinhaMahapatra added this to the v32.1 milestone Mar 18, 2024
Signed-off-by: Ayan Sinha Mahapatra
AyanSinhaMahapatra force-pushed the update-referenced-files branch from e322646 to 49da477 Compare March 18, 2024 11:22
pombredanne changed the title Refine referenced filenames Refine referenced filenames #3547 Mar 18, 2024
pombredanne requested changes Mar 18, 2024
Copy link
Member

pombredanne left a comment

Choose a reason for hiding this comment

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

Thanks!
You may want to add a few other test cases... the current case that passes is not correct.

Signed-off-by: Ayan Sinha Mahapatra
AyanSinhaMahapatra force-pushed the update-referenced-files branch from d6f8109 to 5f28d5c Compare March 19, 2024 09:31
AyanSinhaMahapatra requested a review from pombredanne March 19, 2024 09:55
pombredanne approved these changes Mar 19, 2024
Copy link
Member

pombredanne left a comment

Choose a reason for hiding this comment

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

Thanks! Go!

AyanSinhaMahapatra reacted with thumbs up emoji
AyanSinhaMahapatra merged commit 6c15ebf into develop Mar 19, 2024
AyanSinhaMahapatra deleted the update-referenced-files branch March 19, 2024 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

pombredanne pombredanne approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v32.1

Development

Successfully merging this pull request may close these issues.

2 participants