From c88f02976f96bdb878503c1c074864e35ad55b71 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Thu, 20 Aug 2026 12:12:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20openkal-musl=200.3.1=20and=20sbase=200.?= =?UTF-8?q?1.1=20=E2=80=94=20a=20manifest=20a=20consumer=20can=20resolve?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit openkal-musl 0.3.0 named the implementation of openkal for each system by a path. That is right in a working tree that has the repositories side by side and wrong in a package: a path names a directory that exists where the manifest was written and nowhere else, so a consumer resolving 0.3.0 from this index was handed a dependency pointing into the registry's own store. error: path dependency 'openkal-linux' (at '.../xpkgs/mcpplibs-x-openkal-musl/0.3.0/openkal-linux') has no mcpp.toml 0.3.1 names it by version, with the feature beside it, because a program above that library carries no other runtime and that is what the feature states. sbase 0.1.1 is the same package above the version that resolves. The defect was found by the step this chain has for exactly this purpose: resolving the package the way a stranger would, from a store with every local copy deleted. A working tree masks every mistake in a manifest's dependencies, because the tree is what the manifest was written against. 0.3.0 and 0.1.0 stay in this file. They resolve, they are consistent in both regions, and what fails about 0.3.0 fails after resolution rather than during it --- a version withdrawn from an index is a version somebody's lockfile can no longer find. --- pkgs/o/openkal-musl.lua | 21 +++++++++++++++++++++ pkgs/s/sbase.lua | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/pkgs/o/openkal-musl.lua b/pkgs/o/openkal-musl.lua index c31f548..66a4714 100644 --- a/pkgs/o/openkal-musl.lua +++ b/pkgs/o/openkal-musl.lua @@ -24,6 +24,13 @@ package = { xpm = { linux = { + ["0.3.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.3.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.3.1/openkal-musl-0.3.1.tar.gz", + }, + sha256 = "c09c6f4f29b9121be2dba69959043fef4effe52807215882c9f2e62644f9331b", + }, ["0.3.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.3.0.tar.gz", @@ -33,6 +40,13 @@ package = { }, }, macosx = { + ["0.3.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.3.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.3.1/openkal-musl-0.3.1.tar.gz", + }, + sha256 = "c09c6f4f29b9121be2dba69959043fef4effe52807215882c9f2e62644f9331b", + }, ["0.3.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.3.0.tar.gz", @@ -42,6 +56,13 @@ package = { }, }, windows = { + ["0.3.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.3.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.3.1/openkal-musl-0.3.1.tar.gz", + }, + sha256 = "c09c6f4f29b9121be2dba69959043fef4effe52807215882c9f2e62644f9331b", + }, ["0.3.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.3.0.tar.gz", diff --git a/pkgs/s/sbase.lua b/pkgs/s/sbase.lua index 0a335aa..1f87261 100644 --- a/pkgs/s/sbase.lua +++ b/pkgs/s/sbase.lua @@ -21,6 +21,13 @@ package = { xpm = { linux = { + ["0.1.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/sbase/archive/refs/tags/0.1.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/sbase/releases/download/0.1.1/sbase-0.1.1.tar.gz", + }, + sha256 = "d770d9273130aceeb7bd117644aed584969521fd10456fe375d52621958f4ff9", + }, ["0.1.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/sbase/archive/refs/tags/0.1.0.tar.gz", @@ -30,6 +37,13 @@ package = { }, }, macosx = { + ["0.1.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/sbase/archive/refs/tags/0.1.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/sbase/releases/download/0.1.1/sbase-0.1.1.tar.gz", + }, + sha256 = "d770d9273130aceeb7bd117644aed584969521fd10456fe375d52621958f4ff9", + }, ["0.1.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/sbase/archive/refs/tags/0.1.0.tar.gz", @@ -39,6 +53,13 @@ package = { }, }, windows = { + ["0.1.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/sbase/archive/refs/tags/0.1.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/sbase/releases/download/0.1.1/sbase-0.1.1.tar.gz", + }, + sha256 = "d770d9273130aceeb7bd117644aed584969521fd10456fe375d52621958f4ff9", + }, ["0.1.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/sbase/archive/refs/tags/0.1.0.tar.gz",