-
Notifications
You must be signed in to change notification settings - Fork 655
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
[api] Allows to use relative jar uri for cache folder name #3026
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #3026 +/- ##
=========================================
Coverage 72.30% 72.30%
- Complexity 7294 7295 +1
=========================================
Files 722 722
Lines 32508 32512 +4
Branches 3395 3396 +1
=========================================
+ Hits 23506 23509 +3
- Misses 7382 7385 +3
+ Partials 1620 1618 -2 ☔ View full report in Codecov by Sentry. |
String fileName = path.toFile().getName(); | ||
if (FilenameUtils.isArchiveFile(fileName)) { | ||
fileName = FilenameUtils.getNamePart(fileName); | ||
} | ||
|
||
return new JarRepository(name, uri, fileName, queryString); | ||
return new JarRepository(name, uri, fileName, jarUri); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the name real uri or jarUri? Also, can we document this somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed to realUri and added comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comments helps, but can you also add somewhere in our public docs or at least javadoc that the ?ignore_real_uri=true
option exists
Fixes: #3025
Description
Brief description of what this PR is about