Skip to content

Every listed version installs; versions every platform shares are written once - #979

Merged
Sunrisepeak merged 10 commits into
mainfrom
fix/cmdline-hook-and-inline-versions
Dec 5, 2026
Merged

Sunrisepeak merged 10 commits into
mainfrom
fix/cmdline-hook-and-inline-versions

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

@Sunrisepeak Sunrisepeak changed the title Every listed version installs; a version's value is a table written in place Every listed version installs; versions every platform shares are written once Dec 4, 2026
…n place

- The mcpplibs.cmdline entry's install() looked for the unpacked tree of 0.0.1
  under install_dir before the tree was placed there, so 0.0.1 never installed
  and every pull request of mcpp failed. The installer runs the hook where the
  archive was unpacked and stages the tree only when the hook leaves install_dir
  empty, so the hook now writes the manifest into the unpacked tree and places
  it. 0.0.2 has no manifest either (it is an xmake project) and is covered the
  same way; the entry's comment no longer calls 0.0.1 dropped.
- 55 entries stated versions through a local table (versions["1.2.1"]) or a
  function call. The supported mcpp releases read a version's revision only from
  a table written in place, so each such package with a revision was reinstalled
  on every build. They are rewritten in place; each package table is equal to
  the one before, as loaded by Lua.
- lint: tests/check_inline_versions.lua keeps that form.
- every-listed-version: each version a changed descriptor lists for linux is
  fetched once through the pinned mcpp (tests/install_every_version.py).
- docs/repository-and-schema.md, both languages, states both.
A platform whose versions are another platform's is written as a platform reference, `macosx = { ref = "linux" }` (xpackage V1; xlings reads it from libxpkg 0.0.64), stating beside it only its own deps. 316 descriptors are rewritten: each resolves to the values it had, and mcpp 2026.11.22.1, 2026.11.27.1 and the next release read every one alike. tests/check_xpm_form.lua (formerly check_inline_versions.lua) also requires the form where every platform states the same versions; tests/xpm.lua is the one reading of xpm for the lint, the autoupdate audit and every-listed-version, which installs nothing for a descriptor that reads as at the base.
….2.0

Pins openxlings/xpkgindex-update at 96f7bd3 (a platform reference holds the versions of the table it names; a version is written in place) and openxlings/xpkgindex at 3d20627 (the site lists a referring platform's versions). Adds cmdline 0.2.0, which the cmdline member now tests.
Sunrisepeak and others added 5 commits December 5, 2026 06:23
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
… embedded specification); cmdline's consumer at 0.3.0 checks an alias

The candidate matrix proves a new release through a member that consumes it;
xpkg had none.

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…ed on a cold run

Run 47360333124 cancelled four macOS and Windows shards at the 90-minute cap.
Members without a row were priced at 90s (boost-libs 1054s on macOS), and the
macOS wrapper rows left out their installed checks (opencv-webp 281s against
1236s). The rows are raised or added from that run; with them six shards put
the slowest at about 112 minutes on macOS and 108 on Windows, eight at about
80 and 79. The repository document states the shard rule the workflow applies.
…un of the macOS and Windows rows

Run 47434758792 cancelled linux default 3/6 at the 90-minute cap in grpc-cpu
while its siblings took 47 to 88 minutes: the linux rows had the same gaps
(godot-cpp 544s, boost-libs 394s, huxerui-archive 385s untimed). With the rows
measured from that run, six shards put the slowest at about 90 minutes, eight
at about 72; the llvm leg follows with three more. The same run's macOS shards
finished in 55 to 72 minutes and its Windows shards passed.
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