Bug 521716 - Review Request: python-zfec - A fast erasure codec with python bindings
Summary: Review Request: python-zfec - A fast erasure codec with python bindings
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Spura
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 560457
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-07 22:35 UTC by Ruben Kerkhof
Modified: 2010-02-21 11:32 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-21 11:32:27 UTC
Type: ---
Embargoed:
tomspur: fedora-review+
j: fedora-cvs+


Attachments (Terms of Use)

Description Ruben Kerkhof 2009-09-07 22:35:04 UTC
Spec URL: http://ruben.fedorapeople.org/python-zfec.spec
SRPM URL: http://ruben.fedorapeople.org/python-zfec-1.4.5-1.fc11.src.rpm
Description:
Fast, portable, programmable erasure coding a.k.a. "forward error correction":
the generation of redundant blocks of information such that if some blocks are
lost then the original data can be recovered from the remaining blocks.

This is one of the needed dependencies for the Tahoe LAFS distributed filesystem.

Comment 1 Thomas Spura 2010-01-18 15:53:30 UTC
Review:

Good:
- name ok
- BR ok
- %build ok
- %clean there
- %doc ok
- no *.la
- no static libs
- permissions ok
- rpmlint clean


Needswork:
- %install: why don't you need the cmdtools?
  Make at least a comment in the spec.
- %check section would be great, then you'd found out the next issue:
- missing Requires: pyutil which is not yet in fedora...
  Also see the file zfec/filefec.py, there is also an import pyutil.
  I didn't test the programm, if it works, but it doesn't look like.
  Did you try it, or are you just packaging it as dependendy?
  Or did you remove the cmdtools because of this missing dependency?
  Better package that first, and enable all feature it has...
- Be a bit more explicit in %files:
  %{python_sitearch}/%{name} and %{python_sitearch}/%{name}*.egg-info would be better.
- Query upstream to add license headers.
- Are the patches upstream

Comment 2 Ruben Kerkhof 2010-01-24 23:09:47 UTC
Hi Thomas, thanks for the review!

Upstream released 1.4.6, which includes a few fixes for the issues you mentioned.
I asked them to push the new version to pypi, when that's done I'll create a new version. Should be ready in a few days.

Comment 3 Ruben Kerkhof 2010-01-31 20:01:04 UTC
> - %install: why don't you need the cmdtools?
I've added them.
> - %check section would be great, then you'd found out the next issue:
> - missing Requires: pyutil which is not yet in fedora...

I've added the %check section, and packaged up pyutil (#560457)

> - Be a bit more explicit in %files:
>  %{python_sitearch}/%{name} and %{python_sitearch}/%{name}*.egg-info would be
> better.

Ok, fixed.

> - Query upstream to add license headers.
Why, the license is included

> - Are the patches upstream
There's one patch left which removes darcsver, which isn't needed. Upstream uses it quite a lot.


New SPEC:
http://ruben.fedorapeople.org/python-zfec.spec
New SRPM:
http://ruben.fedorapeople.org/python-zfec-1.4.6-1.fc13.src.rpm

Comment 4 Thomas Spura 2010-01-31 21:34:27 UTC
- sources matches upstream: 542957786c0b5de3ff76094349d0cf0d


Only SHOULDS left:

(In reply to comment #3)
> > - Query upstream to add license headers.
> Why, the license is included

I remember, it's negative to not have headers, but can't find it in the guidelines. Only in COPYING.GPL it's just suggested in 'How to Apply These Terms to Your New Programs' too. Because you seem to be in contact with upstream, you could ask them to add the headers.
But this is a should anyway... ;)


- Deleting the tests would be good:
  Then there would be installed just what is needed.
  Here it doesn't matter much, because the tests are small...


##############################################################


I'd approve this now, but I want to wait for the dependencies.

Comment 5 Ruben Kerkhof 2010-01-31 22:09:00 UTC
Hi Thomas,

Ok, I'll delete the tests, and I've asked upstream to add license headers.

Would you mind taking a look at pyutil and python-zbase32 as well?

Comment 6 Mamoru TASAKA 2010-02-16 16:44:51 UTC
FYI I approved pyutil and python-zbase.

Comment 7 Mamoru TASAKA 2010-02-16 16:45:23 UTC
s/python-zbase/python-zbase32/

Comment 8 Thomas Spura 2010-02-16 17:02:21 UTC
(In reply to comment #6)
> FYI I approved pyutil and python-zbase.    

Thank you.


#########################################

APPROVED

Comment 9 Ruben Kerkhof 2010-02-16 20:57:20 UTC
New Package CVS Request
=======================
Package Name: python-zfec
Short Description: A fast erasure codec with python bindings
Owners: ruben
Branches: F-12

Comment 10 Jason Tibbitts 2010-02-19 18:56:07 UTC
CVS done (by process-cvs-requests.py).

Also added an F-13 branch.


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