Skip to content

chore(deps): standardize overlay port PACKAGE_NAME to snake_case#544

Merged
kcenon merged 1 commit into
mainfrom
chore/issue-542-standardize-overlay-port-package-name
Mar 15, 2026
Merged

chore(deps): standardize overlay port PACKAGE_NAME to snake_case#544
kcenon merged 1 commit into
mainfrom
chore/issue-542-standardize-overlay-port-package-name

Conversation

@kcenon

@kcenon kcenon commented Mar 15, 2026

Copy link
Copy Markdown
Owner

Closes #542
Part of #532

Summary

  • Standardize all 8 ecosystem vcpkg overlay ports to use snake_case PACKAGE_NAME convention for find_package() calls
  • Add thin config wrappers for the 4 PascalCase ports (logger, container, database, network) that delegate to upstream config files
  • Update vcpkg consumer integration test and pacs dependency discovery patch

PACKAGE_NAME Changes

Port Before After
kcenon-logger-system LoggerSystem logger_system
kcenon-container-system ContainerSystem container_system
kcenon-database-system DatabaseSystem database_system
kcenon-network-system NetworkSystem network_system
kcenon-common-system common_system (unchanged)
kcenon-thread-system thread_system (unchanged)
kcenon-monitoring-system monitoring_system (unchanged)
kcenon-pacs-system pacs_system (unchanged)

Approach

Each changed portfile uses vcpkg_cmake_config_fixup(PACKAGE_NAME snake_case CONFIG_PATH lib/cmake/PascalCase) to move files under the snake_case share directory, then creates a snake_case-config.cmake wrapper that includes the original PascalCaseConfig.cmake. This avoids patching upstream CMake install/export rules while providing a consistent find_package() API.

Files Changed

  • 4 portfiles: PACKAGE_NAME + config wrappers
  • 5 vcpkg.json: port-version bumps
  • 1 patch: pacs dependency discovery updated for snake_case
  • 1 integration test: vcpkg_consumer migrated to snake_case

Test Plan

  • CI vcpkg integration test (vcpkg_chain_consumer) passes with snake_case find_package() names
  • All platform builds (Ubuntu, macOS, Windows) pass
  • No regression in main monitoring_system build

Unify find_package() convention across all 8 ecosystem vcpkg ports by
adding snake_case config wrappers to the 4 PascalCase ports (logger,
container, database, network).

Each portfile now uses PACKAGE_NAME=snake_case with a thin wrapper
config that delegates to the upstream PascalCase config file. This
allows consumers to use find_package(logger_system) instead of
find_package(LoggerSystem), matching the convention already used by
common_system, thread_system, monitoring_system, and pacs_system.

- Update PACKAGE_NAME in vcpkg_cmake_config_fixup for 4 ports
- Create snake_case config + version wrapper files per port
- Update pacs dependency discovery patch for snake_case names
- Migrate vcpkg_consumer integration test to snake_case
- Bump port-version for all affected ports
@kcenon kcenon merged commit 4a5228d into main Mar 15, 2026
29 checks passed
@kcenon kcenon deleted the chore/issue-542-standardize-overlay-port-package-name branch March 15, 2026 23:47
kcenon added a commit that referenced this pull request Apr 13, 2026
Unify find_package() convention across all 8 ecosystem vcpkg ports by
adding snake_case config wrappers to the 4 PascalCase ports (logger,
container, database, network).

Each portfile now uses PACKAGE_NAME=snake_case with a thin wrapper
config that delegates to the upstream PascalCase config file. This
allows consumers to use find_package(logger_system) instead of
find_package(LoggerSystem), matching the convention already used by
common_system, thread_system, monitoring_system, and pacs_system.

- Update PACKAGE_NAME in vcpkg_cmake_config_fixup for 4 ports
- Create snake_case config + version wrapper files per port
- Update pacs dependency discovery patch for snake_case names
- Migrate vcpkg_consumer integration test to snake_case
- Bump port-version for all affected ports
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.

chore(deps): Standardize overlay port PACKAGE_NAME to snake_case

1 participant