Skip to content

Conan API endpoints for upload_urls and skeleton for other recipe urls

What does this MR do?

The Conan package manager client makes calls to a variety of endpoints when handling a package upload. This MR implements the upload_urls endpoints. Each endpoint returns a set of urls that the Conan client will eventually use to upload the files listed in each endpoint.

This MR also creates the basic skeleton API endpoints for what's known as the "snapshot" and "manifest" (digest) endpoints. As a first step, the /digest endpoints will return a 404 as this is what the Conan client expects when no package currently exists in the remote registry (GitLab). The recipe snapshot endpoints return an empty hash or object {} for the same reasons. These endpoints will be expanded in a separate MR.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Steve Abrams

Merge request reports