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

Refine referenced filenames #3547 #3681

Merged
merged 5 commits into from
Mar 19, 2024
Merged

Conversation

AyanSinhaMahapatra
Copy link
Contributor

@AyanSinhaMahapatra AyanSinhaMahapatra commented Feb 27, 2024

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 AyanSinhaMahapatra added this to the v32.1 milestone Mar 18, 2024
@pombredanne pombredanne changed the title Refine referenced filenames Refine referenced filenames #3547 Mar 18, 2024
Copy link
Contributor

@pombredanne 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.

Copy link
Contributor

@pombredanne 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 AyanSinhaMahapatra merged commit 6c15ebf into develop Mar 19, 2024
34 checks passed
@AyanSinhaMahapatra 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants