You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
libs/starlark: one pinned-binary module extension fed by pins tables #10065
22 pins.bzl and 20 metadata_tests.bzl files; ~15 */repos.bzl (16-638 lines) each hand-write a module_extension that picks a host cell and builds a hub, though libs/starlark/repo.bzl already has pinned_archive and hub_repo.
End state:
One dx_pins extension reads declarative cells (archive, binary, sha256, urls) and makes the repo and hub.
Scope addition: make it a full pinned-toolchain factory in libs/starlark/toolchain.bzl. 23 pins.bzl, 18 def hub_build, 8 hand-written _TOOLCHAIN = """toolchain( templates (d, elixir, erlang, fortran, haskell, ocaml, php, powershell), and 20 metadata_tests.bzl repeating the sha256 and hub-loads-nothing checks. The factory emits repos, hub, toolchain() targets and the generic checks; languages keep only their own checks.
Rework audit: the per-cell _TOOLCHAIN template is copied in 9 files (e.g. d/toolchain/repos.bzl:218, erlang/toolchain/repos.bzl:121, powershell/toolchain/repos.bzl:32) and 18 hub_build functions follow the same pattern. One shared helper should emit both.
Line numbers are from origin/main 2a98204; check them first.
PR #13979 teaches dx update the archives shape (pins:<path>#<archive>). Next slice: D cell repos off ldc_repo (custom fetch in dx_pins.pin), then msix/appimage/cuda/cosign factory support, then the shared metadata test.
Activity
TrapsterDK commentedon Nov 9, 2026
Scope addition: make it a full pinned-toolchain factory in
libs/starlark/toolchain.bzl. 23pins.bzl, 18def hub_build, 8 hand-written_TOOLCHAIN = """toolchain(templates (d, elixir, erlang, fortran, haskell, ocaml, php, powershell), and 20metadata_tests.bzlrepeating the sha256 and hub-loads-nothing checks. The factory emits repos, hub,toolchain()targets and the generic checks; languages keep only their own checks.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hwESun1HL2eSVd1d5B
TrapsterDK commentedon Nov 9, 2026
Part of #10084: pins live in
<lang>/pins.json, read by the shared extension withjson.decode;dx updaterewrites them.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hwESun1HL2eSVd1d5B
starlark: toolchain_target and hub_checks, eight toolchain hubs move …
starlark: host_archive and pin_checks factory in libs/starlark/toolch…
starlark: toolchain_target and hub_checks, eight toolchain hubs move …
starlark: pinned-toolchain factory, LuaLS first (part of #10065) (#10134
ruby: root imports the rules_ruby extension repos from a dev usage so…
starlark: pins.json and dx_pins extension; ruby and powershell first …
lua: LuaLS pins to pins.json via dx_pins.pin (part of #10065) (#10520)
starlark: deploy japicmp, apicompat, opam and cargo-semver-checks pin…
deploy: move cosign pins into pins.json via dx_pins.data (part of #10065
ci: signing pins test reads deploy/private/release/pins.json (part of #…
starlark: deploy tool pins to pins.json (part of #10065) (#10522)
32 remaining items
php: toolchain hub from core pins_hub (part of #10065)
php: toolchain hub from core pins_hub (part of #10065) (#13064)
TrapsterDK commentedon Nov 17, 2026
PR #13103 moves the OCaml hub to core pins_hub (adds variants, companion_types, dict exec_aliases with alias_defaults; cell repos dx_ocaml_toolchains__). Remaining:
ocaml: toolchain hub from core pins_hub (part of #10065)
ocaml: toolchain hub from core pins_hub (part of #10065) (#13103)
TrapsterDK commentedon Nov 17, 2026
Rework audit: the per-cell
_TOOLCHAINtemplate is copied in 9 files (e.g.d/toolchain/repos.bzl:218,erlang/toolchain/repos.bzl:121,powershell/toolchain/repos.bzl:32) and 18hub_buildfunctions follow the same pattern. One shared helper should emit both.Line numbers are from origin/main 2a98204; check them first.
TrapsterDK commentedon Nov 18, 2026
PR #13402 moves the Elixir hub to core pins_hub (adds
repositoryso all OTP cells share the one dx_elixir dist). Remaining:🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
elixir: toolchain hub from core pins_hub (part of #10065) (#13402)
TrapsterDK commentedon Nov 18, 2026
PR #13466 moves the Haskell hub to core pins_hub (adds target, target_settings, cell_constraints; cell repos dx_haskell_toolchains__). Remaining:
haskell: toolchain hub from core pins_hub (part of #10065) (#13466)
TrapsterDK commentedon Nov 18, 2026
PR #13484 folds dx_source_archives into dx_pins.archive (flatbuffers, capnproto, thrift; capnproto sed becomes a patch). Remaining:
core: fold dx_source_archives into dx_pins.archive (part of #10065) (#…
TrapsterDK commentedon Nov 19, 2026
PR #13979 teaches
dx updatethe archives shape (pins:<path>#<archive>). Next slice: D cell repos off ldc_repo (custom fetch in dx_pins.pin), then msix/appimage/cuda/cosign factory support, then the shared metadata test.Generated by Claude Code
update: dx update follows the archives shape of pins.json (part of #1…