Skip to content

dsc: Add version 3.1.1#6626

Open
o-l-a-v wants to merge 4 commits into
ScoopInstaller:masterfrom
o-l-a-v:dsc-add
Open

dsc: Add version 3.1.1#6626
o-l-a-v wants to merge 4 commits into
ScoopInstaller:masterfrom
o-l-a-v:dsc-add

Conversation

@o-l-a-v

@o-l-a-v o-l-a-v commented Mar 13, 2025

Copy link
Copy Markdown
Contributor

Closes #6625

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

Summary by CodeRabbit

  • New Features
    • Added DSC 3.1.1 to the Scoop bucket, making it installable via Scoop.
    • Provides support for 64-bit and ARM64 architectures with appropriate downloads.
    • Ensures integrity with SHA256 checksum verification for each architecture.
    • Configured automatic updates to track the latest GitHub releases.
    • Sets up the executable so users can run dsc directly after installation.

@github-actions

Copy link
Copy Markdown
Contributor

Your changes do not pass checks.

dsc

  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

@o-l-a-v

o-l-a-v commented Mar 13, 2025

Copy link
Copy Markdown
Contributor Author

/verify

@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

dsc

  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

@o-l-a-v o-l-a-v changed the title dsc: Add version 3.0.0 dsc: Add version 3.1.0 Jun 27, 2025
@o-l-a-v

o-l-a-v commented Jun 27, 2025

Copy link
Copy Markdown
Contributor Author

/verify

@github-actions

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

dsc

  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

@coderabbitai

coderabbitai Bot commented Sep 8, 2025

Copy link
Copy Markdown

Walkthrough

Adds a new Scoop manifest bucket/dsc.json for DSC v3.1.1, defining metadata, 64-bit and arm64 download URLs with hashes, bin mapping to dsc.exe, GitHub-based checkver, and architecture-aware autoupdate with versioned assets and hash extraction.

Changes

Cohort / File(s) Summary
New manifest: DSC
bucket/dsc.json
Introduces Scoop manifest for DSC 3.1.1 with metadata, arch-specific URLs and SHA256, bin dsc.exe, GitHub checkver, and autoupdate rules using $version and release-page hash lookup.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor User
  participant Scoop as Scoop (client)
  participant GH as GitHub Releases

  rect rgba(225,245,254,0.5)
    Note over Scoop: Install/update flow for DSC
    User->>Scoop: scoop install dsc / scoop update dsc
    Scoop->>GH: Query latest release (checkver)
    GH-->>Scoop: Latest tag/version
    Scoop->>GH: Fetch asset URLs for x64/arm64
    Scoop->>GH: Retrieve SHA256 (hash extraction)
    Scoop-->>User: Download & install dsc.exe per arch
  end
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Assessment against linked issues

Objective Addressed Explanation
Add Scoop manifest for non-GUI tool “dsc” with latest stable version, standard install, English interface, reputable project, and versioned GitHub URLs (#6625)

Poem

A whisk of ears, a tap on keys—
I bundled DSC with gentle ease.
Two arches hop to fetch and hash,
Versions bloom with each release splash.
In Scoop burrow, neat and tight,
dsc.exe is set to bite—
Carrots cached, installs alight!

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

@o-l-a-v o-l-a-v changed the title dsc: Add version 3.1.0 dsc: Add version 3.1.1 Sep 8, 2025

@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: 0

🧹 Nitpick comments (2)
bucket/dsc.json (2)

18-31: Autoupdate hash extraction is valid, but consider a tiny tweak.

Your pattern works with GitHub’s release body. For consistency with Scoop docs, you can use the alias key "find" instead of "regex" (behavior is identical). Optional only. (github.com)

-        "hash": {
-            "url": "https://github.com/PowerShell/DSC/releases/tag/v$version",
-            "regex": "(?s)$basename.*?$sha256"
-        }
+        "hash": {
+            "url": "https://github.com/PowerShell/DSC/releases/tag/v$version",
+            "find": "(?s)$basename.*?$sha256"
+        }

3-3: Trim description (style nit).

Suggestion to make it crisper:

  • "Cross‑platform CLI to manage software components declaratively and idempotently."
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b5a95db and 67ff1dc.

📒 Files selected for processing (1)
  • bucket/dsc.json (1 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). (1)
  • GitHub Check: WindowsPowerShell
🔇 Additional comments (4)
bucket/dsc.json (4)

2-2: Version mismatch with PR title/summary.

Manifest is 3.1.1 but PR title/summary say 3.1.0. Please align the PR title/description or pin the manifest to 3.1.0 (3.1.1 is the latest stable as of September 8, 2025). (newreleases.io)


8-14: URLs and hashes look correct for v3.1.1 (x86_64/arm64).

Both download URLs resolve to the release assets, and the SHA256 values match the upstream release notes. (newreleases.io)


17-17: checkver is appropriate.

"checkver": "github" will track stable releases. No changes needed. (github.com)


16-16: Binary mapping correct as-is Verified that dsc.exe resides at the archive root, so "bin": "dsc.exe" requires no change.

@o-l-a-v

o-l-a-v commented Sep 8, 2025

Copy link
Copy Markdown
Contributor Author

/verify

@github-actions

github-actions Bot commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

All changes look good.

Wait for review from human collaborators.

dsc

  • Description
  • License
  • Hashes
  • Checkver
  • Autoupdate
  • Autoupdate Hash Extraction

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]: dsc

1 participant