Title: chore(release): add changelog generator script by andygrove · Pull Request #88 · apache/datafusion-java · GitHub
Open Graph Title: chore(release): add changelog generator script by andygrove · Pull Request #88 · apache/datafusion-java
X Title: chore(release): add changelog generator script by andygrove · Pull Request #88 · apache/datafusion-java
Description: Which issue does this PR close? No tracking issue. Pure tooling addition for the release process. Rationale for this change The first datafusion-java release will need a changelog written between the previous tag and the release HEAD. The repo currently has no tooling for that, so a release manager would either hand-curate the list of merged PRs or copy a script from a sibling project. `datafusion-comet` already maintains a changelog generator that walks the git range, fetches PRs from the GitHub API, and categorizes them by GitHub label and Conventional Commit prefix. Adopting it here gives us the same output format and keeps future sync with comet mechanical. What changes are included in this PR? `dev/release/generate-changelog.py` — adapted from `datafusion-comet/dev/release/generate-changelog.py`. The only diffs from upstream are the project name (`apache/datafusion-java` in the GitHub API call) and the changelog heading ("DataFusion Java" instead of "DataFusion Comet"). Everything else is identical so subsequent pulls from upstream are simple. `dev/release/requirements.txt` — single dependency: `PyGitHub`. The script categorizes PRs by (in priority order): Bucket GitHub label Conventional commit prefix Breaking changes `api change` `!:` Performance `performance` `perf:` Fixed bugs `bug` `fix:` Enhancements `enhancement` `feat:` Documentation `documentation` `docs:` / `doc:` Other — (none of the above) Are these changes tested? Smoke-tested locally against the last three merged PRs (`HEAD~3..HEAD`). The script correctly categorized two `feat:` PRs (#85, #77) as enhancements and one `chore:` PR (#87) as other, and emitted the expected markdown structure (ASF header, intro line with commit/contributor counts, per-bucket sections with author handles, credits block). The `resolve_ref` helper inherited from the upstream correctly normalizes `HEAD` to a SHA before the GitHub API call, so refs that resolve differently locally vs. on the default branch don't drift. `python3 -c "import ast; ast.parse(open('dev/release/generate-changelog.py').read())"` is the syntactic check; the end-to-end test above covers the semantic behaviour. Are there any user-facing changes? No. Release-manager-facing tooling only.
Open Graph Description: Which issue does this PR close? No tracking issue. Pure tooling addition for the release process. Rationale for this change The first datafusion-java release will need a changelog written between...
X Description: Which issue does this PR close? No tracking issue. Pure tooling addition for the release process. Rationale for this change The first datafusion-java release will need a changelog written between...
Opengraph URL: https://github.com/apache/datafusion-java/pull/88
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:890fb1db-c01c-e502-fcd5-b085a373d904 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9F86:321110:2AE358:3C8E79:6B046A8A |
| html-safe-nonce | ffcbfbeefd6dd3d4085f20a9a610b947ab5d5521013b5d7b0ba76b619dd00712 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Rjg2OjMyMTExMDoyQUUzNTg6M0M4RTc5OjZCMDQ2QThBIiwidmlzaXRvcl9pZCI6Ijg4NDc3NTU4MTEyMTc1MDA4MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7f27b1d4169f812e767b37fb4b27a0437573192938a586895808ad29bc8c3a6d |
| hovercard-subject-tag | pull_request:3744840377 |
| 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/apache/datafusion-java/pull/88/files |
| twitter:image | https://avatars.githubusercontent.com/u/934084?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/934084?s=400&v=4 |
| og:image:alt | Which issue does this PR close? No tracking issue. Pure tooling addition for the release process. Rationale for this change The first datafusion-java release will need a changelog written between... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/apache/datafusion-java git https://github.com/apache/datafusion-java.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 1237105117 |
| octolytics-dimension-repository_nwo | apache/datafusion-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1237105117 |
| octolytics-dimension-repository_network_root_nwo | apache/datafusion-java |
| 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 | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width