Skip to content

feat: support dotted dependency selectors#102

Merged
Sunrisepeak merged 2 commits into
mainfrom
codex/dotted-dependency-analysis
Jun 1, 2026
Merged

feat: support dotted dependency selectors#102
Sunrisepeak merged 2 commits into
mainfrom
codex/dotted-dependency-analysis

Conversation

@Sunrisepeak
Copy link
Copy Markdown
Member

Summary

  • add a shared dotted dependency selector model with ordered candidates
  • support omitted-mcpplibs priority in root/dev/build/workspace deps and xpkg.lua mcpp.deps
  • preserve dotted selectors in mcpp add while keeping ns:name as explicit namespace syntax
  • bump pending release version to 0.0.43 and document the change

Selector Rule

Single-table dotted selectors are ordered, not forced under one namespace:

  • imgui.core tries mcpplibs.imgui/core, then imgui/core
  • imgui.backend.glfw_opengl3 tries mcpplibs.imgui.backend/glfw_opengl3, then imgui.backend/glfw_opengl3
  • explicit subtables such as [dependencies.compat] gtest = "..." remain direct compat/gtest

Verification

  • mcpp build
  • mcpp test
  • MCPP=target/.../bin/mcpp bash tests/e2e/12_add_command.sh
  • MCPP=target/.../bin/mcpp bash tests/e2e/62_dotted_dependency_selector_priority.sh
  • MCPP=target/.../bin/mcpp bash tests/e2e/52_local_path_namespaced_index.sh
  • MCPP=target/.../bin/mcpp bash tests/e2e/58_preinstall_mcpp_deps_for_hooks.sh

@Sunrisepeak Sunrisepeak merged commit 37cbc83 into main Jun 1, 2026
3 checks passed
@Sunrisepeak Sunrisepeak deleted the codex/dotted-dependency-analysis branch June 1, 2026 20:13
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