Bug 904330 - Review Request: perl-Data-Validate-IP - Ipv4 and ipv6 validation methods
Summary: Review Request: perl-Data-Validate-IP - Ipv4 and ipv6 validation methods
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Petr Šabata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-26 10:05 UTC by Normunds
Modified: 2014-04-03 16:29 UTC (History)
3 users (show)

Fixed In Version: perl-Data-Validate-IP-0.18-1.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-03 16:29:11 UTC
Type: ---
Embargoed:
psabata: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Normunds 2013-01-26 10:05:52 UTC
Spec URL: http://unibackup.rule.lv/FedoraRPM/perl-Data-Validate-IP.spec
SRPM URL: http://unibackup.rule.lv/FedoraRPM/perl-Data-Validate-IP-0.14-1.fc16.src.rpm
Description: This module collects ip validation routines to make input validation, and 
untainting easier and more readable.

All functions return an untainted value if the test passes, and undef if it
fails. This means that you should always check for a defined status explicitly.
Don't assume the return will be true. (e.g. is_username('0'))

The value to test is always the first (and often only) argument.


Fedora Account System Username: normunds

Comment 1 Normunds 2013-01-26 10:18:47 UTC
All packages mentioned below were tested with rpmlint, mock (for i386 arch) and koji (16, 17, 18, 19, rawhide). These are my first packages for Fedora, so if you find something to improve in one of them, don't bother, I'll check other packages for reported problems.

Need sponsor.

bug 903824 perl-Convert-Age.spec
bug 903826 perl-Net-Domain-TLD.spec
bug 903829 perl-Time-Interval.spec
bug 904328 perl-Config-ApacheFormat.spec
bug 904329 perl-Data-Validate-Domain.spec
bug 904330 perl-Data-Validate-IP.spec
bug 904331 perl-Shell.spec

Thanks.

Comment 2 Petr Šabata 2013-01-29 14:47:37 UTC
Removing FE-NEEDSPONSOR.

Comment 3 Normunds 2013-02-04 17:45:44 UTC
Specfiles and packages updated according to lessons learned from the following reviewed bugs:

Bug 903824
bug 903829
bug 904328

Comment 4 Petr Šabata 2013-02-20 15:15:15 UTC
Ok, here are some notes from me :)

> 23 %description
> 24 This module collects ip validation routines to make input validation, and
> 25 untainting easier and more readable.
> 26 
> 27 All functions return an untainted value if the test passes, and undef if it
> 28 fails. This means that you should always check for a defined status explicitly.
> 29 Don't assume the return will be true. (e.g. is_username('0'))
> 30 
> 31 The value to test is always the first (and often only) argument.

I'd keep only the first sentence (lines 24-25), the rest is too technical for a description.  Also, substitute "ip" with "IP address".

> 36 find lib -name "*.pm" -exec chmod -c a-x {} +

Not needed here.  Could be removed.

>   2 Version:        0.14

A new version, 0.18, came out yesterday.  Please, update the package.

Comment 5 Normunds 2013-02-21 11:55:30 UTC
Thank you for your review :) 

 * Description fixed
 * Unneeded chmod a-x removed.
 * Updated to version 0.18, ran tests.
 * Added perl(NetAddr::IP) build dependency as it is required in new module.

Best regards

Comment 6 Petr Šabata 2013-02-21 12:13:29 UTC
(In reply to comment #5)
> Thank you for your review :) 
> 
>  * Description fixed

Ack.

>  * Unneeded chmod a-x removed.

Ack.

>  * Updated to version 0.18, ran tests.

Ack.

>  * Added perl(NetAddr::IP) build dependency as it is required in new module.

Ack, but you'll also need those two:

perl(lib)
perl(Scalar::Util)

Comment 7 Normunds 2013-02-21 12:49:22 UTC
Ugh! How did I miss that?

 * Added build dependencies lib, Scalar::Util
 * Changed Download URI as it was changed.

Thanks :)

Comment 8 Petr Šabata 2013-02-21 12:53:59 UTC
Awesome, approving :)

Comment 9 Normunds 2013-02-21 13:08:58 UTC
Thank you. Requesting CVS.

New Package SCM Request
=======================
Package Name: perl-Data-Validate-IP
Short Description: Perl IP address validation routines
Owners: normunds psabata
Branches: f17 f18
InitialCC: perl-sig

Comment 10 Gwyn Ciesla 2013-02-21 13:25:22 UTC
Git done (by process-git-requests).

Comment 11 Fedora Update System 2013-02-21 15:02:38 UTC
perl-Data-Validate-IP-0.18-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/perl-Data-Validate-IP-0.18-1.fc17

Comment 12 Fedora Update System 2013-02-21 15:18:16 UTC
perl-Data-Validate-IP-0.18-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/perl-Data-Validate-IP-0.18-1.fc18


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