Skip to content

gmic-qt: Add version 3.7.6#17905

Open
scillidan wants to merge 3 commits into
ScoopInstaller:masterfrom
scillidan:gmic-qt
Open

gmic-qt: Add version 3.7.6#17905
scillidan wants to merge 3 commits into
ScoopInstaller:masterfrom
scillidan:gmic-qt

Conversation

@scillidan

Copy link
Copy Markdown
Contributor

Closes #17904

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

@coderabbitai

coderabbitai Bot commented May 27, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 6347f3fd-26a4-4ecb-8cc9-156a18f5040c

📥 Commits

Reviewing files that changed from the base of the PR and between 481d3b0 and 5d8cb29.

📒 Files selected for processing (1)
  • bucket/gmic-qt.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • bucket/gmic-qt.json

📝 Walkthrough

Walkthrough

This PR adds a new Scoop package manifest file bucket/gmic-qt.json for G'MIC-Qt version 3.7.6. The manifest includes metadata (description, homepage, license), a Windows 64-bit download URL and SHA-256 hash with extract_dir, a shortcut mapping gmic_qt.exe → G'MIC-Qt, a checkver regex targeting the homepage, and an autoupdate rule using a $version-templated win64 URL.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~7 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: adding version 3.7.6 of the gmic-qt manifest to the bucket.
Description check ✅ Passed The description includes proper issue reference (Closes #17904) and confirms completion of both required checklist items from the template.
Linked Issues check ✅ Passed The PR satisfies all coding requirements from issue #17904: manifest declares correct version, description, homepage, downloads with SHA-256 hashes, shortcuts, and autoupdate/checkver rules.
Out of Scope Changes check ✅ Passed All changes are in scope: only the gmic-qt.json manifest file is added to fulfill 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.

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


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

🧹 Nitpick comments (1)
bucket/gmic-qt.json (1)

1-30: Testing instructions before merge.

Please test the manifest locally using the following steps:

  1. Optional: Enable debug mode and set GitHub token (for GitHub API access during version checks):

    scoop config debug true
    scoop config gh_token <your-github-token>  # Read access only
  2. Force version detection and autoupdate to verify the checkver and autoupdate configuration:

    .\bin\checkver.ps1 -App gmic-qt -f
  3. Auto-format (Lint) the JSON manifest to ensure proper formatting:

    .\bin\formatjson.ps1 -App gmic-qt
  4. Test installation for 64-bit architecture:

    scoop install .\bucket\gmic-qt.json -a 64bit

For more details, see the Contribution Guide.

🤖 Prompt for 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.

In `@bucket/gmic-qt.json` around lines 1 - 30, Manifest lacks local verification
steps—please run the recommended tests: enable debug and set a GitHub token
(scoop config debug true; scoop config gh_token <token>), force version
detection with .\bin\checkver.ps1 -App gmic-qt -f to validate the "checkver"
regex and discovered version, run .\bin\formatjson.ps1 -App gmic-qt to lint the
JSON, install the 64-bit manifest with scoop install .\bucket\gmic-qt.json -a
64bit and confirm the installed files match "extract_dir" and the "shortcuts"
entry launches gmic_qt.exe, and finally verify the "autoupdate" URL substitution
(gmic_$version_qt_win64.zip) produces a valid download URL.
🤖 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/gmic-qt.json`:
- Around line 1-5: The manifest currently uses LF line endings; convert the file
to CRLF line endings so the JSON keys such as "version", "description",
"homepage", and "license" in bucket/gmic-qt.json end each line with \r\n; ensure
your editor or git normalisation writes CRLF for this file (or run a line-ending
conversion tool) and re-commit so the repository contains the CRLF-terminated
manifest.
- Line 12: The autoupdate block is missing a parameterized extract_dir and still
relies on the hardcoded top-level "extract_dir"; update the autoupdate section
to include an extract_dir that uses the version variable (e.g., set
autoupdate.extract_dir to the same pattern as the top-level but using $version)
so it becomes something like "gmic-$version-qt-win64", ensuring autoupdate will
extract the correct folder for new versions; modify the autoupdate block where
extract_dir is defined (and any related autoupdate.url if necessary) to use the
$version variable rather than the hardcoded 3.7.6.

---

Nitpick comments:
In `@bucket/gmic-qt.json`:
- Around line 1-30: Manifest lacks local verification steps—please run the
recommended tests: enable debug and set a GitHub token (scoop config debug true;
scoop config gh_token <token>), force version detection with .\bin\checkver.ps1
-App gmic-qt -f to validate the "checkver" regex and discovered version, run
.\bin\formatjson.ps1 -App gmic-qt to lint the JSON, install the 64-bit manifest
with scoop install .\bucket\gmic-qt.json -a 64bit and confirm the installed
files match "extract_dir" and the "shortcuts" entry launches gmic_qt.exe, and
finally verify the "autoupdate" URL substitution (gmic_$version_qt_win64.zip)
produces a valid download URL.
🪄 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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5110e7d3-4280-4661-94fc-d75a937a21aa

📥 Commits

Reviewing files that changed from the base of the PR and between b98e587 and 77fea4d.

📒 Files selected for processing (1)
  • bucket/gmic-qt.json

Comment thread bucket/gmic-qt.json
Comment thread bucket/gmic-qt.json Outdated
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

@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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
bucket/gmic-qt.json (1)

12-36: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Fix invalid JSON in bucket/gmic-qt.json (duplicate “autoupdate” + missing comma).

  • No comma after the first top-level "autoupdate" block before "shortcuts" (around lines 19–20), causing JSON parsing to fail.
  • Two top-level "autoupdate" blocks exist (around lines 12–19 and 30–36); consolidate into a single block (keep extract_dir and parameterized $version).
🔧 Proposed minimal fix
- "autoupdate": {
-     "architecture": {
-         "64bit": {
-             "url": "https://gmic.eu/get_file.php?file=windows/gmic_$version_qt_win64.zip",
-             "extract_dir": "gmic-$version-qt-win64"
-         }
-     }
- }
+    "autoupdate": {
+        "architecture": {
+            "64bit": {
+                "url": "https://gmic.eu/get_file.php?file=windows/gmic_$version_qt_win64.zip",
+                "extract_dir": "gmic-$version-qt-win64"
+            }
+        }
+    },
@@
-    "autoupdate": {
-        "architecture": {
-            "64bit": {
-                "url": "https://gmic.eu/get_file.php?file=windows/gmic_$version_qt_win64.zip"
-            }
-        }
-    }

Run .\\bin\\formatjson.ps1 -App gmic-qt after applying the change.
Contribution guidance: https://github.com/ScoopInstaller/Scoop/wiki/App-Manifests

🤖 Prompt for 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.

In `@bucket/gmic-qt.json` around lines 12 - 36, The JSON has a duplicate top-level
"autoupdate" and a missing comma between the first "autoupdate" block and the
"shortcuts" array; remove the second "autoupdate" block and merge its contents
into the first "autoupdate" so the 64bit entry keeps the parameterized "url"
(with $version) and the "extract_dir" field, then add the missing comma after
the first "autoupdate" object so "shortcuts" is a separate property; ensure the
final manifest contains a single "autoupdate" object with "architecture" ->
"64bit" -> { "url":
"https://gmic.eu/get_file.php?file=windows/gmic_$version_qt_win64.zip",
"extract_dir": "gmic-$version-qt-win64" } and keep "shortcuts" and "checkver" as
shown.
🤖 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.

Outside diff comments:
In `@bucket/gmic-qt.json`:
- Around line 12-36: The JSON has a duplicate top-level "autoupdate" and a
missing comma between the first "autoupdate" block and the "shortcuts" array;
remove the second "autoupdate" block and merge its contents into the first
"autoupdate" so the 64bit entry keeps the parameterized "url" (with $version)
and the "extract_dir" field, then add the missing comma after the first
"autoupdate" object so "shortcuts" is a separate property; ensure the final
manifest contains a single "autoupdate" object with "architecture" -> "64bit" ->
{ "url": "https://gmic.eu/get_file.php?file=windows/gmic_$version_qt_win64.zip",
"extract_dir": "gmic-$version-qt-win64" } and keep "shortcuts" and "checkver" as
shown.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 6c2409ac-1eaa-4302-bb29-68cfa3d4d9e9

📥 Commits

Reviewing files that changed from the base of the PR and between 77fea4d and 481d3b0.

📒 Files selected for processing (1)
  • bucket/gmic-qt.json

@scillidan

Copy link
Copy Markdown
Contributor Author

/verify

@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

gmic-qt

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

Check the full log for details.

arvdk added a commit to arvdk/Extras that referenced this pull request Jun 9, 2026
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]: G'MIC-Qt

1 participant