Skip to content

camstudio@2.7.4-r354: Update CamStudio to 3.0#18053

Open
YusufKhalifadev wants to merge 1 commit into
ScoopInstaller:masterfrom
YusufKhalifadev:camstudio-new
Open

camstudio@2.7.4-r354: Update CamStudio to 3.0#18053
YusufKhalifadev wants to merge 1 commit into
ScoopInstaller:masterfrom
YusufKhalifadev:camstudio-new

Conversation

@YusufKhalifadev

Copy link
Copy Markdown
Contributor

The url wasn't working as it was pointing to an old location, and the old package was deprecated and got rebranded and updated to 3.0

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

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The bucket/camstudio.json Scoop manifest is updated to CamStudio version 3.0. The license field changes from GPL-3.0-or-later to Freeware. The suggest.vcredist entry changes from extras/vcredist2010 to extras/vcredist2015. The previous multi-entry download url/hash array is replaced with a single x64 installer URL and a new SHA-256 hash. The shortcuts entry updates the referenced executable from Recorder.exe to CamStudio-x64.exe, keeping the shortcut display name as CamStudio.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: updating CamStudio to version 3.0, which aligns with the manifest update.
Description check ✅ Passed The description includes a brief explanation of the change and verification that the update works, though it lacks explicit issue references and some checklist items are incomplete.
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.


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/camstudio.json`:
- Around line 9-10: The manifest does not specify that the x64-only installer is
architecture-scoped, which could cause installation failures on 32-bit systems.
Move the url field (pointing to CamStudio-x64.exe) and its corresponding hash
field into a 64bit architecture block to explicitly restrict this installer to
64-bit systems only. This prevents Scoop from attempting installation on
incompatible architectures.
🪄 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: 8bc72288-0650-467f-a1c4-169ea757d8dc

📥 Commits

Reviewing files that changed from the base of the PR and between 05f4259 and 1eaa3fd.

📒 Files selected for processing (1)
  • bucket/camstudio.json

Comment thread bucket/camstudio.json
Comment on lines +9 to +10
"url": "https://camstudio.org/assets/current-version/CamStudio-x64.exe",
"hash": "b5f48d48e090bd2e3404bfb37cf2e522c1462e03f0fed96dd3459c5c41d5e86e",

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 | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Read-only verification: detect x64-only payload without architecture scoping.
python - <<'PY'
import json, re, pathlib, sys
p = pathlib.Path("bucket/camstudio.json")
data = json.loads(p.read_text(encoding="utf-8"))
url = data.get("url", "")
arch = data.get("architecture")
x64_hint = bool(re.search(r'(x64|64bit)', url, re.I))
print(f"url={url}")
print(f"has_architecture_block={arch is not None}")
print(f"x64_hint_in_url={x64_hint}")
if x64_hint and arch is None:
    print("FAIL: x64-only hint detected but no architecture block is defined.")
    sys.exit(1)
print("PASS: architecture scoping looks consistent with URL hints.")
PY

Repository: ScoopInstaller/Extras

Length of output: 249


🏁 Script executed:

cat -n bucket/camstudio.json

Repository: ScoopInstaller/Extras

Length of output: 694


🏁 Script executed:

# Check if autoupdate block exists and for any hardcoded versions
rg -A 20 "autoupdate" bucket/camstudio.json

Repository: ScoopInstaller/Extras

Length of output: 47


🏁 Script executed:

# Check file line endings (CRLF vs LF)
file bucket/camstudio.json

Repository: ScoopInstaller/Extras

Length of output: 110


🏁 Script executed:

# Check if this is a newly added file or existing file
git log --oneline -1 bucket/camstudio.json 2>/dev/null || echo "File may be newly added or git not available"

Repository: ScoopInstaller/Extras

Length of output: 97


🏁 Script executed:

# Check line endings using od (hex dump to detect CRLF vs LF)
od -c bucket/camstudio.json | head -20

Repository: ScoopInstaller/Extras

Length of output: 106


🏁 Script executed:

# Alternative: use sed to check for line endings
python3 - <<'PY'
import pathlib
p = pathlib.Path("bucket/camstudio.json")
content = p.read_bytes()
has_crlf = b'\r\n' in content
has_lf_only = b'\n' in content and not has_crlf
print(f"Has CRLF: {has_crlf}")
print(f"Has LF only: {has_lf_only}")
PY

Repository: ScoopInstaller/Extras

Length of output: 99


Scope this manifest to 64-bit explicitly to avoid unsupported installs on 32-bit systems.

The URL on line 9 points to an x64-only installer (CamStudio-x64.exe), but the manifest does not define an architecture block. This means Scoop may attempt installation on 32-bit systems and fail at runtime. Move url and hash into a 64bit architecture block.

Suggested patch
 {
     "version": "3.0",
     "description": "Free desktop recorder and video streaming software",
     "homepage": "https://camstudio.org/",
     "license": "Freeware",
     "suggest": {
         "vcredist": "extras/vcredist2015"
     },
-    "url": "https://camstudio.org/assets/current-version/CamStudio-x64.exe",
-    "hash": "b5f48d48e090bd2e3404bfb37cf2e522c1462e03f0fed96dd3459c5c41d5e86e",
+    "architecture": {
+        "64bit": {
+            "url": "https://camstudio.org/assets/current-version/CamStudio-x64.exe",
+            "hash": "b5f48d48e090bd2e3404bfb37cf2e522c1462e03f0fed96dd3459c5c41d5e86e"
+        }
+    },
     "shortcuts": [
         [
             "CamStudio-x64.exe",
             "CamStudio"
         ]
     ]
 }

For manifest validation guidance, see the contribution guide and manifest wiki.

📝 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
"url": "https://camstudio.org/assets/current-version/CamStudio-x64.exe",
"hash": "b5f48d48e090bd2e3404bfb37cf2e522c1462e03f0fed96dd3459c5c41d5e86e",
{
"version": "3.0",
"description": "Free desktop recorder and video streaming software",
"homepage": "https://camstudio.org/",
"license": "Freeware",
"suggest": {
"vcredist": "extras/vcredist2015"
},
"architecture": {
"64bit": {
"url": "https://camstudio.org/assets/current-version/CamStudio-x64.exe",
"hash": "b5f48d48e090bd2e3404bfb37cf2e522c1462e03f0fed96dd3459c5c41d5e86e"
}
},
"shortcuts": [
[
"CamStudio-x64.exe",
"CamStudio"
]
]
}
🤖 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/camstudio.json` around lines 9 - 10, The manifest does not specify
that the x64-only installer is architecture-scoped, which could cause
installation failures on 32-bit systems. Move the url field (pointing to
CamStudio-x64.exe) and its corresponding hash field into a 64bit architecture
block to explicitly restrict this installer to 64-bit systems only. This
prevents Scoop from attempting installation on incompatible architectures.

@YusufKhalifadev

Copy link
Copy Markdown
Contributor Author

/verify

@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

camstudio

  • Lint
  • Description
  • License
  • Hashes

Check the full log for details.

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