WIP: Resolve "Conan Upload API Endpoints"
What does this MR do?
This merge request implements the conan upload
behavior of the Conan package registry allowing users to publish Conan packages to GitLab. This is one piece of the entire initial Conan package registry behavior and does not include the ability to download or install conan packages from GitLab. That functionality will live in a subsequent MR in order to prevent this MR from growing any larger.
The Conan API uses 8 endpoints in order to successfully upload a package. Most of these endpoints are checking for existing files and returning information on existing files. The actual file upload occurs in the PUT /v1/files/{recipe}/-/{path}
endpoint, which is proceeded by a PUT /v1/files/{recipe}/-/{path}/authorize
call made by workhorse implemented in gitlab-workhorse!412 (merged).
Screenshots
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation created/updated or follow-up review issue created -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Performance and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
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
Related #13345 (closed)