| Summary: | RFE: Errata - retrieving a count of errata within a given repo. | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Brad Buckingham <bbuckingham> |
| Component: | user-experience | Assignee: | pulp-bugs |
| Status: | CLOSED DUPLICATE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | bbuckingham, cduryee, mhrivnak, mmccune, rbarlow, skarmark |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-11-12 01:58:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Brad Buckingham
2011-12-14 15:17:52 UTC
Is this still an issue? Unfortunately, I am not sure if this is still an issue or not. I haven't come across anything in the API docs (https://pulp-dev-guide.readthedocs.org/en/pulp-2.2/integration/rest-api/index.html) that indicate that it is possible to retrieve counts for a unit (e.g. errata, packages, package groups) for one or more repositories. Are you aware of any? For Katello this was important because we needed to be able to provide the user with summary information, without actually retrieving all of the data. In order to address that, the content has since been indexed in to elasticsearch so that it can be efficiently retrieved. So, for now, this is not an issue for Katello; however, other users might find it useful to retrieve that type information. This data appears to be returned now, as of pulp 2.4.x: curl -k https://admin:admin@localhost/pulp/api/v2/repositories/ | python -mjson.tool result: <snip> { "_href": "/pulp/api/v2/repositories/f19/", "_id": { "$oid": "5462b900d1a0f5027cc3e52b" }, "_ns": "repos", "content_unit_counts": { "distribution": 1, "package_category": 12, "package_environment": 12, "package_group": 100, "rpm": 3949 }, "description": null, "display_name": "f19", "id": "f19", "notes": { "_repo-type": "rpm-repo" } } <snip> I think at this point, this BZ is the same as docs bug #1004623. Marking as closed/duplicate. *** This bug has been marked as a duplicate of bug 1004623 *** |