Bug 1265329 - Review Request: nodejs-parse-json - Parse JSON with more helpful errors
Summary: Review Request: nodejs-parse-json - Parse JSON with more helpful errors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jared Smith
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1265326
Blocks: nodejs-reviews 1261475
TreeView+ depends on / blocked
 
Reported: 2015-09-22 16:42 UTC by Parag Nemade
Modified: 2015-12-14 10:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-14 10:22:45 UTC
Type: ---
Embargoed:
jsmith.fedora: fedora-review+


Attachments (Terms of Use)

Description Parag Nemade 2015-09-22 16:42:12 UTC
Spec URL: http://pnemade.fedorapeople.org/fedora-work/nodejs-parse-json.spec
SRPM URL: http://pnemade.fedorapeople.org/fedora-work/nodejs-parse-json-2.2.0-1.fc23.src.rpm

Description:
Parse JSON with more helpful errors.

Comment 1 Parag Nemade 2015-09-22 16:42:17 UTC
This package built on koji:  http://koji.fedoraproject.org/koji/taskinfo?taskID=11181180

Comment 2 Jared Smith 2015-10-29 02:23:26 UTC
Package Review
==============
Package is *not yet* approved.  Please adjust the license to specify that the code is licensed under the MIT *and* WTFPL licenses.  (vendor/parse.js is definitely under WTFPL).

Other than that, the packaging looks good.  I will approve it once you've made the licensing change.


Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed



===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[!]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "MIT/X11 (BSD like)", "*No copyright* WTFPL", "Unknown or
     generated". 
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[-]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 1 files.
[!]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: nodejs-parse-json-2.2.0-1.fc24.noarch.rpm
          nodejs-parse-json-2.2.0-1.fc24.src.rpm
nodejs-parse-json.noarch: W: only-non-binary-in-usr-lib
nodejs-parse-json.noarch: W: dangling-symlink /usr/lib/node_modules/parse-json/node_modules/error-ex /usr/lib/node_modules/error-ex
2 packages and 0 specfiles checked; 0 errors, 2 warnings.




Rpmlint (installed packages)
----------------------------
sh: /usr/bin/python: No such file or directory
nodejs-parse-json.noarch: W: only-non-binary-in-usr-lib
nodejs-parse-json.noarch: W: dangling-symlink /usr/lib/node_modules/parse-json/node_modules/error-ex /usr/lib/node_modules/error-ex
1 packages and 0 specfiles checked; 0 errors, 2 warnings.



Requires
--------
nodejs-parse-json (rpmlib, GLIBC filtered):
    nodejs(engine)
    npm(error-ex)



Provides
--------
nodejs-parse-json:
    nodejs-parse-json
    npm(parse-json)



Source checksums
----------------
https://github.com/sindresorhus/parse-json/archive/v2.2.0.tar.gz#/parse-json-v2.2.0.tar.gz :
  CHECKSUM(SHA256) this package     : d6a344c7c5d21c57379a0d10727d3a9d6138d13e83e5bd760178571ff67e86dc
  CHECKSUM(SHA256) upstream package : d6a344c7c5d21c57379a0d10727d3a9d6138d13e83e5bd760178571ff67e86dc


Generated by fedora-review 0.6.0 (3c5c9d7) last change: 2015-05-20
Command line :/usr/bin/fedora-review -b 1265329
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 3 Parag Nemade 2015-10-29 12:29:21 UTC
Thanks for the above review. I have fixed this license tag in below update

Spec URL: http://pnemade.fedorapeople.org/fedora-work/nodejs-parse-json.spec
SRPM URL: http://pnemade.fedorapeople.org/fedora-work/nodejs-parse-json-2.2.0-2.fc23.src.rpm

Comment 4 Jared Smith 2015-11-02 04:18:13 UTC
Package is approved.  Thanks for packaging this up for Fedora.

Comment 5 Gwyn Ciesla 2015-11-02 14:16:32 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/nodejs-parse-json

Comment 6 Parag Nemade 2015-11-27 04:36:10 UTC
Built for requested packages now.

Comment 7 Fedora Update System 2015-11-27 05:05:14 UTC
nodejs-parse-json-2.2.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-65e996193d

Comment 8 Fedora Update System 2015-11-27 05:05:26 UTC
nodejs-parse-json-2.2.0-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-e42511d6fe

Comment 9 Fedora Update System 2015-11-28 00:21:57 UTC
nodejs-parse-json-2.2.0-2.el7 has been pushed to the Fedora EPEL 7 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=epel-testing update nodejs-parse-json'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-e42511d6fe

Comment 10 Fedora Update System 2015-11-28 02:20:15 UTC
nodejs-parse-json-2.2.0-2.fc23 has been pushed to the Fedora 23 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 'dnf --enablerepo=updates-testing update nodejs-parse-json'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-65e996193d

Comment 11 Fedora Update System 2015-12-14 10:22:43 UTC
nodejs-parse-json-2.2.0-2.fc23 has been pushed to the Fedora 23 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.