Skip to content

refactor conan api project packages to have V1 version

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

This merge request refactors Conan Project Packages by moving the API to a v1 endpoint API::Conan::V1::ProjectPackages. The main goal of this refactor is to setup the V2 endpoints coming for conan 2 endpoints and conan revisions support. This is the first step to enable revisions detailed here and groundwork for Conan2 support.

Changes:

  • Moved all Conan project package-related endpoints from their previous locations to API::Conan::V1::ProjectPackages.
  • Updated the namespace references from API v1 to API::Conan::V1 for the affected endpoints.
  • Adjusted the api configuration to point to the relevant endpoints.
  • Refactored existing tests to accommodate this change and ensured all tests pass. cc @oceane_scania

Related to #333033

Edited by Juan Pablo Gonzalez

Merge request reports

Loading