Support creating a source package without using the artifacts API
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 71
- Forks
- 91
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 22
Description
Is your feature request related to a problem? Please describe.
Today in order to create a source package in pulp_deb, you first have to upload the source tarballs as artifacts. This is unlike other content types which allow you to call a single endpoint to create the package, etc.
Describe the solution you'd like
Ideally, we'd like a way to create source packages without calling the artifact api. It sounds like Pulp is moving away from supporting the artifact API with possibly removing the API in Pulp 4.
There are some different solutions we discussed like using a multipart request to submit multiple files to POST /pulp/api/v3/content/deb/source_packages/. Or possibly using the upload API (/pulp/api/v3/uploads/) to upload the necessary artifacts.
Additional context
Info about source packages: https://wiki.debian.org/Packaging/SourcePackage
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the source-package creation endpoint, POST /pulp/api/v3/content/deb/source_packages/, and compare the proposed multipart request with the upload API at /pulp/api/v3/uploads/. Done means agreeing on and implementing a single supported way to submit the required source-package files without first using the artifacts API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100