Change in vdsm[master]: Introducing getAvailableUpdates API

dkuznets at redhat.com dkuznets at redhat.com
Wed Mar 11 11:52:55 UTC 2015


Dima Kuznetsov has posted comments on this change.

Change subject: Introducing getAvailableUpdates API
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.ovirt.org/#/c/38559/1/vdsm/API.py
File vdsm/API.py:

Line 1305:         Return list of available packages updates
Line 1306:         """
Line 1307:         try:
Line 1308:             info = []
Line 1309:             with open('/var/lib/vdsm/updates.list', 'r') as f:
Other distros might use paths other than /var/ for state.
Line 1310:                 for pkg in f:
Line 1311:                     info.append(pkg)
Line 1312: 
Line 1313:             return {'status': doneCode, 'info': info}


-- 
To view, visit https://gerrit.ovirt.org/38559
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I9d47d5395519fff4378ab7dd88b30c4766467427
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Dima Kuznetsov <dkuznets at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list