Bug 642524 - Review Request: rubygem-net-sftp - A pure Ruby implementation of the SFTP client protocol
Summary: Review Request: rubygem-net-sftp - A pure Ruby implementation of the SFTP cli...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mo Morsi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 588446 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-13 09:14 UTC by Michal Fojtik
Modified: 2010-11-04 23:28 UTC (History)
4 users (show)

Fixed In Version: rubygem-net-sftp-2.0.5-2.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-27 22:37:53 UTC
Type: ---
Embargoed:
mmorsi: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Michal Fojtik 2010-10-13 09:14:59 UTC
Spec URL: http://mifo.sk/RPMS/rubygem-net-sftp.spec
SRPM URL: http://mifo.sk/RPMS/rubygem-net-sftp-2.0.5-1.fc13.src.rpm
Description:

Net::SFTP is a library built on top of Net::SSH that implements the SFTP file transfer protocol (actually, versions 1 through 6 of that protocol). Select one of the following links to read more about Net::SFTP.

Comment 1 Mo Morsi 2010-10-13 17:08:07 UTC
Taking this one. Overall looks good with some small nits

* rpmlint complains about mixing spaces / tabs, please remove the tab on line 25
"Summary:  Documentation for %{name}"

* Can you please change %source0 to point to the official rubygems.org gem

* The license of the documentation file should be MIT and LGPLv2 as the setup.rb is licensed under the LGPL version 2.1

These are the only blockers, though I was also wondering why you specify "> 1.2" for the rubygems dependency (not wrong, just haven't see this before). Also if you have a moment the review guidelines state "If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it", not a biggie though.


Rpmlint looks fine (with the exception above), the package builds fine on koji, and I did a surface functionality test.

Once the three blockers have been resolved about, this package is ready.


APPROVED rubygem-net-sftp  [mmorsi]

Comment 2 Mamoru TASAKA 2010-10-13 18:42:26 UTC
*** Bug 588446 has been marked as a duplicate of this bug. ***

Comment 3 Michal Fojtik 2010-10-14 11:01:57 UTC
(In reply to comment #1)
> Taking this one. Overall looks good with some small nits
> 
> * rpmlint complains about mixing spaces / tabs, please remove the tab on line
> 25
> "Summary:  Documentation for %{name}"

Fixed.

Now:

rpmlint rubygem-net-sftp-2.0.5-2.fc13.noarch.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

rpmlint rubygem-net-sftp-doc-2.0.5-2.fc13.noarch.rpm
rubygem-net-sftp-doc.noarch: W: no-documentation
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

rpmlint rubygem-net-sftp-2.0.5-2.fc13.src.rpm
rubygem-net-sftp.src: W: no-buildroot-tag
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

> 
> * Can you please change %source0 to point to the official rubygems.org gem

Fixed.

> 
> * The license of the documentation file should be MIT and LGPLv2 as the
> setup.rb is licensed under the LGPL version 2.1

Fixed. I write down a comment in %files to mark setup.rb file as LGPL

> These are the only blockers, though I was also wondering why you specify ">
> 1.2" for the rubygems dependency (not wrong, just haven't see this before).

You're right. I removed that version dependency.

> Also if you have a moment the review guidelines state "If the source package
> does not include license text(s) as a separate file from upstream, the packager
> SHOULD query upstream to include it", not a biggie though.

Sure, will do :-)

> 
> 
> Rpmlint looks fine (with the exception above), the package builds fine on koji,
> and I did a surface functionality test.
> 
> Once the three blockers have been resolved about, this package is ready.
> 
> 
> APPROVED rubygem-net-sftp  [mmorsi]

Thanks for help and review!

========================

* Thu Oct 14 2010 Michal Fojtik <mfojtik> - 2.0.5-2
- Fixed license
- Fixes source0 URL

Spec URL: http://mifo.sk/RPMS/rubygem-net-sftp.spec
SRPM URL: http://mifo.sk/RPMS/rubygem-net-sftp-2.0.5-2.fc13.src.rpm

Comment 4 Michal Fojtik 2010-10-14 11:02:50 UTC
New Package SCM Request
=======================
Package Name:      rubygem-net-sftp
Short Description: A pure Ruby implementation of the SFTP client protocol
Owners:            mfojtik
Branches:          f12 f13 f14

Comment 5 Mo Morsi 2010-10-14 15:48:14 UTC
Appreciate the update, though regarding the license, its still not fully right. Since setup.rb is shipped with the 'doc' subpackage, it is that package that needs the LGPLv2 in the license. 

Furthermore it needs to be MIT _and_ LGPLv2 (not _or_) as the provided sources are shipped under both those licenses. 'or' would be appropriate if upstream said 'you may use this project under the terms of the MIT license or the LGPL one, your choice'.

So essentially the license for the main package should be 'LICENSE: MIT'

and the license for the subpackage (put this under %package doc) should be 'LICENSE: MIT and LGPLv2'


Now that being said, looking at setup.rb, it looks like we don't even need to ship it as it simply sets up the upstream environment for a build / install.

Unless I'm wrong, you can also just remove setup.rb, and just ship the entire package (both net-sftp and the doc subpackage) under the MIT license. Your choice.


Either way, once this license issue is resolved and git is setup, just push as my APPROVED still stands.

Comment 6 Kevin Fenzi 2010-10-16 21:18:08 UTC
Git done (by process-git-requests).

Please remember to assign reviews to the reviewer. ;)

Comment 7 Fedora Update System 2010-10-17 14:30:38 UTC
rubygem-net-sftp-2.0.5-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/rubygem-net-sftp-2.0.5-2.fc13

Comment 8 Fedora Update System 2010-10-17 14:36:06 UTC
rubygem-net-sftp-2.0.5-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/rubygem-net-sftp-2.0.5-2.fc14

Comment 9 Fedora Update System 2010-10-17 15:42:22 UTC
rubygem-net-sftp-2.0.5-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update rubygem-net-sftp'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/rubygem-net-sftp-2.0.5-2.fc14

Comment 10 Fedora Update System 2010-10-27 22:37:49 UTC
rubygem-net-sftp-2.0.5-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-11-04 23:28:21 UTC
rubygem-net-sftp-2.0.5-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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