Skip to content

chore(deps): Standardize overlay port PACKAGE_NAME to snake_case #542

Description

@kcenon

What

Add snake_case config wrappers to the 4 PascalCase overlay ports (logger, container, database, network) so that all 8 ecosystem ports use a consistent find_package() convention.

Part of #532

Why

Consumers must currently guess whether to call find_package(common_system) or find_package(LoggerSystem). Standardizing to snake_case aligns with vcpkg port naming and the monitoring_system main CMakeLists.txt.

How

Port Changes (4 ports)

For each PascalCase port:

  1. Change PACKAGE_NAME to snake_case in vcpkg_cmake_config_fixup
  2. Create <snake_case>-config.cmake wrapper that includes the original PascalCase config
  3. Create <snake_case>-config-version.cmake wrapper if version file exists
  4. Bump port-version

Consumer Updates

  • Update integration_tests/vcpkg_consumer/CMakeLists.txt to use snake_case find_package() names
  • Update fix-vcpkg-dependency-discovery.patch (pacs) to use snake_case names
  • Update vcpkg_replace_string path in network portfile

Acceptance Criteria

  • find_package(logger_system) works (was LoggerSystem)
  • find_package(container_system) works (was ContainerSystem)
  • find_package(database_system) works (was DatabaseSystem)
  • find_package(network_system) works (was NetworkSystem)
  • vcpkg_consumer integration test updated
  • No regression in CI

Metadata

Metadata

Assignees

Labels

area/depsarea/integrationIntegration with other systemspriority/mediumMedium priority - Important but not urgentsize/MMedium - 1-3 days of worktype/choreMaintenance and cleanup tasks

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions