office-tool-plus: Use Non-Runtime Package and Suggest Windows Desktop Runtime
Switch office-tool-plus to the package variant that does not bundle the .NET Windows Desktop Runtime, and add versions/windowsdesktop-runtime-10.0 as a suggested runtime package, as this reuses runtime and aligns with the philosophy of other manifests in scoop.
Closes #18172
- [x] Use conventional PR title:
<manifest-name[@version]|chore>: <general summary of the pull request> - [x] I have read the Contributing Guide
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 523ef14b-9e1b-4440-8d8e-2437612f0628
📥 Commits
Reviewing files that changed from the base of the PR and between 25c5ca5bd5aabef28929b6106868a0be0bcdf8b9 and 29fc01504d73a450c0991ba0bc9acee90ca1cd00.
📒 Files selected for processing (1)
bucket/office-tool-plus.json
🚧 Files skipped from review as they are similar to previous changes (1)
- bucket/office-tool-plus.json
📝 Walkthrough
Walkthrough
The office-tool-plus.json manifest is updated to switch the download artifacts for both 64bit and arm64 architectures from .7z files with a bundled runtime to plain .zip files, with updated hash values. A new suggest block is added that maps ".NET Desktop Runtime 10.0" to versions/windowsdesktop-runtime-10.0. The autoupdate.architecture URL templates are also changed to match the new .zip asset names.
Estimated code review effort
🎯 1 (Trivial) | ⏱️ ~3 minutes
Possibly related PRs
- ScoopInstaller/Extras#17288: Modifies the same
bucket/office-tool-plus.jsonmanifest, including thesuggestblock andarchitectureURL/hash fields for Office Tool Plus artifacts.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title clearly states the manifest switch to the non-runtime package and the added Windows Desktop Runtime suggestion. |
| Description check | ✅ Passed | The description includes a clear summary, the linked issue reference, and the required checklist items. |
| Linked Issues check | ✅ Passed | The manifest now uses the non-runtime package variant and adds versions/windowsdesktop-runtime-10.0 as a suggested package. |
| Out of Scope Changes check | ✅ Passed | The URL and hash updates are part of switching to the non-runtime package variant and are not unrelated changes. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
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 @coderabbitai help to get the list of available commands.
/verify
All changes look good.
Wait for review from human collaborators.
office-tool-plus
- [x] Lint
- [x] Description
- [x] License
- [x] Hashes
- [x] Checkver
- [x] Autoupdate
I suggest either specifying the required .NET version, or switching to .NET self-contained releases.
Edit: https://github.com/YerongAI/Office-Tool/releases/tag/v11.0.27.0
We recommend that you download the package that includes the runtime for easier use.
- https://github.com/ScoopInstaller/Extras/pull/17288#discussion_r2857109073
This would reduce duplicated files and better align with Scoop’s philosophy of reusing shared packages instead of bundling dependencies inside every app package.
The official Scoop wiki doesn't seem to mention this.
In my opinion, using the self-contained version directly is more in line with the wiki.
Apps are self-contained units
They should keep their own copies of any libraries they need to run, and not rely on or interfere with any libraries outside their own install path.
If upstream provides a self-contained package with the required dependencies included, I believe we should prioritize that option. The package size of self-contained builds is usually not significantly larger than builds without bundled dependencies, which is generally not a major concern on modern systems. This approach also avoids relying on the depends or suggest fields in manifests and helps prevent either forced installation or requiring users to install dependencies manually.
If upstream does not provide a self-contained package for specific dependencies, I believe we should prioritize using the suggest field in the manifest. Since most manifests outside the Nonportable bucket are installed by extraction rather than through a traditional installer, their dependencies are generally runtime dependencies rather than installation-time dependencies. In most cases, the suggest field is sufficient to address this, and this is also a commonly adopted approach across the buckets.
Finally, there is the depends field, which is generally intended for installation-time dependencies. I believe this corresponds to what you referred to as “bundling dependencies inside every app package”.
In my opinion, using the self-contained version directly is more in line with the wiki.
Apps are self-contained units They should keep their own copies of any libraries they need to run, and not rely on or interfere with any libraries outside their own install path.
While dotnet runtime is also advised as a special case in the same issue you mentioned and I quote:
However, windowsdesktop-runtime(-lts) is typically only suggested and is not listed as a direct dependency, as it may not be present on the user's system via Scoop.
dotnet runtimes are just too common on users’ system, you may even have tens of them on your system, not to mention that users who are using scoop are more likely to be familiar with their computers, just advising prioritizing packages with runtime might just be an overkill. Like you would not assume a user that is new to computers to use Linux as their first operating system. Linux itself is a barrier to newcomers and Scoop itself is also a barrier for users who cannot manage their own environment.
This would reduce duplicated files and better align with Scoop’s philosophy of reusing shared packages instead of bundling dependencies inside every app package.
The official Scoop wiki doesn't seem to mention this.
This is not just restricted to Scoop, do you see any package manager solution that distribute a package that includes another package in itself rather than list it in the dependency? Package manger itself is designed for users to clearly manage every single package on their system. Where is the versatile nature of package manager now that you leave runtimes everywhere on the system and you have no way to manage and monitor them? Are you prioritizing using Scoop just because the packages installed this way is easy to use?
Finally, there is the
dependsfield, which is generally intended for installation-time dependencies. I believe this corresponds to what you referred to as “bundling dependencies inside every app package”.
What I refer to as "bundling dependencies inside every app package" just means using the package with runtime.
do you see any package manager solution that distribute a package that includes another package in itself rather than list it in the dependency?
First, it should be clarified that whether a package manager selects a package with bundled runtimes as the download source depends entirely on what upstream provides. If upstream does not offer a package without bundled runtimes, then the self-contained package becomes the only available option.
Returning to the case where upstream provides both variants, I would still recommend using the self-contained version. I understand your point, but as you mentioned, some users choose Scoop simply for convenience, including those who may not manage their environment well. I believe this group represents the majority of users, and using packages with bundled runtimes directly can avoid unnecessary issues.
Are you prioritizing using Scoop just because the packages installed this way is easy to use?
I use Scoop because it stores application data under $persist_dir and does not write unnecessary entries into the registry. This allows me to quickly restore my working environment after reinstalling the system and manage installed software more effectively. At the same time, I use Winget to manage applications that are less suitable for installation through Scoop, such as the runtimes mentioned in this PR.
The runtimes included in self-contained packages do not conflict with separately installed versions, and I personally do not mind using a few hundred additional megabytes of disk space.
First, it should be clarified that whether a package manager selects a package with bundled runtimes as the download source depends entirely on what upstream provides. If upstream does not offer a package without bundled runtimes, then the self-contained package becomes the only available option.
Sure, there is no doubt on this, and vice versa. For example, g-helper only provides a package without bundled runtimes, then the non-runtime package becomes the only available option, so we also suggests dotnet runtime 8 in that manifest.
Returning to the case where upstream provides both variants, I would still recommend using the self-contained version. I understand your point, but as you mentioned, some users choose Scoop simply for convenience, including those who may not manage their environment well. I believe this group represents the majority of users, and using packages with bundled runtimes directly can avoid unnecessary issues.
The runtimes included in self-contained packages do not conflict with separately installed versions, and I personally do not mind using a few hundred additional megabytes of disk space.
Interesting that now you changed your objective view and I quote your own words in the previous issue:
For software unrelated to runtime libraries, I believe we should not use “more widely used” as the criterion for inclusion in the Extras bucket, since the concept of “wider usage” is difficult to define objectively. For example, if the user base for two versions is roughly equal, this standard becomes meaningless, and other criteria should be used instead. Purely relying on user numbers is also difficult or impractical to evaluate.
You now believe the majority prefers the packages with bundled runtimes.
When both versions (with and without the runtime) are available, the preferred approach is to place the more commonly used or feature-complete version in the extras bucket, and the other in the versions bucket. However, it can be difficult to determine which one is more widely used. https://github.com/ScoopInstaller/Versions/issues/2515#issuecomment-3387483037
We need a new rule to decide where self-contained versions should be placed.
So clearly the discussion in the previous issue doesn't come to an end, and we won't have a mutuality satisfactory solution until a maintainer could come here and give a further indication on this. As you see we still do have this new rule on which to place, where to place, and how to determine the wider and common usage. And neither you nor me here can provide an authoritative indication or statistic on which side overweighs.