Project

Profile

Help

Story #2887

closed

As a User, I can upload a python package to a repository from twine

Added by amacdona@redhat.com about 7 years ago. Updated over 3 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Low
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Target Release - Python:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

In pulp_python for Pulp 2, uploads come in over the standard "uploads" REST API. Because of this, the python plugin uses the twine utility to inspect the uploaded Python Distribution to parse the appropriate metadata. Rather than continue to depend on twine or carry identical code to inspect packages, it makes sense to receive those uploads directly from twine.[0]

This story will be complete when a user can upload a package to pulp_python using `twine upload`. This story does not include the use of the standard Pulp 3 upload API.

[0]: https://packaging.python.org/tutorials/distributing-packages/#upload-your-distributions

This story will be complete when a user can use twine extract metadata from a Python package (all types) and create a ContentUnit via the REST API.


Files

source.txt (9 KB) source.txt dalley, 12/18/2017 12:04 AM
wheel.txt (10.5 KB) wheel.txt dalley, 12/18/2017 12:04 AM

Related issues

Blocked by Python Support - Story #2884: As a user I can sync from PyPIMODIFIED

Actions

Also available in: Atom PDF