Refactor #4567
closedConvert data between createrepo_c format and pulp format in a unified way
100%
Description
There are few issues which inspired that refactor task:
- null value can come from creatrepo_c while in TextField it's recommended to use empty string in such cases https://pulp.plan.io/issues/4502
- more complicated structures which Pulp stores in a TextField requires serialization/deserialization (or maybe remodelling to make them simpler) https://github.com/pulp/pulp_rpm/pull/1298#discussion_r265235083
- there are two ways to get content into Pulp: via sync and via upload. And RPM plugin processes data differently in those cases, e.g. at upload time there is some data JSON serialization is happening, no serialization happens at sync time.
In general, if it's possible to isolate createrepo_c specifics (not only data conversion), code would be much better organized and readable.
Updated by daviddavis over 5 years ago
- Sprint changed from Sprint 51 to Sprint 52
Updated by ppicka over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ppicka
Updated by amacdona@redhat.com over 5 years ago
- Sprint changed from Sprint 53 to Sprint 54
Updated by Anonymous over 5 years ago
- File clipboard-201906201006-ofmgl.png added
Updated by Anonymous over 5 years ago
- File clipboard-201906201006-fi9lh.png added
- File clipboard-201906201006-9jece.png added
Updated by ppicka over 5 years ago
- File deleted (
clipboard-201906201006-ofmgl.png)
Updated by ppicka over 5 years ago
- File deleted (
clipboard-201906201006-fi9lh.png)
Updated by ppicka over 5 years ago
- File deleted (
clipboard-201906201006-9jece.png)
Added by ppicka over 5 years ago
Updated by ttereshc over 5 years ago
- Sprint changed from Sprint 54 to Sprint 55
Updated by ppicka over 5 years ago
- Status changed from ASSIGNED to POST
Updated by ppicka over 5 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset e871d21a91883c166e8441155c1800348cc65168.
Updated by ttereshc almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Refactor naming for pakcage attr
to better readability code package method to convert data to createrepo_c using PULP namespace.
closes: #4567 https://pulp.plan.io/issues/4567
Signed-off-by: Pavel Picka ppicka@redhat.com