Project

Profile

Help

Pulp RPM Roadmap » History » Sprint/Milestone 4

ttereshc, 04/20/2018 04:27 PM

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