Project

Profile

Help

Issue #5671

closed

RPM 'requires' should be a hash when returned from ruby bindings

Added by iballou over 4 years ago. Updated almost 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings, Katello
Sprint:
Sprint 61
Quarter:

Description

RPM 'requires' currently looks like:

"requires"=>"[[\"/usr/bin/python2\", null, null, null, null, false], [\"python(abi)\", \"EQ\", \"0\", \"2.7\", null, false]]"

This should be a hash so we can have requires['flags'] return EQ, for example.

Actions #1

Updated by iballou over 4 years ago

This also goes for 'provides', 'conflicts', 'obsoletes', ...

Actions #2

Updated by iballou over 4 years ago

I also just realized that the array is also a string, we'll want to make sure it's a proper ruby object.

Actions #3

Updated by fao89 over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
Actions #4

Updated by ttereshc over 4 years ago

  • Project changed from Pulp to RPM Support
  • Triaged changed from No to Yes
  • Sprint set to Sprint 61
Actions #5

Updated by fao89 over 4 years ago

  • Status changed from ASSIGNED to POST

Added by Fabricio Aguiar over 4 years ago

Revision 9288fdf6 | View on GitHub

Stopping to save JSONFields as String

https://pulp.plan.io/issues/5671 closes #5671

Actions #6

Updated by Anonymous over 4 years ago

  • Status changed from POST to MODIFIED
Actions #7

Updated by ttereshc over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #8

Updated by ggainey almost 4 years ago

  • Tags Katello added
  • Tags deleted (Katello-P2)

Also available in: Atom PDF