Skip to content

tomcat10: Add version 10.1.52#2735

Merged
z-Fng merged 2 commits intoScoopInstaller:masterfrom
CatKinKitKat:feature/tomcat10
Feb 18, 2026
Merged

tomcat10: Add version 10.1.52#2735
z-Fng merged 2 commits intoScoopInstaller:masterfrom
CatKinKitKat:feature/tomcat10

Conversation

@CatKinKitKat
Copy link
Copy Markdown
Contributor

@CatKinKitKat CatKinKitKat commented Feb 17, 2026

tomcat10: Add Apache Tomcat 10 manifests

This pull request adds new manifest for Apache Tomcat versions 10, enabling the installation and management through the package system. The manifest include download URLs, hash verification, environment variable setup, and auto-update support.

New Tomcat package manifest:

  • Addition of tomcat10.json manifest for Apache Tomcat 10, supporting both 32-bit and 64-bit architectures, with versioned download URLs, hash checks, environment variable configuration, and persistence for configuration and webapps directories
  • Use conventional PR title: tomcat10: Add tomcat10.json configuration for Apache Tomcat 10.1.52
  • I have read the Contributing Guide

Summary by CodeRabbit

  • New Features
    • Apache Tomcat 10.1.52 is now available for Windows (64-bit and 32-bit). Installer sets up recommended environment variables, preserves configuration and webapps between updates, verifies downloads for integrity, and supports automatic version detection and in-place updates for future releases.

Copilot AI review requested due to automatic review settings February 17, 2026 21:42
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 17, 2026

No actionable comments were generated in the recent review. 🎉


Walkthrough

Adds a new Scoop manifest bucket/tomcat10.json for Apache Tomcat 10.1.52, specifying Windows x64/x86 download URLs and sha512 hashes, extraction settings, environment variables (CATALINA_HOME, CATALINA_BASE), persistent paths, and checkver/autoupdate metadata.

Changes

Cohort / File(s) Summary
Tomcat 10 Scoop Manifest
bucket/tomcat10.json
New Scoop package manifest for Apache Tomcat 10.1.52: architecture-specific download URLs and sha512 hashes, extract_dir, environment variables, persist paths (conf, webapps), checkver regex/page, and autoupdate templates.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 I found a package, snug and neat,
Tomcat ten with checksums sweet,
Env set, configs safe to keep,
Auto-updates hop in a leap,
Scoop's burrow grows—soft paws, swift feet.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding Apache Tomcat 10 version 10.1.52 manifest to the bucket.
Description check ✅ Passed The description includes relevant issue references, explains the purpose and contents of the new manifest, lists new package information, and confirms compliance with project conventions and contributing guide.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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
Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

tomcat10

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

Check the full log for details.

@CatKinKitKat
Copy link
Copy Markdown
Contributor Author

@z-Fng from #2730 request

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new Scoop manifest for Apache Tomcat 10 so it can be installed/managed via this bucket, including architecture-specific downloads, persistence, and update automation.

Changes:

  • Added bucket/tomcat10.json manifest for Tomcat 10.1.52 (x86/x64 URLs + SHA512).
  • Configured CATALINA_HOME / CATALINA_BASE env vars and persistence for conf + webapps.
  • Added checkver and autoupdate definitions for future version bumps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread bucket/tomcat10.json
Comment thread bucket/tomcat10.json
Comment thread bucket/tomcat10.json
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (2)
bucket/tomcat10.json (2)

29-32: Consider a more reliable checkver source URL.

The current checkver URL hits archive.apache.org sorted by modification time (C=M;O=D). This works today, but Scoop uses only the first matching result, so correctness depends entirely on the archive server consistently honouring the C=M;O=D query parameter — if the sort changes or the server behaviour shifts, checkver silently picks up a stale version.

