Title: Set and cache dependency directory for Java `build-mode: none` by mbg · Pull Request #2802 · github/codeql-action · GitHub
Open Graph Title: Set and cache dependency directory for Java `build-mode: none` by mbg · Pull Request #2802 · github/codeql-action
X Title: Set and cache dependency directory for Java `build-mode: none` by mbg · Pull Request #2802 · github/codeql-action
Description: This PR sets an extractor option for the Java build-mode: none extractor (if Java is being analysed and build-mode: none is set) that redirects the dependency jars to a location where it can be included in a cache. Context Up until now, the build-mode: none extractor downloaded dependency jars into a scratch directory in the database directory. This gets erased before we get to storing a cache and also is potentially problematic for inclusion in a cache, since caches must be restored to the same directories from which they were created. We added an extractor option to override the path to the directory where the build-mode: none extractor stores the jar files. Open questions I didn't see anything overly similar where we set specific options for other extractors and we also don't store much data outside of the database folder. Do we see any problems with storing the dependencies in temp? Should the extractor option be set elsewhere? Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary. Confirm the changelog has been updated if necessary.
Open Graph Description: This PR sets an extractor option for the Java build-mode: none extractor (if Java is being analysed and build-mode: none is set) that redirects the dependency jars to a location where it can be inc...
X Description: This PR sets an extractor option for the Java build-mode: none extractor (if Java is being analysed and build-mode: none is set) that redirects the dependency jars to a location where it can be inc...
Opengraph URL: https://github.com/github/codeql-action/pull/2802
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:665118ac-936b-62ac-0596-123f21777ece |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 809C:338773:4BC75DA:6ACE173:6A56FE6D |
| html-safe-nonce | 4939e68c5257b8203287fb71c71a72812f9c56b8db89a48421b959857f0d6d81 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDlDOjMzODc3Mzo0QkM3NURBOjZBQ0UxNzM6NkE1NkZFNkQiLCJ2aXNpdG9yX2lkIjoiMTIzOTgyNzQ5NzAzMjc0MDkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ab903d8699660e92143c5a2b7b0539c1ec02106112b76e99d68fee6261df90fa |
| hovercard-subject-tag | pull_request:2382511568 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql-action/pull/2802/files |
| twitter:image | https://avatars.githubusercontent.com/u/278086?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/278086?s=400&v=4 |
| og:image:alt | This PR sets an extractor option for the Java build-mode: none extractor (if Java is being analysed and build-mode: none is set) that redirects the dependency jars to a location where it can be inc... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb29e5f807bd95e41196adfbc6d28f9af12d89830d8b684f3e871774ddff2fc |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b056788a129fb0194b61f2ebb4c43f6a9f4dfd27 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width