Bug 915791 - Review Request: perl-MogileFS-Server - Server part of the MogileFS distributed file system
Summary: Review Request: perl-MogileFS-Server - Server part of the MogileFS distribute...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Petr Šabata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 720916 913493 1439873 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-26 14:22 UTC by Petr Pisar
Modified: 2017-04-28 05:54 UTC (History)
4 users (show)

Fixed In Version: perl-MogileFS-Server-2.72-1.fc27
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-28 05:54:45 UTC
Type: ---
Embargoed:
psabata: fedora-review+


Attachments (Terms of Use)

Description Petr Pisar 2013-02-26 14:22:29 UTC
Spec URL: http://ppisar.fedorapeople.org/perl-MogileFS-Server/perl-MogileFS-Server.spec
SRPM URL: http://ppisar.fedorapeople.org/perl-MogileFS-Server/perl-MogileFS-Server-2.67-0.fc19.src.rpm
Description:
Server part of the MogileFS distributed file system.

Fedora Account System Username: ppisar

-----
This package perl-MogileFS-Server replaces perl-mogilefs-server. Binary packages keep the same name for compatibility. The only difference is new upstream and systemd support.

Comment 1 Petr Pisar 2013-02-26 14:24:23 UTC
*** Bug 913493 has been marked as a duplicate of this bug. ***

Comment 2 Petr Pisar 2013-02-26 14:26:40 UTC
*** Bug 720916 has been marked as a duplicate of this bug. ***

Comment 3 Petr Šabata 2013-03-20 14:39:00 UTC
Hmmm, many of the tests fail in mock.
It also seems your will need SCTP support which is optional in Fedora.  This will require thorough inspection...

Comment 4 Petr Pisar 2013-03-20 16:07:22 UTC
These are some time-outs or locking problems in SQLite:

# Creating 100 files...
# created 10/100
[Wed Mar 20 16:51:06 2013] crash log: Database error from MogileFS::Store/lib/MogileFS/Store.pm/1219: database is locked at lib/MogileFS/Worker/Monitor.pm line 378.
# created 20/100
[Wed Mar 20 16:51:07 2013] Child 2640 (monitor) died: 256 (UNEXPECTED)
[Wed Mar 20 16:51:07 2013] Job monitor has only 0, wants 1, making 1.
# created 30/100
MogileFS::Backend: timed out after 3s against 127.0.0.1:7001 when sending command: [create_close domain=testdom&fid=43&devid=2&path=http://127.0.1.1:7500/dev2/0/000/000/0000000043.fid&size=8192&key=manyhundred_38
] at /usr/share/perl5/vendor_perl/MogileFS/NewHTTPFile.pm line 335.
# Tests were run but no plan was declared and done_testing() was not seen.
[Wed Mar 20 16:51:16 2013] ending run due to SIGTERM

that occur only in mock environment. There are some massive parallel tests and SQLite is not capable to handle them probably. Other option is to use MySQL or Postgres back-end, but AFAIK both are fuzzy in mock.

I'm going to disable the tests.

Comment 7 Petr Šabata 2013-03-21 16:24:14 UTC
Ok, better now.

Patches make sense, ok.

Majority of the files don't mention their license, there's no license on the CPAN page and there's no LICENSE or COPYING file either.

mogilefsd is 'GPLv2 or artistic' +who-knows and mogstored is '(GPLv2 or Artistic) and (GPL+ or Artistic)' +who-knows.  Backends have no license at all.  I'm not sure if we may assume Perl-like license or if this is okay or not.  Asking upstream for clarification would help.  Also, if it's possible to use a different License tag for each subpackage, do that for mogilefsd.

You're missing a build-time dep, perl(MogileFS::Admin), required by various tests.

Thanks to Patch0, perl(Fcntl) and perl(IO::AIO) are not required.  You may drop those.

And finally, what's the reason for that 'exit 0' in your scriptlets?

