Skip to content

jjui: Add version 0.9.5#16586

Merged
z-Fng merged 2 commits intoScoopInstaller:masterfrom
abgox:push-nsxuvwvyvxvq
Nov 17, 2025
Merged

jjui: Add version 0.9.5#16586
z-Fng merged 2 commits intoScoopInstaller:masterfrom
abgox:push-nsxuvwvyvxvq

Conversation

@abgox
Copy link
Copy Markdown
Contributor

@abgox abgox commented Nov 13, 2025

Closes #16433

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

Summary by CodeRabbit

  • Chores
    • Added JJUI v0.9.5 Windows distribution manifest for Scoop-style installation.
    • Provides 64-bit and ARM64 packages with architecture-specific downloads and checksums.
    • Enables automatic version updates and a pre-install step to normalize the executable name.
    • Configures JJUI_CONFIG_DIR environment variable, exposes jjui.exe, and preserves a persistent config directory.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Nov 13, 2025

Walkthrough

Adds a new Scoop package manifest bucket/jjui.json for JJUI v0.9.5 with architecture-specific Windows downloads (x64 and arm64), SHA-256 hashes, pre-install normalization, env var JJUI_CONFIG_DIR, bin/persist settings, and GitHub-based checkver/autoupdate entries.

Changes

Cohort / File(s) Summary
Scoop Package Manifest
bucket/jjui.json
New manifest for JJUI v0.9.5: architecture.{64bit,arm64}.url and .hash entries, pre_install to normalize exe name, env_set.JJUI_CONFIG_DIR, bin = jjui.exe, persist = config, checkver.github, and autoupdate URLs per-arch.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

  • Verify the two download URLs and their SHA-256 hashes against official JJUI release assets.
  • Confirm manifest fields follow Scoop schema and autoupdate/checkver formats.
  • Check the pre_install step and env_set are correctly specified for Windows shims.

Poem

