Pulp Python Roadmap » History » Revision 14
Revision 13 (bizhang, 12/11/2017 07:20 PM) → Revision 14/27 (amacdona@redhat.com, 12/11/2017 08:01 PM)
# Pulp Python Roadmap Legend: (Red, undecided) (Yellow, decided- needs story) (blue, decided with story) (Black - Finished bc green is hard to read) ~~~ This is a living document that is moving towards a long term plan to develop pulp_python 3.0 and beyond. ~~~ ## Pulp Python Use Cases ### \[3.0\] Synced Package Index use case: > As a user, I can configure an importer to sync a list of projects \[#2884\] > >> Syncing a project includes all releases >> Syncing a release includes all distribution packages (all types) >> Synced packages can be verified verfied based on digest (md5 from pypi, sha512 Pulp) >> I can specify sync mode to be either additive or mirror > > As a user, I can publish a repository (Published projects will include all releases and distributions): repository: > >> Published Python Content Units are consumable by pip \[#2885\] #TOBLUE >> Published projects are consumable by other Pulps \[#2886\] #TOBLUE >> Published projects will include all releases and distributions ### Upload Use Case: > **\[3.0\]** As a user, I can upload individual distribution packages (name, version, platform) #TOYELLOW \[#2887\] > >> As a user I can upload all types (egg, wheel, sdist) ### **\[3.1+\]** ============================================================================== > **\[3.1+\]** A twine user can publish a distribution package to Pulp \[#2887\] ### **\[3.1+\]** Migrations: > an egg >> As a user, user I can migrate Pulp2 packages to Pulp3 in-place. \[#2888\] ### **\[3.1+\]** Cache Use Case: > As upload a user, I can use Pulp as a PyPI cache. ### **\[3.1+\]** PyPI Publish use case > wheel >> As a user, user I can publish upload a release to a remote package index sdist > >> As a user, I > **\[3.1+\]** A twine user can configure Pulp to publish a distribution package to PyPI with my auth credentials Pulp ### **\[3.1+\]** Granular Sync > Blacklist: As a user, I can disinclude some content of a project > >> By specifying (release, distribution package) >> I can disinclude content by distribution type > > Whitelist (Curated Package index Use Case) As a user, I can sync packages that reproduce a specific environment > >> From the output of pip freeze (loose use case) >> With the name, exact versions, and distribution type (tight use case) ### **\[3.1+\]** PyPI Publish use case > As a user, I can publish a release to a remote package index > >> As a user, I can configure Pulp to publish to PyPI with my auth credentials ### **\[3.1+\]** Cache Use Case: > As a user, I can use Pulp as a PyPI cache. ### **\[3.1+\]** Migrations: > As a user, I can migrate Pulp2 packages to Pulp3 in-place. \[#2888\] ## Glossary: ### Project > A library, framework, script, plugin, application, or collection of data or other resources, or some combination thereof that is intended to be packaged into a Distribution. > \[ https://packaging.python.org/glossary/#term-project \] ### Package Index: > A repository of distributions with a web interface to automate package discovery and consumption. (this should align to a pulp repo). A Package Index is assumed to implement the PyPI APIs ### Release > A snapshot of a Project at a particular point in time, denoted by a version identifier. > Making a release may entail the publishing of multiple Distributions. For example, if version 1.0 of a project was released, it could be available in both a source distribution format and a Windows installer distribution format. ### Distribution Package > "Distribution" for short. If we mean linux, we will say "distro" > A versioned archive file that contains Python packages, modules, and other resource files that are used to distribute a Release. The archive file is what an end-user will download from the internet and install. A project may contain many releases, and releases may contain many distribution packages. Can be type sdist, bdist, etc. "Distribution package" is used instead of "package" to avoid confusion with "import packages" or linux "distributions". ## Relevant PEPs: - https://www.python.org/dev/peps/pep-0241/ Final (Original Metadata) - https://www.python.org/dev/peps/pep-0301/ Final (HTTP API) - https://www.python.org/dev/peps/pep-0314/ Final (Metadata 1.1) - https://www.python.org/dev/peps/pep-0345/ Accepted (Metadata 1.2) - https://www.python.org/dev/peps/pep-0427/ Accepted (Wheel 1.0) - https://www.python.org/dev/peps/pep-0491/ Draft (Wheel 1.9) - https://www.python.org/dev/peps/pep-0426/ Deferred (Metadata 2.0) - https://www.python.org/dev/peps/pep-0459/ Deferred (Standard Metadata Extensions) - https://www.python.org/dev/peps/pep-0503/ Accepted (Simple API) - https://www.python.org/dev/peps/pep-0508/ Active (Dep specification)