Skip to content

feat: support format v4 and bins - #5

Open
upils wants to merge 1 commit into
dariuszd21:mainfrom
upils:support-bins
Open

feat: support format v4 and bins#5
upils wants to merge 1 commit into
dariuszd21:mainfrom
upils:support-bins

Conversation

@upils

@upils upils commented Jul 31, 2026

Copy link
Copy Markdown

Chisel is gaining a new release format (v4) and store-backed packages: chisel.yaml
now declares stores:, slice files carry store:/default-track:, and contents:
paths and essential: refs accept a channel: filter (canonical/chisel#299,
upils/chisel#22, upils/chisel#23). Without support for these, the LSP reports
false errors on any release using them.

Two aspects are worth highlighting. First, a store-backed package is known by a
unique prefixed name (default-prefix + package:, e.g. curlbin-curl),
and that prefix comes from chisel.yaml — so the release file is now parsed,
watched, and any edit to it re-resolves every package name and re-runs
diagnostics. Second, channel: is deliberately not used to narrow collision
or redundancy checks: chisel computes path conflicts irrespective of both
channel: and arch:, and matching that stricter behaviour avoids silently
hiding conflicts that chisel itself rejects.

Note the format also dictates layout: v3 keeps store definitions segregated in
bin-slices/ (so older Chisel never reads the new fields), while v4 places them
in slices/; the index follows the declared format and adjusts its watches when
it changes.

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.

1 participant