Hide Forgot
As per conversation with bbuckingham on IRC - <sayli> bbuckingham, do you need extra errata info for /consumers/applicable_errata_in_repos/ or in general? <sayli> because if it is just that api, I can modify it to send extra information about errata <bbuckingham> sayli, that is actually what triggered my looking around... as part of giving the 'errata summary based on systems registered'... we need to have access to a couple of other attributes... e.g. type and repo... (from repo, we'd internally locate the product) <bbuckingham> sayli, for the purpose of summary, it may be nice to even be able to ask the api to only return those that have a system associated... that might reduce the result set significantly <sayli> bbuckingham, so maybe what I can do is check if I can add a flag easily to avoid errata with no consumers associated and change result to add information about - <sayli> severity, title, type and repoids <sayli> does that sound good? <bbuckingham> sayli, if we can do that, that would be great... <bbuckingham> sayli, what we have now works, but the above would make it more efficient there are a couple of desirable improvements to GET /consumers/applicable_errata_in_repos/?repoids api. 1. add a flag easily to avoid errata with no consumers associated and send information about errata that are applicable for consumers 2. add errata errata type, severity, title and repoids to the result
commit a3edd098888c5d1cab7ad06a53a6a03dd30d5222 Author: Sayli Karmarkar <skarmark> Date: Tue Jan 17 18:58:43 2012 -0800 773439 - enhanced GET /consumers/applicable_errata_in_repos/ api to accept send_only_applicable_errata flag and return more information about errata
build: 0.259
verified [root@preethi ~]# rpm -q pulp pulp-0.0.267-1.fc15.noarch [root@preethi ~]# [root@preethi ~]# curl -k -u admin:admin 'https://localhost/pulp/api/consumers/applicable_errata_in_repos/?repoids=rhel6_2' {"RHBA-2012:0028": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "strace bug fix update"}, "RHSA-2011:1455": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Important", "title": "Important: freetype security update"}, "RHEA-2012:0065": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "enhancement", "severity": "", "title": "openssh enhancement update"}, "RHSA-2011:1807": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Important", "title": "Important: jasper security update"}, "RHBA-2011:1779": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "selinux-policy bug fix update "}, "RHSA-2012:0105": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Important", "title": "Important: mysql security update"}, "RHSA-2012:0059": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Moderate", "title": "Moderate: openssl security update"}, "RHBA-2012:0068": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "at bug fix update"}, "RHSA-2011:1790": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Moderate", "title": "Moderate: krb5 security update"}, "RHBA-2011:1847": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "java-1.6.0-openjdk bug fix update"}, "RHEA-2011:1776": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "enhancement", "severity": "", "title": "rng-tools enhancement update"}, "RHSA-2011:1815": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Moderate", "title": "Moderate: icu security update"}, "RHSA-2011:1819": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Moderate", "title": "Moderate: dhcp security update"}, "RHBA-2011:1395": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "dmidecode bug fix update"}, "RHSA-2012:0136": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Important", "title": "Important: libvorbis security update"}, "RHEA-2011:1810": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "enhancement", "severity": "", "title": "sssd bug fix update"}, "RHEA-2011:1543": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "enhancement", "severity": "", "title": "Red Hat Enterprise Linux 6.2 Release Notes"}, "RHBA-2012:0123": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "selinux-policy bug fix update "}, "RHBA-2012:0124": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "kernel bug fix update"}, "RHSA-2012:0317": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Important", "title": "Important: libpng security update"}, "RHBA-2012:0054": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "sssd bug fix update"}, "RHBA-2012:0009": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "bind bug fix update"}, "RHSA-2012:0128": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Moderate", "title": "Moderate: httpd security update"}, "RHSA-2012:0018": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Important", "title": "Important: libxml2 security update"}, "RHBA-2011:1836": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "bind bug fix update"}, "RHBA-2012:0134": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "policycoreutils bug fix update"}, "RHSA-2011:1849": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Important", "title": "Important: kernel security and bug fix update"}, "RHSA-2012:0058": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Moderate", "title": "Moderate: glibc security and bug fix update"}, "RHSA-2012:0052": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Important", "title": "Important: kernel security and bug fix update"}, "RHBA-2011:1838": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "nss bug fix update"}, "RHSA-2012:0095": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Moderate", "title": "Moderate: ghostscript security update"}, "RHBA-2011:1837": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "bugfix", "severity": "", "title": "selinux-policy bug fix update "}, "RHSA-2012:0135": {"consumerids": ["client1"], "repoids": ["rhel6_2"], "type": "security", "severity": "Critical", "title": "Critical: java-1.6.0-openjdk security update"}}[root@preethi ~]#
Pulp v1.0 is released Closed Current Release.