The official download page (https://tomcat.apache.org/download-10.cgi) reliably reflects the current release and wouldn't require relying on directory-listing sort order:

♻️ Proposed alternative checkver
-    "checkver": {
-        "url": "https://archive.apache.org/dist/tomcat/tomcat-10/?C=M;O=D",
-        "regex": "v([\\d.]+)/"
-    },
+    "checkver": {
+        "url": "https://tomcat.apache.org/download-10.cgi",
+        "regex": "Apache Tomcat ([\\d.]+)"
+    },
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@bucket/tomcat10.json` around lines 29 - 32, Replace the fragile archive
directory listing used by the "checkver" block with the official Tomcat 10
download page URL (https://tomcat.apache.org/download-10.cgi) and update the
"regex" to reliably extract the current release (e.g., match sequences like
10.x.y). Specifically, in the checkver object replace the "url" value and adjust
the "regex" pattern so it captures the canonical release string from the
official page rather than relying on archive sorting.

25-28: Consider persisting logs to survive Scoop upgrades.

logs lives inside CATALINA_BASE ($dir), which is replaced on every scoop update. Since conf and webapps are already persisted, omitting logs means server logs are silently discarded on each upgrade — a notable gap for any production or long-running use.

♻️ Proposed addition
     "persist": [
         "conf",
+        "logs",
         "webapps"
     ],
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@bucket/tomcat10.json` around lines 25 - 28, The persist array currently
contains "conf" and "webapps" but not "logs", which causes Tomcat logs under
CATALINA_BASE ($dir) to be lost on scoop updates; update the persist array (the
"persist" JSON field) to also include "logs" alongside "conf" and "webapps" so
that server logs survive upgrades and restarts.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@bucket/tomcat10.json`:
- Line 3: Update the "description" field in tomcat10.json to replace the
outdated "Java EE" terminology with "Jakarta EE" and mention the correct
specs/namespaces (e.g., Servlet 6.0 and JSP 3.1 from Jakarta EE) so the
description accurately reflects Tomcat 10.1's Jakarta EE implementation; edit
the value of the "description" key accordingly.

---

Nitpick comments:
In `@bucket/tomcat10.json`:
- Around line 29-32: Replace the fragile archive directory listing used by the
"checkver" block with the official Tomcat 10 download page URL
(https://tomcat.apache.org/download-10.cgi) and update the "regex" to reliably
extract the current release (e.g., match sequences like 10.x.y). Specifically,
in the checkver object replace the "url" value and adjust the "regex" pattern so
it captures the canonical release string from the official page rather than
relying on archive sorting.
- Around line 25-28: The persist array currently contains "conf" and "webapps"
but not "logs", which causes Tomcat logs under CATALINA_BASE ($dir) to be lost
on scoop updates; update the persist array (the "persist" JSON field) to also
include "logs" alongside "conf" and "webapps" so that server logs survive
upgrades and restarts.

Comment thread bucket/tomcat10.json Outdated
@@ -0,0 +1,47 @@
{
"version": "10.1.52",
"description": "Implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Description uses outdated Java EE terminology — should be Jakarta EE.

Apache Tomcat 10.1 implements the Servlet 6.0 and Pages 3.1 specifications from Jakarta EE. The description should reflect the Jakarta namespace:

📝 Proposed fix
-    "description": "Implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies",
+    "description": "Implementation of the Jakarta Servlet, Jakarta Pages, Jakarta Expression Language and Jakarta WebSocket technologies",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"description": "Implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies",
"description": "Implementation of the Jakarta Servlet, Jakarta Pages, Jakarta Expression Language and Jakarta WebSocket technologies",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@bucket/tomcat10.json` at line 3, Update the "description" field in
tomcat10.json to replace the outdated "Java EE" terminology with "Jakarta EE"
and mention the correct specs/namespaces (e.g., Servlet 6.0 and JSP 3.1 from
Jakarta EE) so the description accurately reflects Tomcat 10.1's Jakarta EE
implementation; edit the value of the "description" key accordingly.

@CatKinKitKat CatKinKitKat mentioned this pull request Feb 17, 2026
4 tasks
@z-Fng z-Fng changed the title tomcat10: Add tomcat10.json configuration for Apache Tomcat 10.1.52 tomcat10: Add version 10.1.52 Feb 17, 2026
@z-Fng z-Fng linked an issue Feb 17, 2026 that may be closed by this pull request
4 tasks
@z-Fng
Copy link
Copy Markdown
Member

z-Fng commented Feb 18, 2026

/verify

@github-actions
Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

tomcat10

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

Check the full log for details.

Copy link
Copy Markdown
Member

@z-Fng z-Fng left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

@z-Fng z-Fng merged commit f6a2e25 into ScoopInstaller:master Feb 18, 2026
3 checks passed
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.

[Request]: tomcat10 / tomcat11

3 participants