🐰 I hopped a bit of JSON cheer,
A tiny manifest, fresh and clear.
x64 and arm64 in a neat little row,
Checksums snug where downloads go.
✨ — a rabbit's quiet glow

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'jjui: Add version 0.9.5' clearly and specifically describes the main change: adding a new version of the jjui package manifest to the repository.
Description check ✅ Passed The PR description follows the required template structure with both checkboxes marked complete and includes the issue closure reference (#16433), meeting all mandatory template requirements.
Linked Issues check ✅ Passed The manifest fully addresses issue #16433's requirements: it adds jjui as a new package with correct metadata, version 0.9.5, proper architecture support (64-bit and arm64), and environment/persistence configuration.
Out of Scope Changes check ✅ Passed All changes are within scope: the single new file bucket/jjui.json is a standard Scoop manifest directly addressing the package request with no extraneous modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 739141d and 3d7bf92.

📒 Files selected for processing (1)
  • bucket/jjui.json (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • bucket/jjui.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: WindowsPowerShell

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.

jjui

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

Check the full log for details.

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: 0

🧹 Nitpick comments (1)
bucket/jjui.json (1)

21-21: Remove unnecessary -Recurse from the pre_install script for clarity and efficiency.

The jjui v0.9.5 release archives contain a single executable directly at the root level after extraction (e.g., jjui-0.9.5-windows-amd64.exe). The -Recurse flag is unnecessary and inefficient. Change:

Get-ChildItem -Path $dir -Filter 'jjui*.exe' | Select-Object -First 1 | Rename-Item -NewName 'jjui.exe'

Or use -Depth 1 if you prefer to be explicit:

Get-ChildItem -Path $dir -Filter 'jjui*.exe' -Depth 1 | Select-Object -First 1 | Rename-Item -NewName 'jjui.exe'
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d39e0dd and 739141d.

📒 Files selected for processing (1)
  • bucket/jjui.json (1 hunks)
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: o-l-a-v
Repo: ScoopInstaller/Extras PR: 16378
File: bucket/compactgui.json:20-22
Timestamp: 2025-10-19T13:58:23.389Z
Learning: In the ScoopInstaller/Extras repository, the CompactGUI manifest removed hash verification from the autoupdate block because the hash verification mechanism (scraping SHA-256 from release page HTML) is no longer available in newer CompactGUI releases. GitHub asset digests exist in beta releases but not in v3.8.0, and Scoop doesn't have built-in support for extracting from GitHub API asset digests.
Learnt from: Gitoffthelawn
Repo: ScoopInstaller/Extras PR: 16106
File: bucket/czkawka-gui.json:25-25
Timestamp: 2025-09-05T09:41:52.653Z
Learning: For czkawka-gui manifests in Scoop Extras, the correct upstream filename pattern for Windows GUI builds in recent versions uses "gtk46" (without underscore), not "gtk_46" (with underscore). The autoupdate URL should use "windows_czkawka_gui_gtk46.zip" format. This was confirmed by a working 10.0.0 update with valid hash.
Learnt from: Gitoffthelawn
Repo: ScoopInstaller/Extras PR: 16106
File: bucket/czkawka-gui.json:25-25
Timestamp: 2025-09-05T09:41:52.653Z
Learning: For czkawka-gui manifests in Scoop Extras, the correct upstream filename pattern for Windows GUI builds uses "gtk46" (without underscore), not "gtk_46" (with underscore). The autoupdate URL should use "windows_czkawka_gui_gtk46.zip" format.
Learnt from: o-l-a-v
Repo: ScoopInstaller/Extras PR: 16349
File: bucket/fvim.json:45-49
Timestamp: 2025-10-16T15:59:21.258Z
Learning: In Scoop manifests, the `autoupdate.url` and `autoupdate.architecture.<arch>.url` fields must be valid URIs according to the JSON schema (defined with `"format": "uri"`). Variables like `$matchUrlx64` that contain only path segments must be combined with a base URL (e.g., `https://github.com/.../releases/download/`) to form a complete valid URI.
Learnt from: Lutra-Fs
Repo: ScoopInstaller/Extras PR: 16020
File: bucket/regedix.json:6-8
Timestamp: 2025-09-26T02:55:31.132Z
Learning: For Scoop manifests, prefer using "suggest" over "depends" for .NET runtime dependencies because user machines often have externally managed .NET runtimes already installed, and using "depends" could cause duplicate installations of the same runtime.
📚 Learning: 2025-10-19T13:58:23.389Z
Learnt from: o-l-a-v
Repo: ScoopInstaller/Extras PR: 16378
File: bucket/compactgui.json:20-22
Timestamp: 2025-10-19T13:58:23.389Z
Learning: In the ScoopInstaller/Extras repository, the CompactGUI manifest removed hash verification from the autoupdate block because the hash verification mechanism (scraping SHA-256 from release page HTML) is no longer available in newer CompactGUI releases. GitHub asset digests exist in beta releases but not in v3.8.0, and Scoop doesn't have built-in support for extracting from GitHub API asset digests.

Applied to files:

  • bucket/jjui.json
📚 Learning: 2025-10-16T13:42:43.224Z
Learnt from: o-l-a-v
Repo: ScoopInstaller/Extras PR: 16349
File: bucket/debugviewpp.json:14-21
Timestamp: 2025-10-16T13:42:43.224Z
Learning: In the DebugViewPP project (CobaltFusion/DebugViewPP), the executable name changed from "DebugView++.exe" (in v1.8.0.103 and earlier) to "Debugviewpp.exe" (in v1.9.0.28 and later). The manifest bucket/debugviewpp.json correctly uses "Debugviewpp.exe" for current versions.

Applied to files:

  • bucket/jjui.json
📚 Learning: 2025-09-05T09:41:52.653Z
Learnt from: Gitoffthelawn
Repo: ScoopInstaller/Extras PR: 16106
File: bucket/czkawka-gui.json:25-25
Timestamp: 2025-09-05T09:41:52.653Z
Learning: For czkawka-gui manifests in Scoop Extras, the correct upstream filename pattern for Windows GUI builds in recent versions uses "gtk46" (without underscore), not "gtk_46" (with underscore). The autoupdate URL should use "windows_czkawka_gui_gtk46.zip" format. This was confirmed by a working 10.0.0 update with valid hash.

Applied to files:

  • bucket/jjui.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: WindowsPowerShell
🔇 Additional comments (2)
bucket/jjui.json (2)

1-35: Manifest structure looks reasonable; verify pre_install and autoupdate hash strategy.

The manifest is well-formed and includes all essential fields (version, description, homepage, license, architecture-specific downloads with hashes, env_set, bin, persist, pre_install, checkver, autoupdate).

Key points to verify:

  1. Pre_install script (line 21): The -Recurse flag may be overly broad—confirm the release archive structure to ensure it only finds the intended executable in $dir.
  2. Autoupdate hashes (lines 25–34): The autoupdate block omits hash specifications, consistent with learnings from CompactGUI (PR 16378) where hash scraping became unavailable. Confirm this is the intended pattern for jjui.
  3. Config directory mapping (line 17): The JJUI_CONFIG_DIR environment variable matches the Windows path documented on the jjui wiki.

Use the verification scripts in the previous review comments to confirm the release structure and hash availability before merging.


25-34: Autoupdate configuration is correct—hash specifications intentionally omitted.

The missing hashes in the autoupdate section are expected and acceptable. jjui releases provide no downloadable hash files, and Scoop cannot extract verification data from GitHub API for standard releases. This follows the established Scoop Extras pattern documented in CompactGUI (PR 16378), where hash verification removal is appropriate when upstream digest sources are unavailable. The hardcoded hashes in the initial manifest (lines 8–13) remain valid for the current version.

@abgox
Copy link
Copy Markdown
Contributor Author

abgox commented Nov 13, 2025

"env_set": {
    "JJUI_CONFIG_DIR": "$dir\\jjui"
},
"persist": "jjui",
  • The definitions here may need to be discussed, such as: jjui, data, appData, etc.

@z-Fng
Copy link
Copy Markdown
Member

z-Fng commented Nov 17, 2025

  • The definitions here may need to be discussed, such as: jjui, data, appData, etc.

Prefer using config or data/appData.

@z-Fng
Copy link
Copy Markdown
Member

z-Fng commented Nov 17, 2025

/verify

@github-actions
Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

jjui

  • Lint
  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate

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!

@z-Fng z-Fng merged commit 4871fc9 into ScoopInstaller:master Nov 17, 2025
3 checks passed
@abgox abgox deleted the push-nsxuvwvyvxvq branch November 19, 2025 12:38
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]: jjui

2 participants