Skip to content

microsoft-coreutils@2026.5.29: Adding Scripts, Remake shims - #8110

Open
SiriosDev wants to merge 12 commits into
ScoopInstaller:masterfrom
SiriosDev:rework-ms-cu
Open

SiriosDev wants to merge 12 commits into
ScoopInstaller:masterfrom
SiriosDev:rework-ms-cu

Conversation

@SiriosDev

@SiriosDev SiriosDev commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Following the raw script included in the original repository, I created a script that creates hard links in bin and cmd, removes the placeholder file, and modifies and runs pwsh-install.ps1 to reference HKCU instead of HKLM, so that UAC is no longer required even for CurrentUser mode. (And Uninstall too of course).

In this way, the shipped “patch” should apply to all $PROFILE, except for legacy versions (>5.0), which are not supported by the original installer

Relates to #8107

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

@SiriosDev
SiriosDev marked this pull request as draft June 5, 2026 20:36
@SiriosDev
SiriosDev marked this pull request as ready for review June 5, 2026 20:42
Comment thread bucket/microsoft-coreutils.json Outdated
@deuteros-gex

Copy link
Copy Markdown
Contributor

Just for your infomartion, the latest build is now available with zip archives.
I think it is time to revise this manifest?
https://github.com/microsoft/coreutils/releases/download/v2026.6.16/coreutils-2026.6.16-x64.zip
https://github.com/microsoft/coreutils/releases/download/v2026.6.16/coreutils-2026.6.16-arm64.zip

@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f7a70889-3caf-4588-ba4b-246488746d08

📥 Commits

Reviewing files that changed from the base of the PR and between 0eb655a and 6106997.

📒 Files selected for processing (1)
  • bucket/microsoft-coreutils.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • bucket/microsoft-coreutils.json

Summary by CodeRabbit

  • New Features
    • Updated Microsoft coreutils to 2026.6.16 for both x64 and ARM64.
    • Added the Coreutils Manager command and improved individual utility command access.
    • Improved installation behavior with generated bin and cmd entries.
  • Bug Fixes
    • PowerShell integration now uses the current user profile and runs only with compatible PowerShell versions.
    • Refined command discovery, hardlink creation, placeholder cleanup, and uninstall failure reporting.

Walkthrough

The microsoft-coreutils manifest is updated to version 2026.6.16 with new 64-bit and ARM64 artifacts. Command mappings now target per-tool executables. Installer and uninstaller scripts create hardlinks and conditionally configure PowerShell integration.

Changes

microsoft-coreutils manifest update

Layer / File(s) Summary
Version bump and artifact URLs/hashes
bucket/microsoft-coreutils.json
Updates the version to 2026.6.16 and replaces the 64-bit and ARM64 download URLs and SHA-256 hashes.
Bin mapping restructure to hardlink form
bucket/microsoft-coreutils.json
Adds coreutils-manager.exe and changes utility mappings to ["bin/<tool>.exe", "<tool>"] entries.
Installer/uninstaller PowerShell scripting
bucket/microsoft-coreutils.json
Creates bin and cmd directories, generates hardlinks from coreutils.exe --list, changes PowerShell profile registration from HKLM to HKCU, and conditionally runs PowerShell integration based on the installed pwsh.exe version and availability.

Mergeability Score: ⚪ Minimal · up to 61069

The PR changes the package manifest to add scripts and remake shims; no actionable merge-blocking risk remains beyond normal checks and review.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title identifies the manifest and the main script and shim changes, but it references the previous version.
Description check ✅ Passed The description summarizes the implementation, explains the UAC change, links issue #8107, and includes the required checklist confirmations.
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.

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.

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


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3cabba7c-8f1f-454b-a9d5-0e605445c757

📥 Commits

Reviewing files that changed from the base of the PR and between a795630 and 6a788bc.

📒 Files selected for processing (1)
  • bucket/microsoft-coreutils.json

Comment thread bucket/microsoft-coreutils.json
Comment thread bucket/microsoft-coreutils.json Outdated
Comment thread bucket/microsoft-coreutils.json Outdated
Comment thread bucket/microsoft-coreutils.json Outdated
@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants