docs: the gate on the layer declaration is the index, not this package's floor - #3
Merged
Merged
Conversation
…e's floor
推迟 `provides = ["mcpp:compiler-runtime=…"]` 的注释把判据写成了
「本包的 floor 移到 2026.8.24.2」。判据不是这个 —— 读这份文件的人
手上有什么,由**索引服务哪个版本**决定,和本包声明的 floor 无关。
2026-08-24 实测,依赖各声明一个键,构建工具取索引 `latest` 指向的版本:
requires = ["mcpp:compiler=llvm"] 2026.8.24.1 exit 0,静默忽略
provides = ["mcpp:compiler-runtime=…"] 2026.8.24.1 exit 2,整份拒绝
⭐ 于是两个键的答案是分开的:`requires` 今天就能发,层声明不能。
而 24.2 引入的那份宽容对现实中的任何用户都还不存在 —— **24.2 从未进索引**,
索引的 latest 停在 24.1。「新版本支持了」和「用户拿得到」是两件事。
开门条件改写为:索引的 `latest` 到达 2026.8.24.2 或以上。
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.
推迟
mcpp:compiler-runtime声明的注释把判据写成了本包的 floor。判据应当是索引服务哪个版本——那才是读这份文件的人手上有的东西。2026-08-24 实测(依赖各声明一个键,构建工具取索引
latest指向的版本):requires = ["mcpp:compiler=llvm"]provides = ["mcpp:compiler-runtime=…"]两个键的答案是分开的。另外:24.2 引入的宽容对任何真实用户都还不存在,因为 24.2 从未进索引。开门条件改为索引 latest ≥ 2026.8.24.2。