Bug 508188 - Review Request: pywbem - Python WBEM Client and Provider Interface
Summary: Review Request: pywbem - Python WBEM Client and Provider Interface
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jason Tibbitts
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: python-pywbem (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-25 23:06 UTC by David Nalley
Modified: 2009-07-06 02:44 UTC (History)
3 users (show)

Fixed In Version: 0.7.0-2.fc10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-30 21:35:37 UTC
Type: ---
Embargoed:
j: fedora-review+
j: fedora-cvs+


Attachments (Terms of Use)

Description David Nalley 2009-06-25 23:06:50 UTC
Spec URL: http://ke4qqq.fedorapeople.org/pywbem.spec
SRPM URL: http://ke4qqq.fedorapeople.org/pywbem-0.7.0-1.fc11.src.rpm
Description: A Python library for making CIM operations over HTTP using the WBEM
CIM-XML protocol. It is based on the idea that a good WBEM client should be
easy to use and not necessarily require a large amount of programming
knowledge. It is suitable for a large range of tasks from simply poking
around to writing web and GUI applications.

It also provides a Python provider interface, and is the fastest and
easiest way to write providers on the planet.

Comment 1 Jason Tibbitts 2009-06-25 23:47:15 UTC
This seems to be a duplicate of bug 245688.

Comment 2 David Nalley 2009-06-26 01:52:36 UTC
So it is, thanks for catching that. I noticed that you inquired on 20 June 2009 regarding the status of that review. Since it is just a few days yet till the week required to mark  package review FE-DEADREVIEW under the "Policy for Stalled Package Reviews" I will hold off on making any additional progress till 28 June and review that bug for progress there. If there is no progress I'll mark bug 245688 as FE-DEADREVIEW and proceed here. My preference is for someone else to maintain it (and for a new packager to be added in the process).

Comment 3 Jason Tibbitts 2009-06-27 04:51:30 UTC
*** Bug 245688 has been marked as a duplicate of this bug. ***

Comment 4 Jason Tibbitts 2009-06-27 06:33:43 UTC
I've given up on the other ticket and have closed it.  I'll go ahead and take care of this one.  Hopefully in the future the legal issue preventing an HP employee from signing the CLA will be resolved and the submitter of that ticket (who is one of the upstream developers) can co-maintain.

As in the other review, I would urge some elaboration of the acronym stew that is the description.

You could drop BuildRequires: python, although it doesn't hurt anything to have it.

Are you sure it's wise to rename the executables?  Of course, the other review renamed the executables to mofcomp and pywbemcli, so perhaps there's simply no standard for the names of these executables.  Maybe it's worth checking with upstream about this.

twisted_client.py seems to depends on python-twisted; should that be a runtime dependency?


* source files match upstream.  sha256sum:                   
   414f2cebabc0824e1d834809a27842cf698af19b23b61691a4ee76105b9cdcbd  pywbem-
   0.7.0.tar.gz
* package meets naming and versioning guidelines.
* specfile is properly named, is cleanly written and uses macros consistently.
* summary is OK.                                                              
* description is OK.                                                          
* dist tag is present.
* build root is OK.
* license field matches the actual license.
* license is open source-compatible.
* license text not included upstream.
* latest version is being packaged.
* BuildRequires are proper (BR: python is unnecessary but not harmful).
* %clean is present.
* package builds in mock (rawhide, x86_64).
* package installs properly.
* rpmlint is silent.
* final provides and requires are sane:
   pywbem = 0.7.0-1.fc12
  =
   python(abi) = 2.6

* %check is not present; no test suite upstream.
* owns the directories it creates.
* doesn't own any directories it shouldn't.
* no duplicates in %files.
* file permissions are appropriate.
* no generically named files
* code, not content.
* documentation is small, so no -doc subpackage is necessary.
* %docs are not necessary for the proper functioning of the package.

Comment 5 David Nalley 2009-06-28 16:51:05 UTC
> As in the other review, I would urge some elaboration of the acronym stew that
> is the description.

I left the common stuff such as SNMP and HTTP but added acronym expansions for CIM and WBEM, and a brief explanation of WBEM. 

> 
> You could drop BuildRequires: python, although it doesn't hurt anything to have
> it.

Done

> 
> Are you sure it's wise to rename the executables?  Of course, the other review
> renamed the executables to mofcomp and pywbemcli, so perhaps there's simply no
> standard for the names of these executables.  Maybe it's worth checking with
> upstream about this.

I renamed the executables per: 
https://fedoraproject.org/wiki/Packaging:Python#Unnecessary_Byte_compilation

That said, the pyc and pyo in question still get generated by setup.py, just not in bin_dir, they remain in python_sitelib. I suppose I could rename the two scripts in question in %prep. But that isn't the bug directly referenced by the packaging guidelines note. 

That said, I assume since Tim is at least part of upstream that his naming is ok, and thus I changed mine to reflect what his symlink names were. 



> 
> twisted_client.py seems to depends on python-twisted; should that be a runtime
> dependency?

It should be, thanks for catching that. It's added in the next version. 

> 
<lots snipped>

http://ke4qqq.fedorapeople.org/pywbem.spec
http://ke4qqq.fedorapeople.org/pywbem-0.7.0-2.fc11.src.rpm


Thanks for the review!

Comment 6 Jason Tibbitts 2009-06-28 17:40:37 UTC
Hmm, note that page on unnecessary byte compilation includes a link to the bug, which you may note was closed back in March.  I know the issue was fixed in rawhide; I'm pretty sure that happened before F11 branched, so F11 should have the fix as well.  

Note that you picked up a new rpmlint warning:
  pywbem.src: W: mixed-use-of-spaces-and-tabs (spaces: line 2, tab: line 13)
which I don't care at all about, but you might.

I suppose you could fix setup.py to install those executables in the proper place for executables, or petition upstream to do so, or do what Tim's package did and just link to them.  Or leave things the way you have them; I don't think it makes a significant difference, although the current method has the dangling .pyc and .pyo files with no corresponding .py file which does seem a bit odd.  

Otherwise this still builds and installs, and the major issues have been fixed, so I think this is fine.

APPROVED

Comment 7 David Nalley 2009-06-28 18:02:00 UTC
Thanks for the review. 
I'll fix the space/tab issue before the spec hits CVS. 

I'll talk to upstream about how they'd like to see the executables handled. 

New Package CVS Request
=======================
Package Name: pywbem
Short Description: Python WBEM Client and Provider Interface
Owners: ke4qqq
Branches: F-10 F-11 EL-5
InitialCC:

Comment 8 Jason Tibbitts 2009-06-28 18:10:13 UTC
CVS done.

Comment 9 Fedora Update System 2009-06-28 19:28:37 UTC
pywbem-0.7.0-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/pywbem-0.7.0-2.fc11

Comment 10 Fedora Update System 2009-06-28 19:28:42 UTC
pywbem-0.7.0-2.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/pywbem-0.7.0-2.fc10

Comment 11 Fedora Update System 2009-06-30 21:35:32 UTC
pywbem-0.7.0-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2009-06-30 21:41:33 UTC
pywbem-0.7.0-2.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Tim Potter 2009-07-06 02:30:19 UTC
Hi everyone.  I've just returned from three months leave and seem to have missed all the pywbem excitement.  Thanks very much Jason and David for getting this done.  I'm not sure what happened to my request to legal - it seems have gotten lost somewhere.

David, I'm happy to take over maintainership if that's still what you want.

Comment 14 David Nalley 2009-07-06 02:44:44 UTC
Hi Tim, 

Welcome back. 
As I said earlier, I'd prefer that someone more connected with upstream maintain it. I packaged it because I had a need for pywbem in EPEL at $dayjob. 

Once you get the CLA squared away and get the packager sponsorship taken care of, please let me know, I'll be happy to pass this off to you. 

Thanks, 

David Nalley


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