Bug 1139066 - Review Request: jbrout - Photo manager, written in python/pygtk
Summary: Review Request: jbrout - Photo manager, written in python/pygtk
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matěj Cepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-07 22:56 UTC by Matěj Cepl
Modified: 2018-04-11 13:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-10-23 18:27:09 UTC
Type: ---
Embargoed:
dev: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Matěj Cepl 2014-09-07 22:56:48 UTC
Spec URL: http://mcepl.fedorapeople.org/tmp/jbrout.spec
SRPM URL: http://mcepl.fedorapeople.org/tmp/jbrout-0.3.338-0.10.svn338.fc21.src.rpm
Description: 
jBrout is able to : * manage albums/photos (= folders/files) * tag photos with IPTC keywords * use internal jpeg thumbnail * comment photos (with jpeg comment) and album (textfile in folder) * rotate loss-less jpeg (and internal jpeg thumbnail) use EXIF info (date, size ..) * search pictures (tags, comment, date, ...) (not implemented yet) * use plugins (to export to html/gallery, to act like a httpserver, to export pictures to be mailed, ...) * work without database ! (just a xmlfile which can be rebuild from scratch) * handle a lot of photos (jbrout's author claims to have more than 20000 of them) * upload photos to a flickr account * ...
Fedora Account System Username:mcepl

Builds in koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=7541416

Comment 1 Florian "der-flo" Lehner 2014-09-09 18:48:54 UTC
hi Matěj!


Package Review
==============

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


Issues:
=======
[ ] Package contains BR: python2-devel or python3-devel
[ ] Package do not use a name that already exist
    Note: A package already exist with this name, please check
    https://admin.fedoraproject.org/pkgdb/acls/name/jbrout
    See: https://fedoraproject.org/wiki/Packaging/NamingGuidelines#Conflicting_Package_Names
   ---> Do you want to retire it?
[ ] Please remove the ls in %build
[ ] You missed to add your changes in the %changelog
[ ] From lint:
    jbrout.noarch: E: non-executable-script /usr/share/jbrout/jbrout/pyexiv.py.noPyexiv2Warn 0644L /usr/bin/env



===== 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.
[-]: 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 %doc.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "*No copyright* GPL (v2 or later)", "GPL (v2)", "Unknown or generated".
[x]: Package contains no bundled libraries without FPC exception.
[!]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: 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).
[!]: 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.
[x]: 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 30720 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]: 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]: Package contains desktop file if it is a GUI application.
[x]: Package installs a %{name}.desktop using desktop-file-install or desktop-
     file-validate if there is such a file.
