chore(deps): standardize overlay port PACKAGE_NAME to snake_case#544
Merged
kcenon merged 1 commit intoMar 15, 2026
Merged
Conversation
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
6 tasks
This was referenced Mar 16, 2026
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
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.
Closes #542
Part of #532
Summary
snake_casePACKAGE_NAME convention forfind_package()callsPACKAGE_NAME Changes
LoggerSystemlogger_systemContainerSystemcontainer_systemDatabaseSystemdatabase_systemNetworkSystemnetwork_systemcommon_systemthread_systemmonitoring_systempacs_systemApproach
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 asnake_case-config.cmakewrapper that includes the originalPascalCaseConfig.cmake. This avoids patching upstream CMake install/export rules while providing a consistentfind_package()API.Files Changed
Test Plan
vcpkg_chain_consumer) passes with snake_casefind_package()names