Comment 8 Petr Pisar 2013-03-21 17:08:32 UTC
(In reply to comment #7)
> Majority of the files don't mention their license, there's no license on the
> CPAN page and there's no LICENSE or COPYING file either.
>
There is an old home page <http://code.google.com/p/mogilefs/> that refers the whole project as `Artistic License/GPL'. 

> mogilefsd is 'GPLv2 or artistic' +who-knows and mogstored is '(GPLv2 or
> Artistic) and (GPL+ or Artistic)' +who-knows.  Backends have no license at
> all.  I'm not sure if we may assume Perl-like license or if this is okay or
> not. Asking upstream for clarification would help.
>
I sent e-mail to the authors.

> And finally, what's the reason for that 'exit 0' in your scriptlets?
>
Scriptlets are not allowed to fail in general <https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Syntax>.

Comment 9 Petr Pisar 2014-03-10 11:31:21 UTC
I haven't received any response from the upstream.

Comment 10 Jóhann B. Guðmundsson 2014-05-26 10:00:29 UTC
Given that I have left the project and a new individual may or may not continue with systemd integration in the project by submitting new feature following whatever demands FPC and FESCo might have and thus new units in the process I'm closing this and all remaining bugs I had submitted for this particular feature as WONTFIX

Comment 11 Petr Šabata 2015-11-25 16:03:17 UTC
(In reply to Petr Pisar from comment #9)
> I haven't received any response from the upstream.

Still nothing?

Comment 12 Petr Pisar 2015-11-26 07:55:58 UTC
No reply from upstream.

But there were three releases in the mean time and the latest one adds LICENSE file <http://cpansearch.perl.org/src/DORMANDO/MogileFS-Server-2.72/LICENSE> with this content:

License granted to use/distribute under the same terms as Perl itself.

Should I rebase the package, or are you fine with this statement from a future release?

Comment 13 Petr Šabata 2015-11-26 13:16:00 UTC
Just saying `fine' would be the easier way, however, it wouldn't feel right.

Please, rebase the package.  I'll re-review it.

Comment 15 Petr Pisar 2017-03-13 10:53:22 UTC
Aby progress?

Comment 16 Petr Šabata 2017-03-14 15:02:11 UTC
Sorry for the delay; I'll look into it & hopefully finish it sometime this week.

Comment 17 Petr Pisar 2017-04-07 11:44:07 UTC
*** Bug 1439873 has been marked as a duplicate of this bug. ***

Comment 18 Petr Šabata 2017-04-09 22:02:20 UTC
* Several of the listed build dependencies don't appear to be used at build
  time, including:
  - perl(DBD::SQLite)
  - perl(Fcntl)
  - perl(Perlbal)
  - perl(Perlbal::Socket)
  - perl(Perlbal::TCPListener)
  - net-tools

* You could use the NO_PACKLIST feature.

* mogstored is missing some runtime dependencies, namely:
  - perl(Mogstored::ChildProcess::DiskUsage)
  - perl(Mogstored::ChildProcess::IOStat)
  - perl(Pod::Usage)

* Does it make sense to have the None backend in a separate subpackage?

* To me, "Same terms as Perl itself.  Artistic/GPLv2, at your choosing"
  doesn't read as "(GPL+ or Artistic) and (GPLv2 or Artistic)" but more like
  "GPL+ or GPLv2 or Artistic".

* I think the rest is fine.

Comment 19 Petr Pisar 2017-04-12 08:58:59 UTC
(In reply to Petr Šabata from comment #18)
> * Several of the listed build dependencies don't appear to be used at build
>   time, including:
>   - perl(DBD::SQLite)
This is used when running t/store-sqlite.t.

>   - perl(Fcntl)
Removed.

>   - perl(Perlbal)
Removed.

>   - perl(Perlbal::Socket)
Removed.

>   - perl(Perlbal::TCPListener)
Removed.

>   - net-tools
Removed.

> 
> * You could use the NO_PACKLIST feature.
>
Done.
 
> * mogstored is missing some runtime dependencies, namely:
>   - perl(Mogstored::ChildProcess::DiskUsage)
Added.

>   - perl(Mogstored::ChildProcess::IOStat)
Added.

>   - perl(Pod::Usage)
Added.

> * Does it make sense to have the None backend in a separate subpackage?
> 
For the symmetry.

> * To me, "Same terms as Perl itself.  Artistic/GPLv2, at your choosing"
>   doesn't read as "(GPL+ or Artistic) and (GPLv2 or Artistic)" but more like
>   "GPL+ or GPLv2 or Artistic".
> 
I can see your point. My reading of the second sentence is this is an explanation (a wrong one) of the first sentence.

Your reading can be simplified to "GPL+ or Artistic".
My reading can be simplified to "GPLv2 or Artistic".

I will use stricter "GPLv2 or Artistic" that conform to both readings and I will try to ask the author.

Spec URL: https://ppisar.fedorapeople.org/perl-MogileFS-Server/perl-MogileFS-Server.spec
SRPM URL: https://ppisar.fedorapeople.org/perl-MogileFS-Server/perl-MogileFS-Server-2.72-1.fc27.src.rpm

Comment 20 Petr Pisar 2017-04-18 15:02:55 UTC
I received a license clarification from the author. He say "GPL+ or Artistic" it the right interpretation. Updated package is on the same address.

Comment 21 Petr Šabata 2017-04-27 10:45:25 UTC
(In reply to Petr Pisar from comment #19)
> (In reply to Petr Šabata from comment #18)
> > * Several of the listed build dependencies don't appear to be used at build
> >   time, including:
> >   - perl(DBD::SQLite)
> This is used when running t/store-sqlite.t.

Ok, I thought you weren't running the test, probably due to the comment
in %check.

> >   - perl(Fcntl)
> Removed.
> 
> >   - perl(Perlbal)
> Removed.
> 
> >   - perl(Perlbal::Socket)
> Removed.
> 
> >   - perl(Perlbal::TCPListener)
> Removed.
> 
> >   - net-tools
> Removed.

Ack.

> > * You could use the NO_PACKLIST feature.
> >
> Done.

You should also update the EE::MM dependency to require >= 6.76, which is
the version which introduced this feature.

> > * mogstored is missing some runtime dependencies, namely:
> >   - perl(Mogstored::ChildProcess::DiskUsage)
> Added.
> 
> >   - perl(Mogstored::ChildProcess::IOStat)
> Added.
> 
> >   - perl(Pod::Usage)
> Added.

Ack.

> > * Does it make sense to have the None backend in a separate subpackage?
> > 
> For the symmetry.

Ok.

> > * To me, "Same terms as Perl itself.  Artistic/GPLv2, at your choosing"
> >   doesn't read as "(GPL+ or Artistic) and (GPLv2 or Artistic)" but more like
> >   "GPL+ or GPLv2 or Artistic".
> > 
> I can see your point. My reading of the second sentence is this is an
> explanation (a wrong one) of the first sentence.
> 
> Your reading can be simplified to "GPL+ or Artistic".
> My reading can be simplified to "GPLv2 or Artistic".
> 
> I will use stricter "GPLv2 or Artistic" that conform to both readings and I
> will try to ask the author.

Clarified with the next update.

> Spec URL:
> https://ppisar.fedorapeople.org/perl-MogileFS-Server/perl-MogileFS-Server.
> spec
> SRPM URL:
> https://ppisar.fedorapeople.org/perl-MogileFS-Server/perl-MogileFS-Server-2.
> 72-1.fc27.src.rpm

No blockers here.  Approving.

Comment 22 Gwyn Ciesla 2017-04-27 12:40:27 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/perl-MogileFS-Server

Comment 23 Petr Pisar 2017-04-28 05:54:45 UTC
Thank you for the review and the repository. I added the version constraint.


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