Project

Profile

Help

Pulp Python Roadmap » History » Sprint/Milestone 27

amacdona@redhat.com, 04/16/2019 07:13 PM

1 1 dalley
# Pulp Python Roadmap
2
3 14 amacdona@redhat.com
Legend:  
4
(Red, undecided)  
5
(Yellow, decided- needs story)  
6
(blue, decided with story)  
7
(Black - Finished bc green is hard to read)
8
9 8 dalley
This is a living document that is moving towards a long term plan to develop pulp_python 3.0 and beyond.
10 1 dalley
11
## Pulp Python 3.0 Use Cases
12 27 amacdona@redhat.com
13
All open issues in this list have the Pulp Python 3.0 GA Sprint/Milestone.
14 1 dalley
15 14 amacdona@redhat.com
### Synced Package Index use case:
16 13 bizhang
17 19 amacdona@redhat.com
As a user, I can configure an importer to sync a list of projects \[#2884\]
18 2 dalley
19 19 amacdona@redhat.com
  - Syncing a project includes all releases
20
  - Syncing a release includes all distribution packages (all types)
21 23 amacdona@redhat.com
  - <span style="color:blue;">Synced packages can be verified based on digest (md5 from pypi, sha512 Pulp)</span> \[#3613\]
22 1 dalley
  - I can specify sync mode to be either additive or mirror
23 23 amacdona@redhat.com
  - {color:blue} I can sync all projects from a package index \[#985\]
24
  - {color:blue} I can sync the metadata of projects and defer the download of packages (lazy sync) \[#1884\]
25
  - Blacklist: As a user, I can disinclude some content of a project by version specifiers and digests
26
  - Whitelist (Curated Package index Use Case) As a user, I can sync packages that reproduce a specific environment by version specifiers and digests
27 24 amacdona@redhat.com
  - {color:blue} Performance improvement: Parallel DL of metadata \[#4132\]
28 1 dalley
29
### Publish Use Case:
30
31 23 amacdona@redhat.com
As a user, I can publish a repository (Published projects will include all releases and distributions)
32 1 dalley
33
  - Published Python Content Units are consumable by pip \[#2885\]
34 23 amacdona@redhat.com
  - {color:blue} Published Python Content Units are consumable by pipenv \[#4686\]
35
  - {color:blue} I can published projects are consumable by other Pulp instances \[#2886\]
36 1 dalley
37
### Upload Use Case:
38 19 amacdona@redhat.com
39 23 amacdona@redhat.com
As a user, I can upload individual distribution packages (name, version, platform) \[#3197\]
40 19 amacdona@redhat.com
41
  - As a user I can upload all types (egg, wheel, sdist)
42 26 amacdona@redhat.com
  - {color:blue} As a user, I can upload and create a PythonPackageContent in a single call (one-shot upload) \[#4396\]
43 1 dalley
44
### As a user I have documentation that covers all above in this format:
45
46 19 amacdona@redhat.com
  - Quickstart 
47
      - Installation
48 23 amacdona@redhat.com
      - upload \[#3212\]
49
      - sync \[#3213\]
50 19 amacdona@redhat.com
      - {color:blue} publish \[#3214\]
51 23 amacdona@redhat.com
  - REST API Reference
52
  - Build and host docs \[#3215\]
53 16 bizhang
54 1 dalley
## Pulp Python 3.1+ Use Cases
55 16 bizhang
56 1 dalley
### Upload Use Case:
57 14 amacdona@redhat.com
58
> A twine user can publish a distribution package to Pulp \[#2887\]
59
60 16 bizhang
### Migrations:
61 14 amacdona@redhat.com
62
> As a user, I can migrate Pulp2 packages to Pulp3 in-place. \[#2888\]
63
64
### Cache Use Case:
65 16 bizhang
66
> As a user, I can use Pulp as a PyPI cache.
67 2 dalley
68 14 amacdona@redhat.com
### Granular Sync
69 4 dalley
70 1 dalley
> Blacklist: As a user, I can disinclude some content of a project
71 23 amacdona@redhat.com
72
~~\>\> By specifying (release, distribution package)~~ (Included in 3.0)
73
74 11 bizhang
>> I can disinclude content by distribution type
75 23 amacdona@redhat.com
76
~~\> Whitelist (Curated Package index Use Case) As a user, I can sync packages that reproduce a specific environment~~ (Included in 3.0)
77
78 1 dalley
>> From the output of pip freeze (loose use case)  
79
>> With the name, exact versions, and distribution type (tight use case)
80
81
## Glossary:
82
83
### Project
84
85
> 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.  
86 2 dalley
> \[ https://packaging.python.org/glossary/#term-project \]
87 1 dalley
88
### Package Index:
89
90
> 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
91
92
### Release
93
94
> A snapshot of a Project at a particular point in time, denoted by a version identifier.  
95 5 dalley
> 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.
96
97 1 dalley
### Distribution Package
98
99
> "Distribution" for short. If we mean linux, we will say "distro"  
100
> 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".
101
102
## Relevant PEPs:
103
104
  - https://www.python.org/dev/peps/pep-0241/ Final (Original Metadata)
105
  - https://www.python.org/dev/peps/pep-0301/ Final (HTTP API)
106
  - https://www.python.org/dev/peps/pep-0314/ Final (Metadata 1.1)
107
  - https://www.python.org/dev/peps/pep-0345/ Accepted (Metadata 1.2)
108
  - https://www.python.org/dev/peps/pep-0427/ Accepted (Wheel 1.0) 
109
  - https://www.python.org/dev/peps/pep-0491/ Draft (Wheel 1.9)
110
  - https://www.python.org/dev/peps/pep-0426/ Deferred (Metadata 2.0)
111
  - https://www.python.org/dev/peps/pep-0459/ Deferred (Standard Metadata Extensions)
112
  - https://www.python.org/dev/peps/pep-0503/ Accepted (Simple API)
113
  - https://www.python.org/dev/peps/pep-0508/ Active (Dep specification)