Bug 1093186 - Review Request: puppet-gluster - A puppet module for GlusterFS
Summary: Review Request: puppet-gluster - A puppet module for GlusterFS
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Patrick Uiterwijk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-30 20:54 UTC by Andrea Veri
Modified: 2019-02-28 12:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-02-28 12:09:18 UTC
Type: ---
Embargoed:
puiterwijk: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Andrea Veri 2014-04-30 20:54:54 UTC
Spec URL: http://averi.fedorapeople.org//puppet-gluster.spec
SRPM URL: http://averi.fedorapeople.org//puppet-gluster-0.0.2-1.fc20.src.rpm

Description:
A puppet module used for installing, configuring and managing GlusterFS.

Comment 2 Patrick Uiterwijk 2014-05-03 11:49:30 UTC
Please make sure that you actually upload the SRPM and that the URL is correct.

Comment 4 Patrick Uiterwijk 2014-05-03 12:35:40 UTC
Package Review
==============

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


Issues:
=======
- Package installs properly.
  Note: Installation errors (see attachment)
  See: https://fedoraproject.org/wiki/Packaging:Guidelines
- Package does not own all of its directories:
     Note: No known owner of /usr/share/puppet/modules/gluster,
     /usr/share/puppet/modules/gluster/files,
     /usr/share/puppet/modules/gluster/manifests,
     /usr/share/puppet/modules/gluster/templates,
     /usr/share/puppet/modules/gluster/builder,
     /usr/share/puppet/modules/gluster/vagrant,
     /usr/share/puppet/modules/gluster/lib
- Package does not require all packages it needs: the puppet-gluster-vagrant needs Vagrant (which unpackages) to be of any use
- Package contains bundled "libraries": even worse, it contains bundled RPMS in the builder/ directory!
- Large documentation is in main package: the puppet-gluster-documentation.pdf should DEFENITELY go into a -doc subpackage, maybe some other doc files as well
- Installation fails: the -vagrant subpackage requires the root package WITH %{?_isa}, which is not going to work with noarch packages
- Package does NOT preserve timestamps with the copy actions
- Upstream includes a way to recreate the PDF from the DOCUMENTATION.md sources, please use that to create the pdf so we don't ship binary stuff from the sources
- Spec file mixes tabs and spaces. Please use either spaces or tabs, but not both:
  Examples: Line 3 uses tab, line 17 uses spaces




===== 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]: License field in the package spec file matches the actual license.
[x]: License file installed when any subpackage combination is installed.
[!]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/share/puppet/modules/gluster,
     /usr/share/puppet/modules/gluster/files,
     /usr/share/puppet/modules/gluster/manifests,
     /usr/share/puppet/modules/gluster/templates,
     /usr/share/puppet/modules/gluster/builder,
     /usr/share/puppet/modules/gluster/vagrant,
     /usr/share/puppet/modules/gluster/lib
[!]: Package must own all directories that it creates.
     Note: Directories without known owners:
     /usr/share/puppet/modules/gluster,
     /usr/share/puppet/modules/gluster/files,
     /usr/share/puppet/modules/gluster/templates, /usr/share/puppet/modules,
     /usr/share/puppet/modules/gluster/manifests,
     /usr/share/puppet/modules/gluster/lib,
     /usr/share/puppet/modules/gluster/vagrant,
     /usr/share/puppet/modules/gluster/builder, /usr/share/puppet
