Pulp RPM Roadmap » History » Sprint/Milestone 2
ttereshc, 12/14/2017 11:32 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 | - Erratum \[#3203\] |
||
39 | |||
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 | - As a user, I can sync only signed packages (RPM/DRPM/SRPM) |
||
100 | - As a user, I can have sync skip one or more content types, e.g. drpm, errata, etc |
||
101 | |||
102 | <!-- end list --> |
||
103 | |||
104 | - Performance features |
||
105 | |||
106 | <!-- end list --> |
||
107 | |||
108 | - 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. |
||
109 | |||
110 | <!-- end list --> |
||
111 | |||
112 | - As a user, my sync is not skipped if it's a first sync |
||
113 | - As a user, my sync is not skipped if the importer configuration has changed since the last sync |
||
114 | - As a user, my sync is not skipped if any content has been removed from the repository since the last sync |
||
115 | - As a user, downloading of content starts quickly |
||
116 | |||
117 | <!-- end list --> |
||
118 | |||
119 | - Sync types |
||
120 | |||
121 | <!-- end list --> |
||
122 | |||
123 | - As a user, I can sync a kickstart tree from the same feed as other rpm/yum/dnf content. |
||
124 | |||
125 | <!-- end list --> |
||
126 | |||
127 | - Download Behaviors |
||
128 | |||
129 | <!-- end list --> |
||
130 | |||
131 | - As a user, I can limit the maximum speed of downloading in bytes / sec |
||
132 | - As a user, I can limit the number of concurrent downloads |
||
133 | - As a user, I can sync content on-demand by setting a repository's download policy. |
||
134 | - As a user, I can specify the number of retries to be done before failing a given download |
||
135 | |||
136 | <!-- end list --> |
||
137 | |||
138 | - Checksum Features |
||
139 | |||
140 | <!-- end list --> |
||
141 | |||
142 | - As a user, I can sync a repository and have the files' checksums validated to ensure that no content is corrupt. |
||
143 | |||
144 | <!-- end list --> |
||
145 | |||
146 | - GPG Signature Features |
||
147 | |||
148 | <!-- end list --> |
||
149 | |||
150 | - As a user, I can verify that repo metadata has a valid signature. (would be a new feature) |
||
151 | - 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. |
||
152 | |||
153 | <!-- end list --> |
||
154 | |||
155 | - Mirror List Support |
||
156 | |||
157 | <!-- end list --> |
||
158 | |||
159 | - As a plugin writer I can configure mirror lists and rotate between the mirrors |
||
160 | |||
161 | <!-- end list --> |
||
162 | |||
163 | - round robin support |
||
164 | - nearest mirror support (GeoIP or ping times) |
||
165 | |||
166 | ##### Publish |
||
167 | |||
168 | - As an authenticated user, I can publish a yum/dnf repository. |
||
169 | |||
170 | <!-- end list --> |
||
171 | |||
172 | - DRPM |
||
173 | - Distribution (kickstart tree) |
||
174 | - Comps.xml content types (package group, environment, category, langpacks) |
||
175 | - Yum repo metadata file |
||
176 | |||
177 | <!-- end list --> |
||
178 | |||
179 | - As a user, I can publish a repository incrementally (re-use the pre-existing metadata and only add additional units) |
||
180 | - As a user, I can force a full republish of a repository. |
||
181 | - As a user, my publish will skip most of its work if no changes to a repository were made since last publish. |
||
182 | - As a user, I can configure which checksum algorithm to use when creating metadata. |
||
183 | - As a user, I can configure which checksum algorithm to use when creating updateinfo.xml. |
||
184 | |||
185 | ##### Export |
||
186 | |||
187 | - As a user, I can export a repository or group of repositories to an ISO file (ISO 9660) |
||
188 | - As a user, I can export a repository or group of repositories to a DVD / Blueray file (UDF aka. ISO/IEC 13346) |
||
189 | - As a user, I can export a repository to a specified directory |
||
190 | - As a user, I can export a repositories content that is associated or updated (errata) since a specific datetime( aka incremental?) |
||
191 | - As a user, I can export RPM packages and errata as a set of JSON files |
||
192 | |||
193 | ##### Upload |
||
194 | |||
195 | - As an authenticated user, I can upload yum/dnf content types (not including Distribution) |
||
196 | - 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) |
||
197 | |||
198 | ##### Copy |
||
199 | |||
200 | - As a user, I can copy a content of a specific type from one repository to another repository |
||
201 | - As a user, I can copy RPM packages and all their dependencies from one repository to another repository |
||
202 | - As a user, I can copy an Erratum and all the RPM packages it references from one repository to another repository |
||
203 | - 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 |
||
204 | - Some content types create a new content unit in the destination repo instead of just copying. |
||
205 | |||
206 | #### Not much yet discussed use cases |
||
207 | |||
208 | ##### Content Protection |
||
209 | |||
210 | - As an authenticated user, I can use key based authentication to allow/disallow access to content served by the content app |
||
211 | - As an authenticated user, I can use user/password based authentication to allow/disallow access to content served by the content app. |
||
212 | |||
213 | ##### Applicability |
||
214 | |||
215 | - As an authenticated user, I can trigger an applicability for a consumer. |
||
216 | - As an authenticated user, I can trigger an applicability for a repository. |
||
217 | |||
218 | ##### Rsync Distributor |
||
219 | |||
220 | - As a user i can distribute rpm content using a remote server. |
||
221 | |||
222 | ## Pulp 2 features not present in Pulp 3 |
||
223 | |||
224 | - "gpgkey" importer setting - only used by pulp-agent. |
||
225 | - "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. |
||
226 | |||
227 | <!-- end list --> |
||
228 | |||
229 | - 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. |
||
230 | |||
231 | <!-- end list --> |
||
232 | |||
233 | - As a user, I can have publish skip one or more content types, e.g. drpm, errata, etc |
||
234 | |||
235 | <!-- end list --> |
||
236 | |||
237 | - We can't think of a use case for this. Maybe export of only RPMs and Errata, see export use case. |