Repository navigation
Every listed version installs; versions every platform shares are written once - #979
Merged
Merged
Conversation
…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.
…ble, as Lua evaluates it, is not a change
…s, as a member does
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
force-pushed
the
fix/cmdline-hook-and-inline-versions
branch
from
December 4, 2026 15:02
1408a7e to
6ca5ccc
Compare
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mcpplibs.cmdlineentry'sinstall()looked for the unpacked tree of 0.0.1 underinstall_dirbefore 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 leavesinstall_dirempty; the hook now writes the manifest into the unpacked tree and places it. 0.0.2 has no manifest either and is covered the same way. cmdline 0.2.0 is added, and the cmdline member tests it.macosx = { ref = "linux" }(read by xlings from libxpkg 0.0.64), stating beside it only their owndeps(deps = {}for none). 316 descriptors are rewritten (about 18,000 lines of repeated tables removed). Each resolves, as the installer resolves references, to the values it had before; mcpp 2026.11.22.1, 2026.11.27.1 and the next release read every one alike (mcpp xpkg parse). A platform whose versions differ from a third platform's keeps its own table, which releases before 2026.12.4.1 require.versions["1.2.1"]) as revision 0 while the installer records its real revision, so each such package with a revision was reinstalled by every build; the 55 entries so written now use the form above.tests/check_xpm_form.lua(formerlycheck_inline_versions.lua) holds the three rules: tables in place, versions every platform shares written once, references that name an existing table and form no cycle.tests/xpm.luais the one reading ofxpmfor that lint, the autoupdate audit andevery-listed-version, which fetches each version a changed descriptor lists and installs nothing for a descriptor that reads as at the base.docs/repository-and-schema.md, both languages, states the rules.