Versions icon indicating copy to clipboard operation
Versions copied to clipboard

OrcaSlicer: Add nightly manifest

Open bolens opened this issue 8 months ago • 3 comments

Closes #2241

bolens avatar Apr 10 '25 16:04 bolens

All changes look good.

Wait for review from human collaborators.

orcaslicer-nightly

  • [x] Description
  • [x] License
  • [x] Hashes
  • [x] Checkver
  • [x] Autoupdate

github-actions[bot] avatar Apr 10 '25 16:04 github-actions[bot]

/verify

bolens avatar Apr 10 '25 16:04 bolens

All changes look good.

Wait for review from human collaborators.

orcaslicer-nightly

  • [x] Description
  • [x] License
  • [x] Hashes
  • [x] Checkver
  • [x] Autoupdate

github-actions[bot] avatar Apr 10 '25 16:04 github-actions[bot]

Walkthrough

Adds a new public Scoop manifest bucket/orcaslicer-nightly.json for OrcaSlicer nightly builds: a nightly-versioned 64-bit portable package with download URL and SHA256, extract_dir, shortcut mapping, a checkver block that queries GitHub nightly-builds and extracts a Unix-timestamp version via PowerShell/regex, and an autoupdate URL.

Changes

Cohort / File(s) Summary of Changes
New Scoop manifest: OrcaSlicer Nightly
bucket/orcaslicer-nightly.json
Added manifest with metadata (version as nightly numeric timestamp), description, homepage, license; 64-bit architecture block with download URL and SHA256; extract_dir: "OrcaSlicer"; shortcuts mapping orca-slicer.exe to "OrcaSlicer Nightly"; checkver using GitHub nightly-builds release tag with a PowerShell script extracting updated_at Unix timestamp and a regex to capture the version; autoupdate pointing to the nightly portable download URL for 64-bit.

Sequence Diagram(s)

sequenceDiagram
    autonumber
    participant Scoop as Scoop Client
    participant GitHub as GitHub API (nightly-builds)
    participant PS as PowerShell script (checkver)
    participant Downloader as Scoop Downloader
    participant Installer as Scoop Installer

    Scoop->>GitHub: GET releases/tag/nightly-builds (checkver URL)
    GitHub-->>Scoop: JSON (includes updated_at, assets)
    Scoop->>PS: run extraction script on JSON (extract updated_at -> unix ts)
    PS-->>Scoop: version string (timestamp)
    Scoop->>Scoop: apply regex to capture filename/version
    Scoop->>Downloader: resolve autoupdate URL -> download nightly portable .zip
    Downloader-->>Installer: provide archive + SHA256
    Installer->>Installer: extract (`extract_dir: OrcaSlicer`) & create shortcut (`orca-slicer.exe`)
    note right of Installer #DFF2E1: Success path — nightly installed

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I nibble bytes beneath the moon,
Nightly builds arrive—oh, tune!
Regex whiskers, hashes gleam,
Shortcuts spring from a dreaming stream.
Hopping code, a tiny cheer—Orca’s night is here! 🐇✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description Check ⚠️ Warning The PR description includes template comments, a “Closes #2241” reference, and a checked contributing‐guide acknowledgment, but it omits a summary of the actual changes and does not fill out the required template fields such as the conventional PR title checkbox and an overview of what the manifest adds. Please add a brief summary of the changes at the top of the description (e.g. “This PR adds a nightly manifest for OrcaSlicer”), check the “Use conventional PR title” box, and ensure all required template sections are completed.
✅ Passed checks (4 passed)
Check name Status Explanation
Title Check ✅ Passed The title correctly references the orcaslicer-nightly package and a version number, which relates to the changeset, but it emphasizes a specific build timestamp rather than the broader purpose of adding a nightly manifest file, making it only partially aligned with the main change.
Linked Issues Check ✅ Passed The new manifest defines the orcaslicer-nightly package with the requested nightly versioning scheme, homepage, download URL, checkver script, and autoupdate configuration exactly as described in issue #2241, satisfying the core coding requirements for an English‐language nightly build manifest.
Out of Scope Changes Check ✅ Passed All modifications are confined to the addition of the orcaslicer-nightly manifest file and directly support the linked issue’s objectives, with no unrelated or extraneous changes detected.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • [ ] Create PR with unit tests
  • [ ] Post copyable unit tests in a comment

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[bot] avatar Sep 22 '25 20:09 coderabbitai[bot]

This appears to be a dev build rather than a nightly build. Any updates?

z-Fng avatar Sep 28 '25 08:09 z-Fng

/verify

z-Fng avatar Oct 05 '25 15:10 z-Fng

All changes look good.

Wait for review from human collaborators.

orcaslicer-nightly

  • [x] Lint
  • [x] Description
  • [x] License
  • [x] Hashes
  • [x] Checkver
  • [x] Autoupdate

Check the full log for details.

github-actions[bot] avatar Oct 05 '25 15:10 github-actions[bot]