[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 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

Python:
[x]: Python eggs must not download any dependencies during the build process.
[x]: A package which is used by another package via an egg interface should
     provide egg info.
[x]: Package meets the Packaging Guidelines::Python
[x]: Binary eggs must be removed in %prep

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

Generic:
[!]: Uses parallel make %{?_smp_mflags} macro.
[-]: 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.
[x]: Patches link to upstream bugs/comments/lists or are otherwise justified.
[x]: SourceX tarball generation or download is documented.
     Note: Package contains tarball without URL, check comments
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
   ---> http://koji.fedoraproject.org/koji/taskinfo?taskID=7557773
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[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]: Dist tag is present (not strictly required in GL).
     Note: Multiple Release: tags found
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[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: jbrout-0.3.338-0.10.svn338.fc22.noarch.rpm
          jbrout-0.3.338-0.10.svn338.fc22.src.rpm
jbrout.noarch: W: spelling-error Summary(en_US) pygtk -> Pygmy
jbrout.noarch: W: spelling-error %description -l en_US jpeg -> peg, j peg, Peg
jbrout.noarch: W: spelling-error %description -l en_US textfile -> textile, text file, text-file
jbrout.noarch: W: spelling-error %description -l en_US html -> HTML, ht ml, ht-ml
jbrout.noarch: W: spelling-error %description -l en_US httpserver -> timeserver
jbrout.noarch: W: spelling-error %description -l en_US xmlfile -> misfile
jbrout.noarch: W: spelling-error %description -l en_US flickr -> flick, flicker, flicks
jbrout.noarch: W: invalid-url URL: http://jbrout.manatlan.com/ HTTP Error 405: Method Not Allowed
jbrout.noarch: E: non-executable-script /usr/share/jbrout/jbrout/pyexiv.py.noPyexiv2Warn 0644L /usr/bin/env
jbrout.noarch: W: no-manual-page-for-binary jbrout
jbrout.src: W: spelling-error Summary(en_US) pygtk -> Pygmy
jbrout.src: W: spelling-error %description -l en_US jpeg -> peg, j peg, Peg
jbrout.src: W: spelling-error %description -l en_US textfile -> textile, text file, text-file
jbrout.src: W: spelling-error %description -l en_US html -> HTML, ht ml, ht-ml
jbrout.src: W: spelling-error %description -l en_US httpserver -> timeserver
jbrout.src: W: spelling-error %description -l en_US xmlfile -> misfile
jbrout.src: W: spelling-error %description -l en_US flickr -> flick, flicker, flicks
jbrout.src: W: invalid-url URL: http://jbrout.manatlan.com/ HTTP Error 405: Method Not Allowed
jbrout.src:16: W: macro-in-comment %{revno}
jbrout.src: W: invalid-url Source0: jbrout.tar.xz
2 packages and 0 specfiles checked; 1 errors, 19 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint jbrout
jbrout.noarch: W: spelling-error Summary(en_US) pygtk -> Pygmy
jbrout.noarch: W: spelling-error %description -l en_US jpeg -> peg, j peg, Peg
jbrout.noarch: W: spelling-error %description -l en_US textfile -> textile, text file, text-file
jbrout.noarch: W: spelling-error %description -l en_US html -> HTML, ht ml, ht-ml
jbrout.noarch: W: spelling-error %description -l en_US httpserver -> timeserver
jbrout.noarch: W: spelling-error %description -l en_US xmlfile -> misfile
jbrout.noarch: W: spelling-error %description -l en_US flickr -> flick, flicker, flicks
jbrout.noarch: W: invalid-url URL: http://jbrout.manatlan.com/ HTTP Error 405: Method Not Allowed
jbrout.noarch: E: non-executable-script /usr/share/jbrout/jbrout/pyexiv.py.noPyexiv2Warn 0644L /usr/bin/env
jbrout.noarch: W: no-manual-page-for-binary jbrout
1 packages and 0 specfiles checked; 1 errors, 9 warnings.
# echo 'rpmlint-done:'



Requires
--------
jbrout (rpmlib, GLIBC filtered):
    /bin/sh
    fbida
    perl-Image-ExifTool
    pyexiv2
    pygtk2
    python
    python-gdata
    python-imaging
    python-lxml



Provides
--------
jbrout:
    application()
    application(jbrout.desktop)
    jbrout



Generated by fedora-review 0.5.2 (63c24cb) last change: 2014-07-14
Command line :/usr/bin/fedora-review -m fedora-rawhide-x86_64 -b 1139066
Buildroot used: fedora-rawhide-x86_64
Active plugins: Python, Generic, Shell-api
Disabled plugins: Java, C/C++, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, EPEL5, BATCH, DISTTAG

Comment 2 Florian "der-flo" Lehner 2014-09-25 18:35:08 UTC
hi Matěj!

Are you still interessted in a review?

Cheers,
 Florian

Comment 3 Matěj Cepl 2014-09-25 22:38:13 UTC
Surely, I have:

New src.rpm is http://mcepl.fedorapeople.org/tmp/jbrout-0.3.338-0.11.svn338.el7.src.rpm and SPEC file http://mcepl.fedorapeople.org/tmp/jbrout.spec

Comment 4 Florian "der-flo" Lehner 2014-09-26 15:09:42 UTC
Package Review
==============

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


Issues:
=======
- Package contains BR: python2-devel or python3-devel
- Package do not use a name that already exist
  Note: A package already exist with this name, please check
  https://admin.fedoraproject.org/pkgdb/acls/name/jbrout
  See:
  https://fedoraproject.org/wiki/Packaging/NamingGuidelines#Conflicting_Package_Names


===== 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.
[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 %doc.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. 
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: 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.
[!]: Requires correct, justified where necessary.
   ---> see listed issue above and output of rpmlint
[x]: Spec file is legible and written in American English.
[x]: Package contains systemd file(s) if in need.
[x]: 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 30720 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]: 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]: Package contains desktop file if it is a GUI application.
[x]: Package installs a %{name}.desktop using desktop-file-install or desktop-
     file-validate if there is such a file.
[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 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

Python:
[x]: Python eggs must not download any dependencies during the build process.
[-]: A package which is used by another package via an egg interface should
     provide egg info.
[!]: Package meets the Packaging Guidelines::Python
   ---> see listed issue above and output of rpmlint
[x]: Binary eggs must be removed in %prep

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

Generic:
[!]: Uses parallel make %{?_smp_mflags} macro.
   ---> ok for this package
[-]: 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.
[x]: Patches link to upstream bugs/comments/lists or are otherwise justified.
[x]: SourceX tarball generation or download is documented.
     Note: Package contains tarball without URL, check comments
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
   ---> http://koji.fedoraproject.org/koji/taskinfo?taskID=7702866
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[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]: Dist tag is present (not strictly required in GL).
     Note: Multiple Release: tags found
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[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: jbrout-0.3.338-0.11.svn338.fc22.noarch.rpm
          jbrout-0.3.338-0.11.svn338.fc22.src.rpm
jbrout.noarch: E: devel-dependency python2-devel
jbrout.noarch: W: spelling-error Summary(en_US) pygtk -> Pygmy
jbrout.noarch: W: spelling-error %description -l en_US jpeg -> peg, j peg, Peg
jbrout.noarch: W: spelling-error %description -l en_US textfile -> textile, text file, text-file
jbrout.noarch: W: spelling-error %description -l en_US html -> HTML, ht ml, ht-ml
jbrout.noarch: W: spelling-error %description -l en_US httpserver -> timeserver
jbrout.noarch: W: spelling-error %description -l en_US xmlfile -> misfile
jbrout.noarch: W: spelling-error %description -l en_US flickr -> flick, flicker, flicks
jbrout.noarch: W: invalid-url URL: http://jbrout.manatlan.com/ HTTP Error 405: Method Not Allowed
jbrout.noarch: W: no-manual-page-for-binary jbrout
jbrout.src: W: spelling-error Summary(en_US) pygtk -> Pygmy
jbrout.src: W: spelling-error %description -l en_US jpeg -> peg, j peg, Peg
jbrout.src: W: spelling-error %description -l en_US textfile -> textile, text file, text-file
jbrout.src: W: spelling-error %description -l en_US html -> HTML, ht ml, ht-ml
jbrout.src: W: spelling-error %description -l en_US httpserver -> timeserver
jbrout.src: W: spelling-error %description -l en_US xmlfile -> misfile
jbrout.src: W: spelling-error %description -l en_US flickr -> flick, flicker, flicks
jbrout.src: W: invalid-url URL: http://jbrout.manatlan.com/ HTTP Error 405: Method Not Allowed
jbrout.src:16: W: macro-in-comment %{revno}
jbrout.src: W: invalid-url Source0: jbrout.tar.xz
2 packages and 0 specfiles checked; 1 errors, 19 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint jbrout
jbrout.noarch: E: devel-dependency python2-devel
jbrout.noarch: W: spelling-error Summary(en_US) pygtk -> Pygmy
jbrout.noarch: W: spelling-error %description -l en_US jpeg -> peg, j peg, Peg
jbrout.noarch: W: spelling-error %description -l en_US textfile -> textile, text file, text-file
jbrout.noarch: W: spelling-error %description -l en_US html -> HTML, ht ml, ht-ml
jbrout.noarch: W: spelling-error %description -l en_US httpserver -> timeserver
jbrout.noarch: W: spelling-error %description -l en_US xmlfile -> misfile
jbrout.noarch: W: spelling-error %description -l en_US flickr -> flick, flicker, flicks
jbrout.noarch: W: invalid-url URL: http://jbrout.manatlan.com/ HTTP Error 405: Method Not Allowed
jbrout.noarch: W: no-manual-page-for-binary jbrout
1 packages and 0 specfiles checked; 1 errors, 9 warnings.
# echo 'rpmlint-done:'



Requires
--------
jbrout (rpmlib, GLIBC filtered):
    /bin/sh
    fbida
    perl-Image-ExifTool
    pyexiv2
    pygtk2
    python
    python-gdata
    python-imaging
    python-lxml
    python2-devel



Provides
--------
jbrout:
    application()
    application(jbrout.desktop)
    jbrout



Generated by fedora-review 0.5.2 (63c24cb) last change: 2014-07-14
Command line :/usr/bin/fedora-review -m fedora-rawhide-x86_64 -b 1139066
Buildroot used: fedora-rawhide-x86_64
Active plugins: Python, Generic, Shell-api
Disabled plugins: Java, C/C++, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, EPEL5, BATCH, DISTTAG


===== Solution =====
    NOT APPROVED

Comment 5 Matěj Cepl 2014-09-26 15:26:25 UTC
(In reply to Florian "der-flo" Lehner from comment #4)
> Issues:
> =======
> - Package contains BR: python2-devel or python3-devel

I don’t understand what’s the problem.
https://fedoraproject.org/wiki/Packaging:Python says:

    To build a package containing python2 files, you need to have

    > BuildRequires: python2-devel

    Similarly, when building a package which ships python3 files, you
    need

    > BuildRequires: python3-devel

    A package that has both python2 and python3 files will need to
    BuildRequire both.

What’s wrong with it?

> - Package do not use a name that already exist
>   Note: A package already exist with this name, please check
>   https://admin.fedoraproject.org/pkgdb/acls/name/jbrout

This is a revival of once killed package. I am the owner of jbrout
package.

Comment 6 Florian "der-flo" Lehner 2014-09-26 15:39:52 UTC
hi Matěj!

You listed python2-devel in Requires. Please move it to BuildRequires.

> This is a revival of once killed package. I am the owner of jbrout
> package.

I've noticed that you are the package owner. So this is not a blocker.

Cheers, 
 Flo

Comment 7 Matěj Cepl 2014-09-26 21:57:54 UTC
(In reply to Florian "der-flo" Lehner from comment #6)
> hi Matěj!
> 
> You listed python2-devel in Requires. Please move it to BuildRequires.

D'OH http://mcepl.fedorapeople.org/tmp/jbrout-0.3.338-0.12.svn338.fc21.src.rpm
http://mcepl.fedorapeople.org/tmp/jbrout.spec

Builds in koji http://koji.fedoraproject.org/koji/taskinfo?taskID=7707013

Comment 8 Florian "der-flo" Lehner 2014-09-27 08:24:57 UTC
hi Matěj!

It looks fine, so I approve it.

Cheers,
 Flo

For the records:
http://koji.fedoraproject.org/koji/taskinfo?taskID=7708167

Comment 9 Matěj Cepl 2014-09-30 16:12:55 UTC
Package Change Request
======================
Package Name: jbrout
New Branches: f21 epel7
Owners: mcepl
InitialCC:

Comment 10 Gwyn Ciesla 2014-09-30 20:00:41 UTC
Git done (by process-git-requests).

Comment 11 Matěj Cepl 2014-10-23 18:27:09 UTC
This should be closed a long time ago.

http://koji.fedoraproject.org/koji/packageinfo?packageID=6382


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