Skip to content

Add patches support for SDP toolchain archives - #111

Merged
nradakovic merged 1 commit into
mainfrom
nira_add_patch_sdp
Sep 16, 2026
Merged

nradakovic merged 1 commit into
mainfrom
nira_add_patch_sdp

Conversation

@nradakovic

Copy link
Copy Markdown
Member

Introduce a patches attribute to the SDP tag class so patches can be applied to downloaded toolchain archives. The attribute is threaded through _get_packages, _create_and_link_sdp, and the archive download in _impl.

Add a patches key to every entry in VERSION_MATRIX (defaulting to an empty list) and wire up the QNX SDP 8.0.4 packages to the packages/qnx/aarch64/sdp/8.0.0:patches target.

@nradakovic nradakovic self-assigned this Jul 23, 2026
Copilot AI review requested due to automatic review settings July 23, 2026 12:24
@nradakovic nradakovic added documentation Improvements or additions to documentation feature New feature request wip Work in progress p3 Medium/Low - handle it within normal process labels Jul 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@nradakovic
nradakovic force-pushed the nira_add_patch_sdp branch 3 times, most recently from fd13a59 to fa2bcfc Compare July 24, 2026 09:17
@nradakovic
nradakovic marked this pull request as draft August 13, 2026 13:32
@nradakovic
nradakovic force-pushed the nira_add_patch_sdp branch 4 times, most recently from 72620b9 to 5cd3c96 Compare September 16, 2026 08:07
@nradakovic
nradakovic marked this pull request as ready for review September 16, 2026 12:39
@nradakovic
nradakovic requested a review from odra as a code owner September 16, 2026 12:39
@nradakovic
nradakovic requested a lite review from Copilot September 16, 2026 12:46
antonkri
antonkri previously approved these changes Sep 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved critical and moderate package-metadata issues remain, along with documentation nits.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (2)

docs/extension_api.md:53

  • The new description says all tag attributes pass through 1:1, but the implementation normalizes url to urls = [url] and exposes only a curated subset of http_archive attributes. This is misleading for consumers who expect other native attributes to work; describe gcc.sdp as a supported-subset proxy instead.
required. The tag is nothing more than a thin proxy to the native `http_archive`
repository rule: its attributes are passed straight through to `http_archive`
with no additional processing.

packages/version_matrix.bzl:23

  • The new patches field is only present on six matrix entries; entries such as aarch64-linux-gcc_15.3.0, aarch64-qnx-sdp_8.0.4, x86_64-qnx-sdp_8.0.0, and x86_64-qnx-sdp_8.0.5 still omit it. This leaves VERSION_MATRIX with an inconsistent schema instead of the promised empty-list default for every entry, so add "patches": [] to every non-patched entry as well.
        "patches": [],
  • Files reviewed: 7/8 changed files
  • Comments generated: 3
  • Review effort level: Lite

Comment thread packages/version_matrix.bzl Outdated
Comment thread packages/version_matrix.bzl Outdated
Comment thread docs/extension_api.md Outdated
@nradakovic
nradakovic force-pushed the nira_add_patch_sdp branch 2 times, most recently from fef655c to db7ad6c Compare September 16, 2026 13:04
Introduce a patches to the SDP tag class so patches can be
applied to downloaded toolchain archives. The attributes are threaded
through `_get_packages`, `_create_and_link_sdp`, and the archive
download in `_impl`. Documentation is also update to follow up new
attribute set.
@nradakovic
nradakovic merged commit 9342b16 into main Sep 16, 2026
15 of 16 checks passed
@nradakovic
nradakovic deleted the nira_add_patch_sdp branch September 16, 2026 13:27
@nradakovic nradakovic linked an issue Sep 16, 2026 that may be closed by this pull request
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation feature New feature request p3 Medium/Low - handle it within normal process wip Work in progress

Projects

Development

Successfully merging this pull request may close these issues.

Add support for patches in SDP tag class

3 participants