Skip to content

groovy-classic: add manifest for legacy groovy (version <= 2.4.3)#2873

Open
chaerun wants to merge 4 commits into
ScoopInstaller:masterfrom
chaerun:master
Open

groovy-classic: add manifest for legacy groovy (version <= 2.4.3)#2873
chaerun wants to merge 4 commits into
ScoopInstaller:masterfrom
chaerun:master

Conversation

@chaerun

@chaerun chaerun commented May 25, 2026

Copy link
Copy Markdown

Legacy 'Groovy Classic' binaries. This manifest provides older distributions of the Groovy programming language released up until version 2.4.3 (March 2015), before the transition to the Apache Software Foundation.

  • Use conventional PR title: <manifest-name[@version]|chore>: <general summary of the pull request>
  • I have read the Contributing Guide

Summary by CodeRabbit

  • New Features
    • Added support for the legacy "Groovy Classic" distribution (v2.4.3), enabling installation of legacy Groovy binaries.
    • Provides environment configuration for runtime use and includes Windows executable entrypoint support.
    • Includes a pinned release artifact for reproducible installs and automated update/check behavior for easier maintenance and integrity verification.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 25, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f9b7805b-2ddc-43e5-90e4-a6d17675a9e8

📥 Commits

Reviewing files that changed from the base of the PR and between 5fa7983 and fd67165.

📒 Files selected for processing (1)
  • bucket/groovy-classic.json
💤 Files with no reviewable changes (1)
  • bucket/groovy-classic.json

Walkthrough

Adds a new Scoop package manifest for Groovy Classic v2.4.3 defining metadata, suggested dependencies, Artifactory ZIP download with SHA256, extraction and GROOVY_HOME setup, Windows bin/*.bat entrypoints, and autoupdate template rules.

Changes

Groovy Classic Package Manifest

Layer / File(s) Summary
Groovy Classic manifest definition
bucket/groovy-classic.json
New manifest file for Groovy Classic v2.4.3: package metadata (description/homepage/license), suggested JDK and groovyserv, Artifactory ZIP URL and SHA256, extraction dir, GROOVY_HOME env, Windows bin/*.bat entrypoints, and autoupdate template using $url.sha256.

🎯 2 (Simple) | ⏱️ ~5 minutes

A rabbit hops with glee,
Groovy Classic joins the tree!
Version two-point-four, now found,
In Scoop's bucket, safe and sound. 🐰

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: adding a manifest for legacy Groovy versions up to 2.4.3.
Description check ✅ Passed The description includes both required checklist items and provides context about the legacy Groovy distributions being added.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@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 current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@bucket/groovy-classic.json`:
- Around line 26-36: Narrow the checkver.regex so it only discovers 2.4.x
releases up to 2.4.3 (preventing matching newer 2.5/3.x/4.x archives); update
the "checkver" entry (checkver.regex) to something like
groovy-binary-(2\.4\.(?:0|1|2|3))\.zip so discovered $version stays within the
classic 2.4.3 series while leaving "autoupdate.url" and "extract_dir" unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d3f64d75-c9b9-4e65-9808-fecb7b68044c

📥 Commits

Reviewing files that changed from the base of the PR and between 61b485b and 11a2fc4.

📒 Files selected for processing (1)
  • bucket/groovy-classic.json

Comment thread bucket/groovy-classic.json Outdated

@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 current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@bucket/groovy-classic.json`:
- Line 28: The checkver.regex currently has no capture group so Scoop cannot
populate $version; update the "regex" value in groovy-classic.json to include a
capturing group (either group 1 or a named group "version") around the version
portion (e.g., capture the digits in the filename) so checkver can extract the
version used by autoupdate.url and extract_dir; modify the pattern that
currently is "groovy-binary-2\.4\.3\.zip" to a pattern with a capture like
"groovy-binary-(\d+\.\d+\.\d+)\.zip" or use a named group
"(?<version>\d+\.\d+\.\d+)".
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: cae99339-b342-4465-a2d7-035c6c93c436

📥 Commits

Reviewing files that changed from the base of the PR and between 11a2fc4 and 5fa7983.

📒 Files selected for processing (1)
  • bucket/groovy-classic.json

Comment thread bucket/groovy-classic.json Outdated
@chaerun

chaerun commented May 27, 2026

Copy link
Copy Markdown
Author

/verify

@github-actions

Copy link
Copy Markdown
Contributor

Your changes did not pass all checks.

Please address the issues in the manifest and comment starting with /verify to rerun the checks.

groovy-classic

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

Check the full log for details.

@chaerun

chaerun commented May 27, 2026

Copy link
Copy Markdown
Author

/verify

@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

groovy-classic

  • Lint
  • Description
  • License
  • Hashes

Check the full log for details.

@chaerun

chaerun commented Jul 1, 2026

Copy link
Copy Markdown
Author

Hi @z-Fng,
Could you help with this PR?
Thanks in advanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant