Project

Profile

Help

Pulp Python Roadmap » History » Sprint/Milestone 21

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