Bug 1034347 - Review Request: libvirt-python - python binding for libvirt library
Summary: Review Request: libvirt-python - python binding for libvirt library
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-25 16:25 UTC by Daniel Berrangé
Modified: 2013-12-16 18:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-16 18:36:07 UTC
Type: ---
Embargoed:
crobinso: fedora-review+


Attachments (Terms of Use)

Description Daniel Berrangé 2013-11-25 16:25:59 UTC
Spec URL: http://berrange.fedorapeople.org/review/libvirt-python/libvirt-python.spec
SRPM URL: http://berrange.fedorapeople.org/review/libvirt-python/libvirt-python-1.2.0-0.rc0.fc19.src.rpm
Description: This package provides the python binding for the libvirt library. It was previously distributed as a sub-RPM of the main libvirt package, but is now split into a dedicated RPM. There should be no functional change from the POV of an application using the libvirt python binding
Fedora Account System Username: berrange

Comment 1 Daniel Berrangé 2013-11-25 16:28:34 UTC
NB: rpmlint will report the Source0 URL as bogus. This is because upstream libvirt has not yet done the first release of the libvirt-python binding. This review is being opened pre-emptively, so we can get the review under way.

We don't intend to actually add this to Fedora until upstream has formally released the libvirt-python library, and thus fixed the URL. Similarly the '0.rc0' part of the release tag would go away to be replaced by '1'

Comment 2 Cole Robinson 2013-11-26 17:04:48 UTC
Some bits flagged by fedora-review:

libvirt-python.x86_64: W: private-shared-object-provides /usr/lib64/python2.7/site-packages/libvirtmod_qemu.so libvirtmod_qemu.so()(64bit)
libvirt-python.x86_64: W: private-shared-object-provides /usr/lib64/python2.7/site-packages/libvirtmod_lxc.so libvirtmod_lxc.so()(64bit)
libvirt-python.x86_64: W: private-shared-object-provides /usr/lib64/python2.7/site-packages/libvirtmod.so libvirtmod.so()(64bit)

The %filter macros handle this, it's just not the 'newest' way. So that's fine.

libvirt-python.x86_64: E: non-executable-script /usr/lib64/python2.7/site-packages/libvirt_lxc.py 0644L /usr/bin/python
libvirt-python.x86_64: E: non-executable-script /usr/lib64/python2.7/site-packages/libvirt_qemu.py 0644L /usr/bin/python
libvirt-python.x86_64: E: non-executable-script /usr/lib64/python2.7/site-packages/libvirt.py 0644L /usr/bin/python

Indeed /usr/bin/python should be dropped from these files upstream, but not a blocker really.

Manual review looks fine. There's some stuff that could be dropped if the spec was only targeting modern Fedora, but given how libvirt tracks specs upstream and still targets RHEL5 it makes sense why devs would want to keep those bits.

So ACK. When the official release is done I'll re-review and set the correct flags.

Comment 3 Daniel Berrangé 2013-12-02 11:35:29 UTC
Spec URL: http://berrange.fedorapeople.org/review/libvirt-python/libvirt-python.spec
SRPM URL: http://berrange.fedorapeople.org/review/libvirt-python/libvirt-python-1.2.0-1.fc19.src.rpm

The bogus provides should be gone in this SRPM - the previous SRPM was built with the wrong spec file which lacked the %filter rules.

Comment 4 Cole Robinson 2013-12-02 17:09:48 UTC
Looks good. 

Please remember to add virt-maint.org to the CC list

Comment 5 Daniel Berrangé 2013-12-02 17:17:23 UTC
New Package SCM Request
=======================
Package Name: libvirt-python
Short Description: The libvirt virtualization API python binding
Owners: berrange crobinso veillard
Branches: 
InitialCC: virt-maint.org

Comment 6 Gwyn Ciesla 2013-12-02 18:01:14 UTC
virt-maint.org is not a valid FAS account, please use
the corresponding FAS account name.

Comment 7 Daniel Berrangé 2013-12-02 18:04:37 UTC
New Package SCM Request
=======================
Package Name: libvirt-python
Short Description: The libvirt virtualization API python binding
Owners: berrange crobinso veillard
Branches: 
InitialCC: virtmaint

Comment 8 Gwyn Ciesla 2013-12-02 21:12:05 UTC
Complete, please add comaintainers in pkgdb.

Comment 9 Daniel Berrangé 2013-12-03 10:01:44 UTC
@jon is the GIT repository actually created ?

I'm unable to check it out

$ git clone ssh://pkgs.fedoraproject.org/libvirt-python
Cloning into 'libvirt-python'...
fatal: '/srv/git/rpms//libvirt-python.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


Looking at GITWEB the repository does not exist

http://pkgs.fedoraproject.org/cgit/libvirt-python.git/

Comment 10 Gwyn Ciesla 2013-12-03 13:02:06 UTC
Looks like something odd happened, try it now.

Comment 11 Cole Robinson 2013-12-16 18:36:07 UTC
Seems to be fine now


Note You need to log in before you can comment on or make changes to this bug.