qgis(-ltr): Add version 4.0.1-1 (3.44.9-1)#17662
Conversation
📝 WalkthroughWalkthroughThis pull request adds four new Scoop bucket manifests for QGIS: Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ 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. Comment |
Co-authored-by: Dawei Huang <davidxuang@live.com>
There was a problem hiding this comment.
🧹 Nitpick comments (1)
qgis.json (1)
19-19: Nit: escape the literal dot beforemsiin thecheckver.regex.
([\\d.]+(-\\d+)?).msiuses an unescaped.as the separator beforemsi, which matches any character. Not a functional problem for the current upstream filename, but escaping tightens the match.♻️ Proposed tightening
- "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?).msi" + "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?)\\.msi"Consider applying the same change in
qgis-ltr.json,qgis-grids.json, andqgis-ltr-grids.jsonfor consistency.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@qgis.json` at line 19, The regex in the checkver pattern currently uses an unescaped dot before "msi" ("([\\d.]+(-\\d+)?).msi"), which matches any character; update the pattern to escape the literal dot so it reads "([\\d.]+(-\\d+)?)\.msi" to tighten the match, and apply the same change to the corresponding patterns in qgis-ltr.json, qgis-grids.json, and qgis-ltr-grids.json for consistency.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@qgis.json`:
- Line 19: The regex in the checkver pattern currently uses an unescaped dot
before "msi" ("([\\d.]+(-\\d+)?).msi"), which matches any character; update the
pattern to escape the literal dot so it reads "([\\d.]+(-\\d+)?)\.msi" to
tighten the match, and apply the same change to the corresponding patterns in
qgis-ltr.json, qgis-grids.json, and qgis-ltr-grids.json for consistency.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 2f87e920-2c2f-4d11-9e72-66572b2bf6e7
📒 Files selected for processing (4)
qgis-grids.jsonqgis-ltr-grids.jsonqgis-ltr.jsonqgis.json
✅ Files skipped from review due to trivial changes (2)
- qgis-ltr-grids.json
- qgis-ltr.json
🚧 Files skipped from review as they are similar to previous changes (1)
- qgis-grids.json
There was a problem hiding this comment.
🧹 Nitpick comments (2)
bucket/qgis.json (1)
19-19: Nit: same redundant inner capture group as inqgis-ltr.json.For consistency and clarity, consider making the inner
-\d+group non-capturing (it is unused by Scoop'scheckver):♻️ Optional cleanup
- "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?)\\.msi" + "regex": "/QGIS-OSGeo4W-([\\d.]+(?:-\\d+)?)\\.msi"🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@bucket/qgis.json` at line 19, The regex in the "regex" field currently contains a redundant inner capturing group (-\d+) which is unused; update the pattern in qgis.json (the "regex" value) to make that inner group non-capturing (e.g., change (-\d+) to (?:-\d+)) so only the intended version capture remains.bucket/qgis-ltr.json (1)
19-19: Nit: the inner(-\d+)?capture group is redundant.The outer group
([\d.]+(-\d+)?)already captures the full version including the optional-Nbuild suffix, and Scoop consumes only the first capture group as$version. The inner group is never referenced, so it can be made non-capturing for clarity.♻️ Optional cleanup
- "regex": "/QGIS-OSGeo4W-([\\d.]+(-\\d+)?)\\.msi" + "regex": "/QGIS-OSGeo4W-([\\d.]+(?:-\\d+)?)\\.msi"🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@bucket/qgis-ltr.json` at line 19, The regex currently uses a redundant inner capturing group "(-\d+)?" inside the value "\"regex\": \"/QGIS-OSGeo4W-([\\d.]+(-\\d+)?)\\.msi\""; update it so the inner group is non-capturing (e.g. "\"regex\": \"/QGIS-OSGeo4W-([\\d.]+(?:-\\d+)?)\\.msi\"") so only the outer capture provides $version and the inner group is not separately captured.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@bucket/qgis-ltr.json`:
- Line 19: The regex currently uses a redundant inner capturing group "(-\d+)?"
inside the value "\"regex\": \"/QGIS-OSGeo4W-([\\d.]+(-\\d+)?)\\.msi\""; update
it so the inner group is non-capturing (e.g. "\"regex\":
\"/QGIS-OSGeo4W-([\\d.]+(?:-\\d+)?)\\.msi\"") so only the outer capture provides
$version and the inner group is not separately captured.
In `@bucket/qgis.json`:
- Line 19: The regex in the "regex" field currently contains a redundant inner
capturing group (-\d+) which is unused; update the pattern in qgis.json (the
"regex" value) to make that inner group non-capturing (e.g., change (-\d+) to
(?:-\d+)) so only the intended version capture remains.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: b205eee5-6b44-450a-82d3-cac6621270cf
📒 Files selected for processing (4)
bucket/qgis-grids.jsonbucket/qgis-ltr-grids.jsonbucket/qgis-ltr.jsonbucket/qgis.json
✅ Files skipped from review due to trivial changes (2)
- bucket/qgis-grids.json
- bucket/qgis-ltr-grids.json
* Use subfolders for start menus as the preremove will purge the entire folder
Closes #17661
<manifest-name[@version]|chore>: <general summary of the pull request>Potential issues so far:
The postinstall script of qgis package will try to use regedit to register itself, so UAC will pop up in user install. User install may (or may not) need to be disabled.