RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1318310 - Review Request: openstack-magnum-ui - OpenStack Magnum UI Horizon plugin
Summary: Review Request: openstack-magnum-ui - OpenStack Magnum UI Horizon plugin
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: Package Review
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Matthias Runge
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: RDO-MITAKA, RDO-MITAKA-REVIEWS
TreeView+ depends on / blocked
 
Reported: 2016-03-16 13:30 UTC by Marcos
Modified: 2016-08-31 18:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-31 18:35:57 UTC
Embargoed:
mrunge: rdo-review+


Attachments (Terms of Use)

Description Marcos 2016-03-16 13:30:31 UTC
Spec URL: http://mferminl.web.cern.ch/mferminl/fedorapkg/python-magnum-ui/0.0.1/python-magnum-ui.spec
SRPM URL: http://mferminl.web.cern.ch/mferminl/fedorapkg/python-magnum-ui/0.0.1/python-magnum-ui-0.0.1.dev13-1.fc23.src.rpm
Description: This is the UI component for the OpenStack Containers Service (Magnum).
Fedora Account System Username: mflobo

Comment 1 Marcos 2016-03-16 13:31:42 UTC
Successful scratch http://koji.fedoraproject.org/koji/taskinfo?taskID=13366988

Comment 3 hguemar 2016-05-17 09:40:25 UTC
* s/python/openstack/
* no python3 version is required as it's an Horizon plugin
* it's an RDO review, not Fedora

Comment 4 Matthias Runge 2016-05-17 09:52:35 UTC
you need to require openstack-dashboard instead of python-django-horizon.

Comment 6 Matthias Runge 2016-06-07 09:34:15 UTC
Marcos,

you duplicated requirements files removal

Otherwise looks good to me.

Comment 8 Matthias Runge 2016-06-07 10:00:29 UTC
package approved.

Comment 9 hguemar 2016-06-07 14:27:34 UTC
This package is hereby approved into RDO.

Please submit a review in rdoinfo (with the tag under-review)


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

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.
[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)", "Unknown or generated", "*No copyright* Apache
     (v2.0)". 15 files have unknown license. Detailed output of
     licensecheck in /home/haikel/1318310-openstack-magnum-
     ui/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[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.
[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]: 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]: 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:
[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]: Package contains BR: python2-devel or python3-devel
[x]: Binary eggs must be removed in %prep

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

Generic:
[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).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in python-
     magnum-ui-doc
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: 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]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[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]: 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: openstack-magnum-ui-1.0.0-1.el7.noarch.rpm
          python-magnum-ui-doc-1.0.0-1.el7.noarch.rpm
          openstack-magnum-ui-1.0.0-1.el7.src.rpm
openstack-magnum-ui.noarch: W: no-documentation
openstack-magnum-ui.noarch: E: zero-length /usr/lib/python2.7/site-packages/magnum_ui/static/dashboard/containers/baymodels/baymodels.scss
openstack-magnum-ui.noarch: E: zero-length /usr/lib/python2.7/site-packages/magnum_ui/static/dashboard/containers/containers/containers.scss
openstack-magnum-ui.noarch: E: zero-length /usr/lib/python2.7/site-packages/magnum_ui/static/dashboard/containers/bays/bays.scss
openstack-magnum-ui.noarch: E: non-readable /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_53_project_containers_containers_panel.py 640
openstack-magnum-ui.noarch: E: non-readable /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_51_project_containers_bays_panel.py 640
openstack-magnum-ui.noarch: E: non-readable /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_50_project_containers_panelgroup.py 640
openstack-magnum-ui.noarch: E: non-readable /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_52_project_containers_baymodels_panel.py 640
3 packages and 0 specfiles checked; 7 errors, 1 warnings.




Rpmlint (installed packages)
----------------------------
python-magnum-ui-doc.noarch: W: invalid-url URL: http://launchpad.net/magnum-ui/ <urlopen error [Errno -2] Name or service not known>
openstack-magnum-ui.noarch: W: invalid-url URL: http://launchpad.net/magnum-ui/ <urlopen error [Errno -2] Name or service not known>
openstack-magnum-ui.noarch: W: no-documentation
openstack-magnum-ui.noarch: E: non-readable /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_50_project_containers_panelgroup.py 0640L
openstack-magnum-ui.noarch: E: zero-length /usr/lib/python2.7/site-packages/magnum_ui/static/dashboard/containers/bays/bays.scss
openstack-magnum-ui.noarch: E: non-readable /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_53_project_containers_containers_panel.py 0640L
openstack-magnum-ui.noarch: E: zero-length /usr/lib/python2.7/site-packages/magnum_ui/static/dashboard/containers/baymodels/baymodels.scss
openstack-magnum-ui.noarch: E: zero-length /usr/lib/python2.7/site-packages/magnum_ui/static/dashboard/containers/containers/containers.scss
openstack-magnum-ui.noarch: E: non-readable /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_51_project_containers_bays_panel.py 0640L
openstack-magnum-ui.noarch: E: non-readable /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_52_project_containers_baymodels_panel.py 0640L
2 packages and 0 specfiles checked; 7 errors, 3 warnings.



Requires
--------
python-magnum-ui-doc (rpmlib, GLIBC filtered):

openstack-magnum-ui (rpmlib, GLIBC filtered):
    openstack-dashboard
    python(abi)
    python2-magnumclient



Provides
--------
python-magnum-ui-doc:
    python-magnum-ui-doc

openstack-magnum-ui:
    openstack-magnum-ui



Source checksums
----------------
http://tarballs.openstack.org/magnum-ui/magnum-ui-1.0.0.tar.gz :
  CHECKSUM(SHA256) this package     : e4634e320520b7dfc8e51ca9370a7a34f5fca342005edf9362268d27be0a4476
  CHECKSUM(SHA256) upstream package : e4634e320520b7dfc8e51ca9370a7a34f5fca342005edf9362268d27be0a4476


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

Comment 10 Marcos 2016-06-07 14:32:26 UTC
Thank you.

The review is here https://review.rdoproject.org/r/#/c/1328/


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