Commit Graph

12 Commits

Author SHA1 Message Date
Ming-Yen Chung 2c3ce72a05
KAFKA-18903 update-cache.sh use curl + jq to get sha contains gradle cache instead of gh cli (#19753)
Instead of using the GH CLI (which requires some local setup), we can
just use cURL and JQ. Additionally, the original logic required setting
up alias.update-cache. After the change, this configuration is no longer
necessary.

validation on mac:

```
❯ ./update-cache.sh
Local branch 'trunk-cached' successfully updated to f26974b16d (from 19
hours ago).
```

Reviewers: Ken Huang <s7133700@gmail.com>, Chia-Ping Tsai
 <chia7712@gmail.com>
2025-06-20 03:02:17 +08:00
Mickael Maison b704280a0a
MINOR: Bump trunk to 4.2.0-SNAPSHOT (#19944)
CI / build (push) Waiting to run Details
Update the version as per
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34840886#ReleaseProcess-CutBranches

Reviewers: Luke Chen <showuon@gmail.com>
2025-06-11 09:24:57 +02:00
Ming-Yen Chung 472c2cfcb4
MINOR: Improve the prompt in committer-tools/reviewers.py (#19942)
Previously, the confirmation prompt for updating the PR body treated any
input other than 'n' as approval, which could lead to unintended
actions.

With this change, the update will only proceed if the user enters 'y',
'Y', or presses Enter. For any other input, the operation is canceled
and an Abort. message is printed. This makes the prompt behavior clearer
and more predictable.

Reviewers: TengYao Chi <frankvicky@apache.org>, PoAn Yang
<payang@apache.org>, Kuan-Po Tseng <brandboat@gmail.com>, Ken Huang
<s7133700@gmail.com>, Lan Ding <isDing_L@163.com>
2025-06-10 17:37:57 +08:00
Ming-Yen Chung d964574ab9
KAFKA-18942: Add reviewers to PR body with committer-tools (#19168)
Allow `reviewers.py` to set the "Reviewers:" line in a PR body.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>, David Arthur <mumrah@gmail.com>
2025-03-12 09:41:05 -04:00
xijiu a6064e0800
KAFKA-17607: Add CI step to verify LICENSE-binary (#18299)
Add the verify_license.py script to our build to detect missing licenses.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>, Ken Huang <s7133700@gmail.com>, David Arthur <mumrah@gmail.com>
2025-03-07 09:45:23 -05:00
David Jacot 5413063441
MINOR: Add verify_license tool (#18931)
This patch adds the verify_license.py tool. It compares the libraries shipped within the tarball to the LICENSE file, and vice versa, to ensure that they are aligned. It also slightly update the format of the LICENSE file to make it easier to parse it.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>, Mickael Maison <mickael.maison@gmail.com>
2025-02-18 12:07:37 +01:00
David Jacot 84049369c1
MINOR: Bump trunk to 4.1.0-SNAPSHOT (#18213)
Reviewers: Mickael Maison <mickael.maison@gmail.com>
2024-12-16 16:47:13 +01:00
David Arthur 2547d750a3
MINOR Update asf.yaml collaborators (#17345)
Reviewers: Josep Prat <josep.prat@aiven.io>
2024-10-02 10:25:02 -04:00
Joao Pedro Fonseca Dantas 84bcdc95af
KAFKA-17540: Create script for updating a reference of latest cached trunk commit (#17204)
Uses the `gh` CLI to find the latest trunk commit which has been cached by GitHub actions. By basing PRs off of this
ref rather than HEAD, we will see fewer cache misses in our CI builds.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>, David Arthur <mumrah@gmail.com>
2024-10-01 10:06:10 -04:00
David Arthur 00b1b1a144
KAFKA-17628 New workflows for automating run approvals (#17290)
This patch allows workflow runs to be controlled by the ci-approved label on Pull Requests. Rather than manually approving each workflow run explicitly, committers can now add the appropriate label and the new "CI Requested" and "PR Labeled" workflows will auto-approve the requested run.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-09-26 20:17:25 -04:00
David Arthur a1f28570af
MINOR Move scripts into committer-tools (#17162)
Moving reviewers.py and kafka-merge-pr.py into committer-tools. Also include a new find-unfinished-test.py 
script which can be used for finding hanging tests on Jenkins or Github Actions.

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2024-09-11 18:22:35 -04:00
João Pedro Fonseca Dantas 794e9a4a52
KAFKA-14995: Automate asf.yaml collaborators refresh (#17124)
Add a Python script that analyzes our Git history to find top contributors. This can be used by committers to update
the list of contributors in .asf.yaml without a lot of tedious effort. 

Co-authored-by: stevenbooke <steviebeee55@gmail.com>
Co-authored-by: Joao Pedro Fonseca <fonsdant@gmail.com>
Reviewers: David Arthur <mumrah@gmail.com>
2024-09-10 21:29:51 -04:00