-
-
Notifications
You must be signed in to change notification settings - Fork 236
xournalpp-nightly: Update to the latest version, fix autoupdate & installation, add arm64 version #2451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…tallation, add arm64 version
WalkthroughBumps nightly manifest to 1.2.8-20250926, replaces 64-bit x86_64 artifact with AMD64 (adds extract_dir), adds ARM64 architecture with URL/hash/extract_dir, updates autoupdate entries for both architectures, and removes the top-level pre_install block. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Updater as App Updater
participant Manifest as Manifest (`bucket/xournalpp-nightly.json`)
participant Remote as GitHub Releases
Note over Updater,Manifest: Determine host architecture
Updater->>Manifest: Read available architectures (`64bit`, `arm64`)
alt Host is AMD64
Updater->>Remote: Download AMD64 zip (URL from manifest)
Remote-->>Updater: AMD64 zip + checksum
Updater->>Updater: Verify hash, extract to AMD64 extract_dir
else Host is ARM64
Updater->>Remote: Download ARM64 zip (URL from manifest)
Remote-->>Updater: ARM64 zip + checksum
Updater->>Updater: Verify hash, extract to ARM64 extract_dir
end
Updater->>Updater: Install/update binaries & shortcuts
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ 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)
🔇 Additional comments (1)
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 |
All changes look good. Wait for review from human collaborators. xournalpp-nightly
|
There was a problem hiding this 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 (2)
bucket/xournalpp-nightly.json (2)
33-35
: Autoupdate: include hash for unattended bumps.
Add a per-arch hash pointing to the release’s “.zip.sha256” so automated PRs have hashes.Apply:
"url": "https://github.com/xournalpp/xournalpp/releases/download/nightly/xournalpp-$matchMain+dev-nightly-$matchDate-windows-portable-AMD64.zip", - "extract_dir": "xournalpp-$matchMain+dev-nightly-$matchDate-windows-portable-AMD64" + "extract_dir": "xournalpp-$matchMain+dev-nightly-$matchDate-windows-portable-AMD64", + "hash": { "url": "$url.sha256" }
36-38
: Autoupdate (ARM64): mirror the hash addition.
Keeps both architectures consistent.Apply:
"url": "https://github.com/xournalpp/xournalpp/releases/download/nightly/xournalpp-$matchMain+dev-nightly-$matchDate-windows-portable-ARM64.zip", - "extract_dir": "xournalpp-$matchMain+dev-nightly-$matchDate-windows-portable-ARM64" + "extract_dir": "xournalpp-$matchMain+dev-nightly-$matchDate-windows-portable-ARM64", + "hash": { "url": "$url.sha256" }
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
bucket/xournalpp-nightly.json
(2 hunks)
⏰ 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). (2)
- GitHub Check: PowerShell
- GitHub Check: WindowsPowerShell
🔇 Additional comments (3)
bucket/xournalpp-nightly.json (3)
2-2
: Version bump looks consistent with checkver replace.
1.2.8-20250904
matches${main}-${date}
from the regex groups.
12-15
: Add ARM64: good addition.
Path structure aligns with 64-bit; same bin layout expected.
8-11
: Manual SHA256 verification required for AMD64 artifact (bucket/xournalpp-nightly.json lines 8–11)
The.zip.sha256
URL returned 404; download the AMD64 ZIP and compute its SHA256 locally to ensure it matches the manifest’shash
. Theextract_dir
name is correct.
/verify |
All changes look good. Wait for review from human collaborators. xournalpp-nightly
|
83be3a3
to
770f629
Compare
/verify |
All changes look good. Wait for review from human collaborators. xournalpp-nightly
|
All changes look good. Wait for review from human collaborators. xournalpp-nightly
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Update to the latest version.
Fix autoupdate & installation.
Add arm64 version.
I have read the Contributing Guide.
Summary by CodeRabbit
New Features
Chores