Skip to content

fix(askalono): Crawl in all files instead of just license-like ones #10380

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sschuberth
Copy link
Member

Also see the hint at 1.

@sschuberth sschuberth requested a review from a team as a code owner May 26, 2025 10:24
@sschuberth sschuberth enabled auto-merge (rebase) May 26, 2025 10:24
@sschuberth sschuberth force-pushed the askalono-all-files branch from 4db6287 to 056ae76 Compare May 26, 2025 10:36
@sschuberth sschuberth force-pushed the askalono-all-files branch from 056ae76 to 5bf0c11 Compare May 26, 2025 10:40
Copy link

codecov bot commented May 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.66%. Comparing base (7bdac39) to head (5bf0c11).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #10380      +/-   ##
============================================
+ Coverage     56.62%   56.66%   +0.03%     
+ Complexity     1630     1625       -5     
============================================
  Files           332      332              
  Lines         12324    12343      +19     
  Branches       1139     1148       +9     
============================================
+ Hits           6979     6994      +15     
- Misses         4914     4917       +3     
- Partials        431      432       +1     
Flag Coverage Δ
funTest-docker 70.95% <ø> (ø)
funTest-non-docker 33.35% <ø> (-0.05%) ⬇️
test-ubuntu-24.04 40.70% <ø> (+0.05%) ⬆️
test-windows-2022 40.68% <ø> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sschuberth sschuberth changed the title fix(askalono): Crawln all files instead of just license-like ones fix(askalono): Crawl in all files instead of just license-like ones May 26, 2025
@@ -131,7 +131,7 @@ class Askalono(
override fun runScanner(path: File, context: ScanContext): String {
val process = AskalonoCommand.run(
"--format", "json",
"crawl", path.absolutePath
"crawl", "--glob", "*", path.absolutePath
Copy link
Member

Choose a reason for hiding this comment

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

Maybe this should be changed to take the arguments from the configuration property, then it would work correctly with the scan result storage (just adding the option here will not trigger a rescan).

Copy link
Member Author

Choose a reason for hiding this comment

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

But wouldn't it be confusing to have a glob option for this scanner, but not for others?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, you mean the whole command line, like for ScanCode, I guess.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, that's what I meant. Not making it configurable, but just making it visible to the matcher for the scan storage.

@sschuberth sschuberth marked this pull request as draft May 27, 2025 09:22
auto-merge was automatically disabled May 27, 2025 09:22

Pull request was converted to draft

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