Bug 1645178
| Summary: | Package Review: puppet-placement | ||
|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Lee Yarwood <lyarwood> |
| Component: | Package Review | Assignee: | Javier Peña <jpena> |
| Status: | CLOSED RAWHIDE | QA Contact: | hguemar |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | trunk | CC: | jpena, ykarel |
| Target Milestone: | Milestone2 | Flags: | jpena:
rdo-review+
|
| Target Release: | trunk | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-04-25 14:47:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1631251 | ||
| Bug Blocks: | 1635742 | ||
|
Description
Lee Yarwood
2018-11-01 14:39:43 UTC
Initial licensecheck output: $ licensecheck -r . ./.gitreview: *No copyright* UNKNOWN ./.zuul.yaml: *No copyright* UNKNOWN ./Gemfile: *No copyright* UNKNOWN ./LICENSE: *No copyright* Apache (v2.0) ./README.md: *No copyright* UNKNOWN ./Rakefile: *No copyright* UNKNOWN ./bindep.txt: *No copyright* UNKNOWN ./metadata.json: *No copyright* UNKNOWN ./setup.cfg: *No copyright* Apache ./setup.py: Apache (v2.0) GENERATED FILE ./tox.ini: *No copyright* UNKNOWN ./doc/requirements.txt: *No copyright* UNKNOWN ./manifests/config.pp: *No copyright* UNKNOWN ./manifests/db.pp: *No copyright* UNKNOWN ./manifests/deps.pp: *No copyright* UNKNOWN ./manifests/generic_service.pp: *No copyright* UNKNOWN ./manifests/init.pp: *No copyright* UNKNOWN ./manifests/logging.pp: *No copyright* UNKNOWN ./manifests/params.pp: *No copyright* UNKNOWN ./manifests/policy.pp: *No copyright* UNKNOWN ./spec/shared_examples.rb: *No copyright* UNKNOWN ./spec/spec_helper.rb: *No copyright* UNKNOWN ./spec/spec_helper_acceptance.rb: *No copyright* UNKNOWN ./manifests/db/mysql.pp: UNKNOWN ./manifests/db/postgresql.pp: UNKNOWN ./manifests/db/sync.pp: *No copyright* UNKNOWN ./manifests/keystone/auth.pp: *No copyright* UNKNOWN ./manifests/keystone/authtoken.pp: *No copyright* UNKNOWN ./manifests/wsgi/apache.pp: Apache (v2.0) ./releasenotes/source/conf.py: *No copyright* Apache (v2.0) GENERATED FILE ./releasenotes/source/index.rst: *No copyright* UNKNOWN ./releasenotes/source/unreleased.rst: *No copyright* UNKNOWN ./spec/classes/placement_config_spec.rb: *No copyright* UNKNOWN ./spec/classes/placement_db_mysql_spec.rb: *No copyright* UNKNOWN ./spec/classes/placement_db_postgresql_spec.rb: *No copyright* UNKNOWN ./spec/classes/placement_db_spec.rb: *No copyright* UNKNOWN ./spec/classes/placement_db_sync_spec.rb: *No copyright* UNKNOWN ./spec/classes/placement_keystone_auth_spec.rb: *No copyright* UNKNOWN ./spec/classes/placement_keystone_authtoken_spec.rb: *No copyright* UNKNOWN ./spec/classes/placement_logging_spec.rb: *No copyright* UNKNOWN ./spec/classes/placement_policy_spec.rb: *No copyright* UNKNOWN ./spec/defines/placement_generic_service_spec.rb: *No copyright* UNKNOWN ./lib/puppet/type/placement_config.rb: *No copyright* UNKNOWN ./spec/acceptance/nodesets/centos-70-x64.yml: *No copyright* UNKNOWN ./spec/acceptance/nodesets/default.yml: *No copyright* UNKNOWN ./spec/acceptance/nodesets/nodepool-bionic.yml: *No copyright* UNKNOWN ./spec/acceptance/nodesets/nodepool-centos7.yml: *No copyright* UNKNOWN ./spec/acceptance/nodesets/nodepool-trusty.yml: *No copyright* UNKNOWN ./spec/acceptance/nodesets/nodepool-xenial.yml: *No copyright* UNKNOWN ./spec/acceptance/nodesets/ubuntu-server-1404-x64.yml: *No copyright* UNKNOWN ./spec/unit/type/placement_config_spec.rb: *No copyright* UNKNOWN ./lib/puppet/provider/placement_config/ini_setting.rb: *No copyright* UNKNOWN ./spec/unit/provider/placement_config/ini_setting_spec.rb: *No copyright* UNKNOWN The package is licensed using the Apache 2.0 license. Using https://logs.rdoproject.org/23/17823/1/check/legacy-DLRN-rpmbuild/bda9d0a/buildset/centos/repos/d5/1c/d51cdf664a0960090f8988f41bd284651baed848_dev/puppet-placement-14.0.0-0.20181213105758.d51cdf6.el7.src.rpm to run fedora-review. Review notes:
- The python2-devel/python3-devel note is irrelevant, this package does not contain python code.
- The LICENSE file and rm -rf %{buildroot} notes are valid, but accepted for RDO puppet packages, since they are all generated by an automated tool.
- The Source RPM and %global requiring justification notes are expected, since the SRPM was generated by DLRN.
The package is APPROVED.
Package Review
==============
Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed
Issues:
=======
- Package contains BR: python2-devel or python3-devel
- 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.
Note: License file LICENSE is not marked as %license
See:
http://fedoraproject.org/wiki/Packaging/LicensingGuidelines#License_Text
===== 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.
Note: Checking patched sources after %prep for licenses. Licenses
found: "Apache (v2.0)", "*No copyright* Apache", "Unknown or
generated", "*No copyright* Apache (v2.0)". 26 files have unknown
license. Detailed output of licensecheck in /tmp/puppet-
placement/licensecheck.txt
[x]: Package requires other packages for directories it uses.
Note: No known owner of /usr/share/openstack-puppet/modules,
/usr/share/openstack-puppet
[x]: Package must own all directories that it creates.
Note: Directories without known owners: /usr/share/openstack-
puppet/modules, /usr/share/openstack-puppet
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[-]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
beginning of %install.
Note: rm -rf %{buildroot} present but not required
[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.
[x]: Package is not known to require an ExcludeArch tag.
[x]: 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 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]: 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]: Large documentation must go in a -doc subpackage. Large could be size
(~1MB) or number of files.
Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local
Python:
[-]: 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
[x]: Binary eggs must be removed in %prep
===== SHOULD items =====
Generic:
[-]: 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]: 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.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
files.
[x]: Spec use %global instead of %define unless justified.
Note: %define requiring justification: %define upstream_version 14.0.0
[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]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: SourceX is a working URL.
===== EXTRA items =====
Generic:
[x]: Rpmlint is run on all installed packages.
Note: There are rpmlint messages (see attachment).
Rpmlint
-------
Checking: puppet-placement-14.0.0-0.20181213105758.d51cdf6.el7.noarch.rpm
puppet-placement-14.0.0-0.20181213105758.d51cdf6.el7.src.rpm
puppet-placement.noarch: E: explicit-lib-dependency puppet-openstacklib
puppet-placement.noarch: E: explicit-lib-dependency puppet-stdlib
puppet-placement.noarch: E: no-changelogname-tag
puppet-placement.noarch: W: invalid-url URL: https://launchpad.net/puppet-placement HTTP Error 404: Not Found
puppet-placement.noarch: W: no-documentation
puppet-placement.noarch: E: wrong-script-interpreter /usr/share/openstack-puppet/modules/placement/setup.py /usr/bin/env python
puppet-placement.noarch: E: non-executable-script /usr/share/openstack-puppet/modules/placement/setup.py 644 /usr/bin/env python
puppet-placement.src: E: no-changelogname-tag
puppet-placement.src: W: invalid-url URL: https://launchpad.net/puppet-placement HTTP Error 404: Not Found
puppet-placement.src: W: invalid-url Source0: 14.0.0-0.20181213105758.d51cdf6.tar.gz
2 packages and 0 specfiles checked; 6 errors, 4 warnings.
Rpmlint (installed packages)
----------------------------
puppet-placement.noarch: E: explicit-lib-dependency puppet-openstacklib
puppet-placement.noarch: E: explicit-lib-dependency puppet-stdlib
puppet-placement.noarch: E: no-changelogname-tag
puppet-placement.noarch: W: invalid-url URL: https://launchpad.net/puppet-placement <urlopen error [Errno -2] Name or service not known>
puppet-placement.noarch: W: no-documentation
puppet-placement.noarch: E: non-executable-script /usr/share/openstack-puppet/modules/placement/setup.py 0644L /usr/bin/env
1 packages and 0 specfiles checked; 4 errors, 2 warnings.
Requires
--------
puppet-placement (rpmlib, GLIBC filtered):
puppet
puppet-inifile
puppet-keystone
puppet-openstacklib
puppet-oslo
puppet-stdlib
Provides
--------
puppet-placement:
puppet-placement
Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -m dlrn -n puppet-placement -r
Buildroot used: dlrn-centos7-x86_64
Active plugins: Python, Generic, Shell-api
Disabled plugins: Java, C/C++, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6
The package has been present in RDO Trunk for a while, closing the bug. |