Bug 1154213 - Review Request: python-structlog - Painless structural logging
Summary: Review Request: python-structlog - Painless structural logging
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Parag AN(पराग)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1154743
Blocks: 1154218
TreeView+ depends on / blocked
 
Reported: 2014-10-17 22:00 UTC by Piotr Popieluch
Modified: 2014-12-20 00:17 UTC (History)
2 users (show)

Fixed In Version: python-structlog-0.4.2-5.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-10 17:52:46 UTC
Type: ---
Embargoed:
panemade: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Piotr Popieluch 2014-10-17 22:00:36 UTC
Spec URL: http://vps533.directvps.nl/python-structlog.spec
SRPM URL: http://vps533.directvps.nl/python-structlog-0.4.2-1.fc20.src.rpm

Description: Structlog makes structured logging in Python easy by augmenting your existing logger. It allows you to split your log entries up into key/value pairs and build them incrementally without annoying boilerplate code.

Fedora Account System Username: piotrp

Koji builds:
rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=7900108
f22: http://koji.fedoraproject.org/koji/taskinfo?taskID=7900112
f21: http://koji.fedoraproject.org/koji/taskinfo?taskID=7900129
f20: http://koji.fedoraproject.org/koji/taskinfo?taskID=7900132
f19: http://koji.fedoraproject.org/koji/taskinfo?taskID=7900135
epel7: http://koji.fedoraproject.org/koji/taskinfo?taskID=7900161


This is my first package, I need a sponsor. Thanks!

Comment 1 Dominik 'Rathann' Mierzejewski 2014-10-20 11:07:41 UTC
A couple of quick comments:

http://www.structlog.org/en/0.4.2/
[...]
structlog targets Python 2.6, 2.7, 3.2, 3.3, and PyPy with no additional dependencies for core functionality.

Please consider building a python3 subpackage as well if you can at least test if it works properly.

Either way, please use %{__python2} instead of  %{__python}.

The upstream source contains a test suite. Please run it in %check.

Comment 2 Piotr Popieluch 2014-10-20 16:34:21 UTC
Thanks for reviewing. 

I've updated the spec to create both python2 and python3. 

I've also added the %check section which introduced a new missing library, python-pretend, see https://bugzilla.redhat.com/show_bug.cgi?id=1154743

Spec URL: http://vps533.directvps.nl/python-structlog.spec
SRPM URL: http://vps533.directvps.nl/python-structlog-0.4.2-2.fc20.src.rpm

I've also done two more reviews:
https://bugzilla.redhat.com/show_bug.cgi?id=1147351
https://bugzilla.redhat.com/show_bug.cgi?id=1150734

Comment 3 Parag AN(पराग) 2014-10-28 12:12:42 UTC

Review:

+ Package built successful in mock (f22 x86_64)

+ rpmlint on generated rpms gave output
3 packages and 0 specfiles checked; 0 errors, 0 warnings.

+ Source verified with upstream as sha256sum
srpm tarball: 45a6e7ba0e1f335822cf24e14b95d9590fe13e9e2a6abe58a099638037e84377
upstream tarball: 45a6e7ba0e1f335822cf24e14b95d9590fe13e9e2a6abe58a099638037e84377

+ License is ASL 2.0 and included in LICENSE file

+ follow python packaging guidelines

Suggestions:
1) Group tag is optional

2) License tag is missing for python3-structlog sub-package

3) %files section should be more verbose like in your other approved packages.

Comment 4 Piotr Popieluch 2014-10-28 20:40:44 UTC
Thanks for the review

- Removed group
- Removed shipped .egg-info
- Added license to python3 package
- Made %%files section more verbose
- Replaced %%{python_sitelib} with %%{python2_sitelib}

bumped to release 3:

Spec URL: http://vps533.directvps.nl/python-structlog.spec
SRPM URL: http://vps533.directvps.nl/python-structlog-0.4.2-3.fc20.src.rpm

Comment 5 Parag AN(पराग) 2014-10-30 07:47:56 UTC
Looks good

APPROVED.

Comment 6 Piotr Popieluch 2014-10-30 07:54:21 UTC
New Package SCM Request
=======================
Package Name: python-structlog
Short Description: Painless structural logging
Upstream URL: http://www.structlog.org/
Owners: piotrp
Branches: f19 f20 f21
InitialCC: piotrp

Comment 7 Gwyn Ciesla 2014-10-30 12:25:09 UTC
Git done (by process-git-requests).

Comment 8 Fedora Update System 2014-11-08 09:15:29 UTC
python-structlog-0.4.2-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-structlog-0.4.2-3.fc20

Comment 9 Fedora Update System 2014-11-10 06:22:07 UTC
python-structlog-0.4.2-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-structlog-0.4.2-3.fc21

Comment 10 Fedora Update System 2014-11-10 06:40:25 UTC
python-structlog-0.4.2-3.fc20 has been pushed to the Fedora 20 testing repository.

Comment 11 Fedora Update System 2014-11-16 14:43:24 UTC
python-structlog-0.4.2-3.fc21 has been pushed to the Fedora 21 stable repository.

Comment 12 Fedora Update System 2014-11-18 12:20:41 UTC
python-structlog-0.4.2-3.fc20 has been pushed to the Fedora 20 stable repository.

Comment 13 Piotr Popieluch 2014-11-22 10:43:13 UTC
Package Change Request
======================
Package Name: python-structlog
New Branches: el6 epel7
Owners: piotrp

Comment 14 Gwyn Ciesla 2014-11-24 13:39:58 UTC
Git done (by process-git-requests).

Comment 15 Fedora Update System 2014-12-04 20:17:15 UTC
python-structlog-0.4.2-5.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/python-structlog-0.4.2-5.el7

Comment 16 Fedora Update System 2014-12-04 21:24:38 UTC
python-structlog-0.4.2-5.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-structlog-0.4.2-5.el6

Comment 17 Fedora Update System 2014-12-20 00:16:44 UTC
python-structlog-0.4.2-5.el6 has been pushed to the Fedora EPEL 6 stable repository.

Comment 18 Fedora Update System 2014-12-20 00:17:22 UTC
python-structlog-0.4.2-5.el7 has been pushed to the Fedora EPEL 7 stable repository.


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