Project

Profile

Help

Pulp RPM Roadmap » History » Sprint/Milestone 14

ttereshc, 02/19/2019 06:09 PM
Add definiton of K2 and K3

1 1 ttereshc
# Pulp RPM Roadmap
2
3
~~~
4
This is a living document that is moving towards a long term plan to develop RPM plugin for Pulp 3.0 and beyond.
5
~~~
6
7 14 ttereshc
**K2** - Katello gap  
8
**K3** - Katello gap, lower priority than K2
9
10 1 ttereshc
## Supported Content Types
11
12
### MVP
13
14
  - RPM \[#3199\]
15 6 ttereshc
  - SRPM \[#3199\]
16 1 ttereshc
  - Erratum \[#3201\]
17
18
### Post-MVP
19
20
  - DRPM
21 12 jsherril@redhat.com
  - Distribution (kickstart tree) - K2
22 13 jsherril@redhat.com
  - Comps.xml content types (package group, environment, category, langpacks) - K2
23 12 jsherril@redhat.com
  - Yum repo metadata file - K2
24
  - Modules - K2
25 1 ttereshc
26
## Pulp RPM Plugin Use Cases
27
28
### MVP
29
30
##### Sync
31
32 12 jsherril@redhat.com
  - Basic Sync - K2
33 1 ttereshc
34
<!-- end list -->
35
36
  - As an authenticated user, I can sync a remote yum/dnf repository
37
38
<!-- end list -->
39
40 12 jsherril@redhat.com
  - RPM \[#3202\] - K2
41
  - SRPM \[#3202\] - K2
42
  - Erratum \[#3202\] - K2
43 1 ttereshc
44
<!-- end list -->
45
46
  - Sync types
47
48
<!-- end list -->
49
50 12 jsherril@redhat.com
  - As a user, I can exactly mirror the content of a remote repository. \[provided by pulpcore\] - K2
51
  - As a user, I can mirror the content of a remote repository with an additive behavior, so content is never removed locally. \[provided by pulpcore\] - K2
52 1 ttereshc
53
<!-- end list -->
54
55
  - Download Behaviors
56
57
<!-- end list -->
58
59 12 jsherril@redhat.com
  - As a user, my sync task does not fail just because one download failed. \[provided by pulpcore?\] - K2
60
  - As a user, I can limit the number of concurrent downloads - K3
61
  - As a user, I can sync content on-demand by setting a repository's download policy - K2
62 1 ttereshc
63
##### Publish
64
65 12 jsherril@redhat.com
  - As an authenticated user, I can publish a yum/dnf repository. - K2
66 1 ttereshc
67
<!-- end list -->
68
69
  - RPM \[#3204\]
70
  - SRPM \[#3204\]
71 5 ttereshc
  - Erratum \[#3204\]
72 1 ttereshc
73
<!-- end list -->
74
75 12 jsherril@redhat.com
  - As a user, I can specify relative path at which a repository will be served. \[provided by pulpcore\] - K2
76
  - As a user, I can configure if a repository will be served over an SSL or a non-SSL connection. \[provided by pulpcore\] - K2 (already done right?)
77
  - As user, I can sync from a yum/dnf repo published by Pulp. \[should be taken into account for any publish story\] - K2
78 1 ttereshc
79 2 ttereshc
### Post-MVP
80
81
##### Sync
82
83
  - Basic Sync
84
85 1 ttereshc
<!-- end list -->
86
87 2 ttereshc
  - As an authenticated user, I can sync a remote yum/dnf repository
88 1 ttereshc
89
<!-- end list -->
90
91 2 ttereshc
  - DRPM
92
  - Distribution (kickstart tree)
93
  - Comps.xml content types (package group, environment, category, langpacks)
94
  - Yum repo metadata file
95 7 ttereshc
  - Modules
96 1 ttereshc
97 2 ttereshc
<!-- end list -->
98
99
  - Sync behaviors
100
101
<!-- end list -->
102
103
  - As a user, I can mirror only the most recent X versions that correspond to a particular rpm name.
104 12 jsherril@redhat.com
  - As a user, I can force a full re-sync of a remote repository - K2
105 2 ttereshc
  - As a user, I can sync from a mirrorlist feed.
106 3 ttereshc
  - As a user, I can sync from a metalink URL to avoid a replay attack from a malicious mirror. \[provided by pulpcore [3415](https://pulp.plan.io/issues/3415)\]
107 2 ttereshc
  - As a user, I can sync only signed packages (RPM/DRPM/SRPM)
108 12 jsherril@redhat.com
  - As a user, I can have sync skip one or more content types, e.g. drpm, errata, etc - K2
109
  - As a user, I can sync yum/dnf repository when only primary.xml is provided in repomd.xml - K3
110 2 ttereshc
111
<!-- end list -->
112
113
  - Performance features
114
115
<!-- end list -->
116
117 12 jsherril@redhat.com
  - As a user, my sync will skip most of its work if the repomd.xml revision number has not changed is equal to or older (lower) than the previously successfully synced one. - K3
118 2 ttereshc
119
<!-- end list -->
120
121 12 jsherril@redhat.com
  - As a user, my sync is not skipped if it's a first sync - K2
122
  - As a user, my sync is not skipped if the importer configuration has changed since the last sync - K3
123
  - As a user, my sync is not skipped if any content has been removed from the repository since the last sync - K2
124 2 ttereshc
  - As a user, downloading of content starts quickly
125
126
<!-- end list -->
127
128
  - Sync types
129
130
<!-- end list -->
131
132 12 jsherril@redhat.com
  - As a user, I can sync a kickstart tree from the same feed as other rpm/yum/dnf content. - K2
133 2 ttereshc
134
<!-- end list -->
135
136
  - Download Behaviors
137
138
<!-- end list -->
139
140 12 jsherril@redhat.com
  - As a user, I can limit the maximum speed of downloading in bytes / sec - K3
141 2 ttereshc
  - As a user, I can specify the number of retries to be done before failing a given download
142
143
<!-- end list -->
144
145
  - Checksum Features
146
147
<!-- end list -->
148
149 12 jsherril@redhat.com
  - As a user, I can sync a repository and have the files' checksums validated to ensure that no content is corrupt. - K3
150 2 ttereshc
151
<!-- end list -->
152
153
  - GPG Signature Features
154
155
<!-- end list -->
156
157
  - As a user, I can verify that repo metadata has a valid signature. (would be a new feature)
158
  - As a user, I can specify a set of trusted GPG keys. Any packages that are not signed with one of these keys is not synced.
159
160
<!-- end list -->
161
162
  - Mirror List Support
163
164
<!-- end list -->
165
166
  - As a plugin writer I can configure mirror lists and rotate between the mirrors
167
168
<!-- end list -->
169
170
  - round robin support
171
  - nearest mirror support (GeoIP or ping times)
172
173
##### Publish
174
175
  - As an authenticated user, I can publish a yum/dnf repository.
176
177
<!-- end list -->
178
179
  - DRPM
180 12 jsherril@redhat.com
  - Distribution (kickstart tree) - K2
181
  - Comps.xml content types (package group, environment, category, langpacks) - K2
182
  - Yum repo metadata file - K2
183
  - Modules - K2
184 2 ttereshc
185
<!-- end list -->
186
187 11 ttereshc
  - As a user, I can publish a repository incrementally (re-use the pre-existing metadata and only add additional units) \[not relevant in Pulp3 world?\]
188 12 jsherril@redhat.com
  - As a user, I can force a full republish of a repository. - K3
189
  - As a user, my publish will skip most of its work if no changes to a repository were made since last publish. - K3
190
  - As a user, I can configure which checksum algorithm to use when creating metadata. - K2
191
  - As a user, I can configure which checksum algorithm to use when creating updateinfo.xml. - K2
192 7 ttereshc
  - Special publish for modules \[TBD\]
193 2 ttereshc
194
##### Export
195
196 12 jsherril@redhat.com
  - As a user, I can export a repository or group of repositories to an ISO file (ISO 9660) - K3
197
  - As a user, I can export a repository or group of repositories to a DVD / Blueray file (UDF aka. ISO/IEC 13346) - K3
198
  - As a user, I can export a repository to a specified directory - K3
199
  - As a user, I can export a repositories content that is associated or updated (errata) since a specific datetime( aka incremental?) - K3
200 2 ttereshc
  - As a user, I can export RPM packages and errata as a set of JSON files
201
202
##### Upload
203
204 12 jsherril@redhat.com
  - As an authenticated user, I can upload yum/dnf content types (not including Distribution) - K2
205 2 ttereshc
  - As an authenticated user, I can upload a comps.xml file and have it parsed into its constituent content units (requires knowledge of the destination repo at creation time)
206
207
##### Copy
208
209 12 jsherril@redhat.com
  - As a user, I can copy a content of a specific type from one repository to another repository - K2
210
  - As a user, I can copy RPM packages and all their dependencies from one repository to another repository - K2
211 2 ttereshc
  - As a user, I can copy an Erratum and all the RPM packages it references from one repository to another repository
212 12 jsherril@redhat.com
  - As a user, I can copy an Erratum and all the RPM packages it references and all the RPM dependencies from one repository to another repository - K2
213 11 ttereshc
  - Some content types create a new content unit in the destination repo instead of just copying, e.g. yum_repo_metadata_file
214 7 ttereshc
  - Special copy for modules \[TBD\]
215 2 ttereshc
216
#### Not much yet discussed use cases
217
218
##### Content Protection
219
220 12 jsherril@redhat.com
  - As an authenticated user, I can use key based authentication to allow/disallow access to content served by the content app - K3
221 2 ttereshc
  - As an authenticated user, I can use user/password based authentication to allow/disallow access to content served by the content app.
222
223
##### Applicability
224
225
  - As an authenticated user, I can trigger an applicability for a consumer.
226
  - As an authenticated user, I can trigger an applicability for a repository.
227
228
##### Rsync Distributor
229
230
  - As a user i can distribute rpm content using a remote server.
231
232
## Pulp 2 features not present in Pulp 3
233
234
  - "gpgkey" importer setting - only used by pulp-agent.
235
  - "generate_sqlite" - sqlite files are only used by yum as an optimization. DNF does not use them and has no plans to. Performance gains marginal.
236
237
<!-- end list -->
238
239
  - they are also used by the "repoview" feature which we will also leave out of 3.0. Making browseable publications will hopefully be solved in the core.
240
241
<!-- end list -->
242
243
  - As a user, I can have publish skip one or more content types, e.g. drpm, errata, etc
244
245
<!-- end list -->
246
247
  - We can't think of a use case for this. Maybe export of only RPMs and Errata, see export use case.