[!]: 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.
[!]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 327680 bytes in 14 files.
[!]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[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 %doc.
[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 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 do not use a name that already exist
[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
[-]: 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).
[!]: Fully versioned dependency in subpackages if applicable.
[-]: 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.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[!]: 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]: Dist tag is present (not strictly required in GL).
[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:
[!]: Rpmlint is run on all installed packages.
     Note: Mock build failed
     See: http://fedoraproject.org/wiki/Packaging/Guidelines#rpmlint
[x]: Spec file according to URL is the same as in SRPM.


Installation errors
-------------------
INFO: mock.py version 1.1.38 starting...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Mock Version: 1.1.38
INFO: Mock Version: 1.1.38
Start: lock buildroot
INFO: installing package(s): /home/puiterwijk/Documents/Development/Fedora/Review/1093186-puppet-gluster/results/puppet-gluster-0.0.2-1.fc20.noarch.rpm /home/puiterwijk/Documents/Development/Fedora/Review/1093186-puppet-gluster/results/puppet-gluster-vagrant-0.0.2-1.fc20.noarch.rpm
ERROR: Command failed: 
 # ['/usr/bin/yum', '--installroot', '/var/lib/mock/fedora-20-x86_64/root/', '--releasever', '20', 'install', '/home/puiterwijk/Documents/Development/Fedora/Review/1093186-puppet-gluster/results/puppet-gluster-0.0.2-1.fc20.noarch.rpm', '/home/puiterwijk/Documents/Development/Fedora/Review/1093186-puppet-gluster/results/puppet-gluster-vagrant-0.0.2-1.fc20.noarch.rpm', '--setopt=tsflags=nocontexts']
Error: Package: puppet-gluster-vagrant-0.0.2-1.fc20.noarch (/puppet-gluster-vagrant-0.0.2-1.fc20.noarch)
           Requires: puppet-gluster(x86-64) = 0.0.2-1.fc20
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest



Rpmlint
-------
Checking: puppet-gluster-0.0.2-1.fc20.noarch.rpm
          puppet-gluster-vagrant-0.0.2-1.fc20.noarch.rpm
          puppet-gluster-0.0.2-1.fc20.src.rpm
puppet-gluster-vagrant.noarch: W: no-documentation
puppet-gluster.src:25: W: setup-not-quiet
puppet-gluster.src:17: W: mixed-use-of-spaces-and-tabs (spaces: line 17, tab: line 3)
3 packages and 0 specfiles checked; 0 errors, 3 warnings.




Requires
--------
puppet-gluster (rpmlib, GLIBC filtered):
    /usr/bin/python
    puppet

puppet-gluster-vagrant (rpmlib, GLIBC filtered):
    /bin/bash
    puppet-gluster(x86-64)



Provides
--------
puppet-gluster:
    puppet-gluster

puppet-gluster-vagrant:
    puppet-gluster-vagrant



Source checksums
----------------
https://download.gluster.org/pub/gluster/purpleidea/puppet-gluster/SOURCES/puppet-gluster-0.0.2.tar.bz2 :
  CHECKSUM(SHA256) this package     : fa0e484c85addbe89521f63963d761452937b307c4d7f00b71d5f81d2ed127dd
  CHECKSUM(SHA256) upstream package : fa0e484c85addbe89521f63963d761452937b307c4d7f00b71d5f81d2ed127dd


Generated by fedora-review 0.5.1 (bb9bf27) last change: 2013-12-13
Command line :/usr/bin/fedora-review -b 1093186
Buildroot used: fedora-20-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, EPEL5, BATCH, DISTTAG

Comment 5 Patrick Uiterwijk 2014-05-03 12:40:08 UTC
s/unpackages/is unpackaged/

Comment 7 Patrick Uiterwijk 2014-05-03 22:52:54 UTC
Package looks fine to me like this.


APPROVED

Comment 8 Andrea Veri 2014-05-03 22:56:37 UTC
New Package SCM Request
=======================
Package Name: puppet-gluster
Short Description: A Puppet module for GlusterFS
Owners: averi
Branches: el6 f20
InitialCC: averi

Comment 9 Gwyn Ciesla 2014-05-05 11:41:57 UTC
Git done (by process-git-requests).

Comment 10 Fedora Update System 2014-05-05 13:23:31 UTC
puppet-gluster-0.0.2-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/puppet-gluster-0.0.2-2.fc20

Comment 11 Fedora Update System 2014-05-05 13:23:46 UTC
puppet-gluster-0.0.2-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/puppet-gluster-0.0.2-2.el6

Comment 12 Fedora Update System 2014-05-06 00:01:59 UTC
puppet-gluster-0.0.2-2.el6 has been pushed to the Fedora EPEL 6 testing repository.

Comment 13 Fedora Update System 2014-05-07 16:33:37 UTC
puppet-gluster-0.0.3-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/puppet-gluster-0.0.3-1.el6

Comment 14 Fedora Update System 2014-05-07 16:33:45 UTC
puppet-gluster-0.0.3-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/puppet-gluster-0.0.3-1.fc20

Comment 15 Fedora Update System 2014-05-18 22:56:06 UTC
puppet-gluster-0.0.3-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2014-05-27 19:13:02 UTC
puppet-gluster-0.0.3-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Kamil Páral 2019-02-28 12:09:18 UTC
The package is in Fedora, I believe this should be closed.


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