Skip to content

Add OS suffix support for all tool properties - #1761

Open
sbc100 wants to merge 1 commit into
remove_unix_suffixfrom
generic-platform-attrs
Open

Add OS suffix support for all tool properties#1761
sbc100 wants to merge 1 commit into
remove_unix_suffixfrom
generic-platform-attrs

Conversation

@sbc100

@sbc100 sbc100 commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

We had specific hardcoded support for OS-specific URLs. This change makes that generic and allows _windows / _linux / _mac suffixes to work with any key.

This change is really a no-op that makes way to using a windows specific activated_path for now (allowing us to use the upstream windows node archive, rather than re-packaging/hacking it in (scripts/update_node.py). See #1760.

Also, remove support for os: "all".. this is not used and doesn't seem useful (since you can just omit it).

@sbc100
sbc100 force-pushed the generic-platform-attrs branch 2 times, most recently from 36da296 to 3ea90f9 Compare August 3, 2026 05:57
@sbc100
sbc100 requested a review from dschuff August 3, 2026 05:57
@sbc100
sbc100 force-pushed the generic-platform-attrs branch 3 times, most recently from cbf2ac8 to 702725d Compare August 3, 2026 06:24
@sbc100
sbc100 requested a review from kripken August 3, 2026 16:20
@sbc100

sbc100 commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator Author

If you like I could split out the removal of the unix suffix?

We had specific hardcoded support for OS-specific URLs.  This change makes that generic and allows `_windows` / `_linux` / `_mac` suffixes to work with any key.

This change is really a no-op that makes way to using a windows specific activated_path for now (allowing us to use the upstream windows node archive, rather than re-packaging/hacking it in (scripts/update_node.py).  See #1760.

Also:

- Remove support for `os: "all"`.. this is not used and doesn't seem useful (since you can just omit it).
- Remove support the `unix` urls.  This complexity (i.e. both unix and linux being valid suffixes) is not needed, since we can get the same behaviour by specifying `_windows` along with a generic url.
@sbc100
sbc100 force-pushed the generic-platform-attrs branch from 702725d to 4bdf971 Compare August 3, 2026 17:01
@sbc100
sbc100 changed the base branch from main to remove_unix_suffix August 3, 2026 17:08
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.

2 participants