Title: Build cache fixes by Duhemm · Pull Request #3335 · graphql-java/graphql-java · GitHub
Open Graph Title: Build cache fixes by Duhemm · Pull Request #3335 · graphql-java/graphql-java
X Title: Build cache fixes by Duhemm · Pull Request #3335 · graphql-java/graphql-java
Description: Use stable version number on clean workspace Previously, the graphql-java build would always produce a new version number based on the current date and time in local development. Because the version number would always be different between 2 Gradle invocations, some tasks, such as javadoc or jar could never be cached because they depend on the version number. With this patch, the version number will no longer include the date and time when the Git workspace is clean, because the commit hash is sufficient to uniquely identify the state of the workspace. This allows the tasks that depend on the version number to be properly cached. Relativize Antlr sources in cache key Previously, the cache key of the antlr task would be computed using (among other things) the absolute paths of its input files. Because the absolute paths were part of the cache key, the build cache would rarely be hit. With this patch, the task is configured to use relative paths when computing the cache key.
Open Graph Description: Use stable version number on clean workspace Previously, the graphql-java build would always produce a new version number based on the current date and time in local development. Because the versio...
X Description: Use stable version number on clean workspace Previously, the graphql-java build would always produce a new version number based on the current date and time in local development. Because the versio...
Opengraph URL: https://github.com/graphql-java/graphql-java/pull/3335
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9fab2632-2ee7-ca30-696b-8f268f6785c5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D5B8:3D821D:2B28339:3E7B634:6A60D802 |
| html-safe-nonce | d1dd0cb097f3f15c2d59cd05071c6cc7ee0162df12b388e2ba38b776705572b6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUI4OjNEODIxRDoyQjI4MzM5OjNFN0I2MzQ6NkE2MEQ4MDIiLCJ2aXNpdG9yX2lkIjoiNjU2MjUyNjE1ODIyNzgyMjU5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 89dd7f803825a6f693b8a0f4569cb0e3641b6d042914c648a592a1d14c77d68e |
| hovercard-subject-tag | pull_request:1524884931 |
| 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/graphql-java/graphql-java/pull/3335/files |
| twitter:image | https://avatars.githubusercontent.com/u/1765926?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1765926?s=400&v=4 |
| og:image:alt | Use stable version number on clean workspace Previously, the graphql-java build would always produce a new version number based on the current date and time in local development. Because the versio... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 025e511fb0e6dd11aaa36892212f7bcc13708244bc2bcbeff1cf34fc77723812 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/graphql-java/graphql-java git https://github.com/graphql-java/graphql-java.git |
| octolytics-dimension-user_id | 14289921 |
| octolytics-dimension-user_login | graphql-java |
| octolytics-dimension-repository_id | 38602457 |
| octolytics-dimension-repository_nwo | graphql-java/graphql-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38602457 |
| octolytics-dimension-repository_network_root_nwo | graphql-java/graphql-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 405b1f59618e9c5e102e2408c26ce58f1937fbca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width