Skip to content

Add apache/ant#49947

Merged
suzuki-shunsuke merged 4 commits into
aquaproj:mainfrom
chadlwilson:feat/apache/ant
Mar 7, 2026
Merged

Add apache/ant#49947
suzuki-shunsuke merged 4 commits into
aquaproj:mainfrom
chadlwilson:feat/apache/ant

Conversation

@chadlwilson

@chadlwilson chadlwilson commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

Check List

Adds Apache Ant, largely following the pattern of Apache Maven.

  • For simplicity, ignores versions 1.10.0 and earlier (before smaller .xz archives were being published). Ant is very old, and 1.10.x series is from 2017 so nearly 9 years old. There's little value in supporting older versions IMHO, but someone can add support later if they like.
  • I set release prefix to rel/ because that's what the GitHub tags have, but not sure if this is the right approach, as I am mainly use the Aqua Registry via Mise and such prefixes typically aren't displayed or used there.
  • There are other scripts included in the binaries such as antenv or antRun but don't think these are commonly used, so didn't configure them.

Summary by CodeRabbit

  • New Features
    • Apache Ant is now available as a managed package with automated discovery from releases.
    • Enforced version constraints with clear error messages for unsupported releases.
    • Fallback binary distribution for older releases with SHA-512 integrity verification.
    • Cross-platform support including Windows executable mapping and architecture-specific artifacts.

@coderabbitai

coderabbitai Bot commented Mar 7, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Adds Apache Ant package metadata and registry entries: a new package manifest at pkgs/apache/ant/pkg.yaml, a package registry entry at pkgs/apache/ant/registry.yaml (GitHub tag versioning with rel/ prefix, tar.xz archive, SHA-512 checksum, Windows binary path), and an HTTP source entry in registry.yaml.

Changes

Cohort / File(s) Summary
Package manifest & registry
pkgs/apache/ant/pkg.yaml, pkgs/apache/ant/registry.yaml
Adds Apache Ant package manifest and registry config. Uses GitHub tag versioning (version_source: github_tag, prefix rel/), includes a version_override enforcing semver <= 1.10.0 with an error message, specifies tar.xz archive, remote SHA-512 checksum, file mappings, and a Windows ant.bat override.
Main registry
registry.yaml
Adds an HTTP source entry for Apache Ant (repo_owner: apache, repo_name: ant) with version_source: github_tag and version_prefix: rel/; includes fallback tar.xz download URL, sha512 checksum reference, and platform-specific file mappings.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰
I found a tag named "rel/1.10.15"—hurray!
I hopped it in a manifest, tucked safe away.
Checksums shine like carrots in a row,
ant.bat for Windows, tar.xz for the show,
A tiny rabbit cheer for builds that go!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description check ✅ Passed The description follows the template structure, includes all checklist items marked complete, and provides substantive details about design decisions and implementation rationale.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title 'Add apache/ant' directly and clearly describes the main change: adding a new Apache Ant package to the registry.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Mar 7, 2026

Copy link
Copy Markdown

Dear mise users

This comment was posted because mise was mentioned.
If you use mise, please see the following issue first.

If this is not related to mise, please ignore this comment.

Thank you.


workflow

@github-actions github-actions Bot added the mise label Mar 7, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@pkgs/apache/ant/registry.yaml`:
- Around line 26-30: Update the Windows override under the overrides block so
the file entry that currently references apache-ant-{{.SemVer}}/bin/ant.cmd uses
apache-ant-{{.SemVer}}/bin/ant.bat instead; locate the overrides -> files ->
name: ant entry and change the src value from ant.cmd to ant.bat to ensure the
Windows wrapper is the correct batch script.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9d7990da-854a-4cf4-b283-64965d59576e

📥 Commits

Reviewing files that changed from the base of the PR and between 5e7ea60 and 6addb80.

📒 Files selected for processing (3)
  • pkgs/apache/ant/pkg.yaml
  • pkgs/apache/ant/registry.yaml
  • registry.yaml

Comment thread pkgs/apache/ant/registry.yaml Outdated
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Mar 7, 2026
@suzuki-shunsuke suzuki-shunsuke linked an issue Mar 7, 2026 that may be closed by this pull request
@suzuki-shunsuke suzuki-shunsuke changed the title feat(apache/ant): add apache/ant Add apache/ant Mar 7, 2026
@chadlwilson

Copy link
Copy Markdown
Contributor Author

I didn't see that issue @suzuki-shunsuke - thanks!

@suzuki-shunsuke

Copy link
Copy Markdown
Member

Thank you for the contribution!

For simplicity, ignores versions 1.10.0 and earlier (before smaller .xz archives were being published). Ant is very old, and 1.10.x series is from 2017 so nearly 9 years old. There's little value in supporting older versions IMHO, but someone can add support later if they like.
I set release prefix to rel/ because that's what the GitHub tags have, but not sure if this is the right approach, as I am mainly use the Aqua Registry via Mise and such prefixes typically aren't displayed or used there.
There are other scripts included in the binaries such as antenv or antRun but don't think these are commonly used, so didn't configure them.

Looks good.

@suzuki-shunsuke suzuki-shunsuke added this to the v4.478.1 milestone Mar 7, 2026
@suzuki-shunsuke suzuki-shunsuke merged commit 304b5a8 into aquaproj:main Mar 7, 2026
18 checks passed
@github-project-automation github-project-automation Bot moved this to Done in main Mar 7, 2026
@suzuki-shunsuke

Copy link
Copy Markdown
Member

Updated aqua-renovate-config to update apache/ant by Renovate.
https://github.com/aquaproj/aqua-renovate-config/releases/tag/2.11.0

@chadlwilson chadlwilson deleted the feat/apache/ant branch March 7, 2026 12:09
@chadlwilson

chadlwilson commented Mar 7, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for your work on Aqua - much appreciated!

tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Mar 11, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [aquaproj/aqua-registry](https://github.com/aquaproj/aqua-registry) | minor | `v4.476.0` → `v4.481.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>aquaproj/aqua-registry (aquaproj/aqua-registry)</summary>

### [`v4.481.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.481.0)

[Compare Source](aquaproj/aqua-registry@v4.480.0...v4.481.0)

[Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.481.0) | [Merge Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.481.0) | <aquaproj/aqua-registry@v4.480.0...v4.481.0>

#### 🎉 New Packages

[#&#8203;50135](aquaproj/aqua-registry#50135) [raaymax/lazytail](https://github.com/raaymax/lazytail): Log viewer for app development [@&#8203;hituzi-no-sippo](https://github.com/hituzi-no-sippo)
[#&#8203;50093](aquaproj/aqua-registry#50093) [stackrox/stackrox/roxctl](https://github.com/stackrox/stackrox) - CLI for StackRox Kubernetes Security Platform [@&#8203;sebdanielsson](https://github.com/sebdanielsson)

#### Improvement

[#&#8203;50136](aquaproj/aqua-registry#50136) hellux/jotdown: Add search words `djot` [@&#8203;hituzi-no-sippo](https://github.com/hituzi-no-sippo)
[#&#8203;50164](aquaproj/aqua-registry#50164) Use preferred signer\_workflow spelling [@&#8203;scop](https://github.com/scop)

#### Fixes

[#&#8203;50085](aquaproj/aqua-registry#50085) mvdan/sh: Starting v3.13.0, no longer includes a sha256sums.txt asset [@&#8203;adilsyed518](https://github.com/adilsyed518)

#### Security

Configure GitHub Immutable Release config by [@&#8203;scop](https://github.com/scop)

[#&#8203;50115](aquaproj/aqua-registry#50115) twpayne/chezmoi
[#&#8203;50114](aquaproj/aqua-registry#50114) suzuki-shunsuke/ghir
[#&#8203;50113](aquaproj/aqua-registry#50113) suzuki-shunsuke/cmdx
[#&#8203;50084](aquaproj/aqua-registry#50084) pnpm/pnpm
[#&#8203;50081](aquaproj/aqua-registry#50081) jdx/usage
[#&#8203;50077](aquaproj/aqua-registry#50077) jdx/mise
[#&#8203;50076](aquaproj/aqua-registry#50076) jdx/hk
[#&#8203;50075](aquaproj/aqua-registry#50075) j178/prek
[#&#8203;50074](aquaproj/aqua-registry#50074) dprint/dprint

### [`v4.480.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.480.0)

[Compare Source](aquaproj/aqua-registry@v4.479.0...v4.480.0)

[Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.480.0) | [Merge Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.480.0) | <aquaproj/aqua-registry@v4.479.0...v4.480.0>

#### 🎉 New Packages

[#&#8203;50019](aquaproj/aqua-registry#50019) [betterleaks/betterleaks](https://github.com/betterleaks/betterleaks): A Better Secrets Scanner built for configurability and speed [@&#8203;hituzi-no-sippo](https://github.com/hituzi-no-sippo)

#### Fixes

[#&#8203;50041](aquaproj/aqua-registry#50041) moonrepo/moon: Re-scaffold to support v2.0.0 or later
[#&#8203;50020](aquaproj/aqua-registry#50020) swanysimon/markdownlint-rs: Rename to swanysimon/mdlint

### [`v4.479.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.479.0)

[Compare Source](aquaproj/aqua-registry@v4.478.0...v4.479.0)

[Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.479.0) | [Merge Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.479.0) | <aquaproj/aqua-registry@v4.478.0...v4.479.0>

#### 🎉 New Packages

[#&#8203;49988](aquaproj/aqua-registry#49988) [princjef/gomarkdoc](https://github.com/princjef/gomarkdoc): Generate markdown documentation for Go (golang) code
[#&#8203;49970](aquaproj/aqua-registry#49970) [majorcontext/moat](https://github.com/majorcontext/moat) - Run agents in containers with credential injection and full observability [@&#8203;joonas](https://github.com/joonas)
[#&#8203;49969](aquaproj/aqua-registry#49969) [sudorandom/fauxrpc](https://github.com/sudorandom/fauxrpc) - Easily start a fake gRPC/gRPC-Web/Connect/REST server from protobufs [@&#8203;joonas](https://github.com/joonas)
[#&#8203;49947](aquaproj/aqua-registry#49947) [apache/ant](https://github.com/apache/ant) - Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other [@&#8203;chadlwilson](https://github.com/chadlwilson)

### [`v4.478.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.478.0)

[Compare Source](aquaproj/aqua-registry@v4.477.0...v4.478.0)

[Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.478.0) | [Merge Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.478.0) | <aquaproj/aqua-registry@v4.477.0...v4.478.0>

#### 🎉 New Packages

[#&#8203;49934](aquaproj/aqua-registry#49934) [suzuki-shunsuke/docfresh](https://github.com/suzuki-shunsuke/docfresh): Make document maintainable, reusable, and testable

#### Security

[#&#8203;49919](aquaproj/aqua-registry#49919) spinel-coop/rv: GitHub artifact attestations config [@&#8203;scop](https://github.com/scop)

#### Fixes

[#&#8203;49892](aquaproj/aqua-registry#49892) Re-scaffold cloudflare/cloudflared

### [`v4.477.0`](https://github.com/aquaproj/aqua-registry/releases/tag/v4.477.0)

[Compare Source](aquaproj/aqua-registry@v4.476.0...v4.477.0)

[Issues](https://github.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av4.477.0) | [Merge Requests](https://github.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av4.477.0) | <aquaproj/aqua-registry@v4.476.0...v4.477.0>

#### 🎉 New Packages

[#&#8203;49856](aquaproj/aqua-registry#49856) [k1LoW/mo](https://github.com/k1LoW/mo): mo is a Markdown viewer that opens .md files in a browser
[#&#8203;49770](aquaproj/aqua-registry#49770) [#&#8203;49791](aquaproj/aqua-registry#49791) [rtk-ai/rtk](https://github.com/rtk-ai/rtk) - CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies [@&#8203;NikitaCOEUR](https://github.com/NikitaCOEUR) [@&#8203;TyceHerrman](https://github.com/TyceHerrman)
[#&#8203;49738](aquaproj/aqua-registry#49738) [yashikota/exiftool-go](https://github.com/yashikota/exiftool-go) - Pure Go ExifTool wrapper powered by WebAssembly [@&#8203;yashikota](https://github.com/yashikota)
[#&#8203;49610](aquaproj/aqua-registry#49610) [datadog-labs/pup](https://github.com/datadog-labs/pup) - Give your AI agent a Pup — a CLI companion with 200+ commands across 33+ Datadog products [@&#8203;iwata](https://github.com/iwata)
[#&#8203;49348](aquaproj/aqua-registry#49348) [huseyinbabal/taws](https://github.com/huseyinbabal/taws) - Terminal UI for AWS (taws) - A terminal-based AWS resource viewer and manager [@&#8203;TyceHerrman](https://github.com/TyceHerrman)

#### Security

[#&#8203;49707](aquaproj/aqua-registry#49707) owenlamont/ryl: GitHub artifact attestations config [@&#8203;scop](https://github.com/scop)
[#&#8203;49340](aquaproj/aqua-registry#49340) astral-sh/ruff: GitHub artifact attestations config [@&#8203;scop](https://github.com/scop)
[#&#8203;49344](aquaproj/aqua-registry#49344) rhysd/actionlint: GitHub artifact attestations config [@&#8203;scop](https://github.com/scop)
[#&#8203;49345](aquaproj/aqua-registry#49345) caarlos0/fork-cleaner: GitHub artifact attestations config [@&#8203;scop](https://github.com/scop)
[#&#8203;49418](aquaproj/aqua-registry#49418) block/goose: GitHub artifact attestations config [@&#8203;scop](https://github.com/scop)

#### Fixes

[#&#8203;49398](aquaproj/aqua-registry#49398) pre-commit/pre-commit: Exclude Windows from `supported_envs` [@&#8203;altendky](https://github.com/altendky)
[#&#8203;49613](aquaproj/aqua-registry#49613) Rename kunobi-ninja/kunobi-releases to kunobi-ninja/kunobi [@&#8203;rawmind0](https://github.com/rawmind0)
[#&#8203;49623](aquaproj/aqua-registry#49623) weaviate/weaviate: Remove hidden Unicode whitespace [@&#8203;jamietanna](https://github.com/jamietanna)
[#&#8203;49652](aquaproj/aqua-registry#49652) technicalpickles/envsense: Add linux/arm64 support [@&#8203;technicalpickles](https://github.com/technicalpickles)
[#&#8203;49753](aquaproj/aqua-registry#49753) mozilla/sccache): Support aarch64 [@&#8203;lahabana](https://github.com/lahabana)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41NS4zIiwidXBkYXRlZEluVmVyIjoiNDMuNjAuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6Om1pbm9yIl19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request mise

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ant

2 participants