[Bug 2263696] Review Request: ansible-collection-community-internal_test_tools - Internal test tools for other collections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2263696

Ben Beasley <code@xxxxxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |POST
              Flags|fedora-review?              |fedora-review+
                   |needinfo?(code@musicinmybra |
                   |in.net)                     |



--- Comment #8 from Ben Beasley <code@xxxxxxxxxxxxxxxxxx> ---
The package is the same as the previous submission, except that upstream status
was correctly added for both patches:

+# Not upstreamable. See Ansible Collection Packaging Guidelines.
 Patch:          build_ignore.patch
+#
https://github.com/ansible-collections/community.internal_test_tools/pull/130
 Patch:          remove-python-mock.patch

Since I updated fedora-review, there are fewer spurious diagnostics.

The package is APPROVED; however, please do still consider double-checking the
hidden and version-control-internal files discussed below, as it seems like
some of them should be excluded from the package.


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

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


Issues:
=======
- 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 licenses.json is not marked as %license
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/LicensingGuidelines/#_license_text

  This is not an issue (OK/spurious):
 
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/extra/licenses.json
  is not really a license file, and all of the real license files are properly
  marked.

    $ rpm -qL -p
results/ansible-collection-community-internal_test_tools-0.11.0-1.fc41.noarch.rpm 
   
/usr/share/licenses/ansible-collection-community-internal_test_tools/.reuse/dep5
   
/usr/share/licenses/ansible-collection-community-internal_test_tools/CHANGELOG.rst.license
   
/usr/share/licenses/ansible-collection-community-internal_test_tools/COPYING
   
/usr/share/licenses/ansible-collection-community-internal_test_tools/LICENSES/GPL-3.0-or-later.txt
   
/usr/share/licenses/ansible-collection-community-internal_test_tools/changelog.json.license
   
/usr/share/licenses/ansible-collection-community-internal_test_tools/changelog.yaml.license
   
/usr/share/licenses/ansible-collection-community-internal_test_tools/extra-docs.json.license
   
/usr/share/licenses/ansible-collection-community-internal_test_tools/licenses.json.license
   
/usr/share/licenses/ansible-collection-community-internal_test_tools/no-unwanted-files.json.license

- Considering the version-control-internal-file and hidden-file-or-dir reports
  flagged by rpmlint,

    ansible-collection-community-internal_test_tools.noarch: E:
version-control-internal-file
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/.gitignore
    ansible-collection-community-internal_test_tools.noarch: E:
version-control-internal-file
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/changelogs/.gitignore
    ansible-collection-community-internal_test_tools.noarch: W:
hidden-file-or-dir
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/.ansible-lint
    ansible-collection-community-internal_test_tools.noarch: W:
hidden-file-or-dir
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/.gitignore
    ansible-collection-community-internal_test_tools.noarch: W:
hidden-file-or-dir
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/.yamllint
    ansible-collection-community-internal_test_tools.noarch: W:
hidden-file-or-dir
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/changelogs/.gitignore
    ansible-collection-community-internal_test_tools.noarch: W:
hidden-file-or-dir
/usr/share/licenses/ansible-collection-community-internal_test_tools/.reuse
    ansible-collection-community-internal_test_tools.noarch: W:
hidden-file-or-dir
/usr/share/licenses/ansible-collection-community-internal_test_tools/.reuse

  * The .reuse files look like they should be retained as part of the REUSE
    license data.
  * The .gitignore files look like they only make sense in the git repository,
    and should be excluded from the package. Furthermore, .gitignore files are
    specifically called as an example of what to exclude in
   
https://docs.fedoraproject.org/en-US/packaging-guidelines/Ansible_collections/#_unnecessary_files.
  * Since they are linter configuration files, the .ansible-lint and .yamllint
    files look like they are for upstream development and don’t make sense to
    package. However, I’m not deeply familar with ansible’s collection system.
    If you think there’s a chance these could be used at runtime, then it could
    make sense to keep them.

NON-Issues:
===========

- Incidental duplicate files reported by rpmlint are not numerous enough or
  large enough for hardlinking to be worthwhile.

- Overall, the package appears to comply with the requirements and
  recommendations of
 
https://docs.fedoraproject.org/en-US/packaging-guidelines/Ansible_collections/


===== 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: "GNU General Public License, Version 3", "Unknown or
     generated". 16 files have unknown license. Detailed output of
     licensecheck in /home/ben/fedora/review/2263696-ansible-collection-
     community-internal_test_tools/20240818/2263696-ansible-collection-
     community-internal_test_tools/licensecheck.txt
[x]: Package does not own files or directories owned by other packages.
     Note: Dirs in package are owned also by:
     /usr/share/ansible/collections/ansible_collections/community(ansible-
     collection-community-crypto, ansible-collection-community-libvirt,
     ansible-collection-community-general, ansible-collection-community-
     kubernetes, ansible-collection-community-docker, ansible-collection-
     community-rabbitmq, ansible-collection-community-postgresql, ansible-
     collection-community-mysql)


[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.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 15504 bytes in 2 files.
[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]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[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 must not depend on deprecated() packages.
[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:
[-]: 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).
[ ]: Package functions as described.

     (tests pass)

[x]: Latest version is packaged.

    
https://github.com/ansible-collections/community.internal_test_tools/releases

[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[x]: Package should compile and build into binary rpms on all supported
     architectures.

     https://koji.fedoraproject.org/koji/taskinfo?taskID=122150127

[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[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]: Sources can be downloaded from URI in Source: tag
[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:
ansible-collection-community-internal_test_tools-0.11.0-1.fc42.noarch.rpm
         
ansible-collection-community-internal_test_tools-0.11.0-1.fc42.src.rpm
============================================================================================
rpmlint session starts
============================================================================================
rpmlint: 2.5.0
configuration:
    /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpdthiw_qd')]
checks: 32, packages: 2

ansible-collection-community-internal_test_tools.noarch: E:
version-control-internal-file
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/.gitignore
ansible-collection-community-internal_test_tools.noarch: E:
version-control-internal-file
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/changelogs/.gitignore
ansible-collection-community-internal_test_tools.noarch: W: hidden-file-or-dir
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/.ansible-lint
ansible-collection-community-internal_test_tools.noarch: W: hidden-file-or-dir
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/.gitignore
ansible-collection-community-internal_test_tools.noarch: W: hidden-file-or-dir
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/.yamllint
ansible-collection-community-internal_test_tools.noarch: W: hidden-file-or-dir
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/changelogs/.gitignore
ansible-collection-community-internal_test_tools.noarch: W: hidden-file-or-dir
/usr/share/licenses/ansible-collection-community-internal_test_tools/.reuse
ansible-collection-community-internal_test_tools.noarch: W: hidden-file-or-dir
/usr/share/licenses/ansible-collection-community-internal_test_tools/.reuse
ansible-collection-community-internal_test_tools.noarch: W: files-duplicate
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/integration/targets/lookup__open_url_test_lookup/aliases
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/integration/targets/_fetch_url_test_module/aliases
ansible-collection-community-internal_test_tools.noarch: W: files-duplicate
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/integration/targets/lookup__open_url_test_lookup/meta/main.yml
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/integration/targets/_fetch_url_test_module/meta/main.yml
ansible-collection-community-internal_test_tools.noarch: W: files-duplicate
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.12.txt
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.10.txt:/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.11.txt
ansible-collection-community-internal_test_tools.noarch: W: files-duplicate
/usr/share/licenses/ansible-collection-community-internal_test_tools/no-unwanted-files.json.license
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.10.txt.license:/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.11.txt.license:/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.12.txt.license:/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.13.txt.license:/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.14.txt.license:(and
9 more)
ansible-collection-community-internal_test_tools.noarch: W: files-duplicate
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.14.txt
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.13.txt
ansible-collection-community-internal_test_tools.noarch: W: files-duplicate
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.17.txt
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.15.txt:/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.16.txt
====================================================== 2 packages and 0
specfiles checked; 2 errors, 12 warnings, 7 filtered, 2 badness; has taken 0.2
s =======================================================




Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts
============================
rpmlint: 2.5.0
configuration:
    /usr/lib/python3.13/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-legacy-licenses.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 1

ansible-collection-community-internal_test_tools.noarch: E:
version-control-internal-file
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/.gitignore
ansible-collection-community-internal_test_tools.noarch: E:
version-control-internal-file
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/changelogs/.gitignore
ansible-collection-community-internal_test_tools.noarch: W: hidden-file-or-dir
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/.ansible-lint
ansible-collection-community-internal_test_tools.noarch: W: hidden-file-or-dir
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/.gitignore
ansible-collection-community-internal_test_tools.noarch: W: hidden-file-or-dir
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/.yamllint
ansible-collection-community-internal_test_tools.noarch: W: hidden-file-or-dir
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/changelogs/.gitignore
ansible-collection-community-internal_test_tools.noarch: W: hidden-file-or-dir
/usr/share/licenses/ansible-collection-community-internal_test_tools/.reuse
ansible-collection-community-internal_test_tools.noarch: W: hidden-file-or-dir
/usr/share/licenses/ansible-collection-community-internal_test_tools/.reuse
ansible-collection-community-internal_test_tools.noarch: W: files-duplicate
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/integration/targets/lookup__open_url_test_lookup/aliases
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/integration/targets/_fetch_url_test_module/aliases
ansible-collection-community-internal_test_tools.noarch: W: files-duplicate
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/integration/targets/lookup__open_url_test_lookup/meta/main.yml
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/integration/targets/_fetch_url_test_module/meta/main.yml
ansible-collection-community-internal_test_tools.noarch: W: files-duplicate
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.12.txt
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.10.txt:/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.11.txt
ansible-collection-community-internal_test_tools.noarch: W: files-duplicate
/usr/share/licenses/ansible-collection-community-internal_test_tools/no-unwanted-files.json.license
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.10.txt.license:/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.11.txt.license:/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.12.txt.license:/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.13.txt.license:/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.14.txt.license:(and
9 more)
ansible-collection-community-internal_test_tools.noarch: W: files-duplicate
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.14.txt
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.13.txt
ansible-collection-community-internal_test_tools.noarch: W: files-duplicate
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.17.txt
/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.15.txt:/usr/share/ansible/collections/ansible_collections/community/internal_test_tools/tests/sanity/ignore-2.16.txt
 1 packages and 0 specfiles checked; 2 errors, 12 warnings, 3 filtered, 2
badness; has taken 0.1 s 



Source checksums
----------------
https://github.com/ansible-collections/community.internal_test_tools/archive/0.11.0/community.internal_test_tools-0.11.0.tar.gz
:
  CHECKSUM(SHA256) this package     :
e571726a402198f0f1984d515463a5a07e86d3e26ccb725dd6b627cc23a0f99b
  CHECKSUM(SHA256) upstream package :
e571726a402198f0f1984d515463a5a07e86d3e26ccb725dd6b627cc23a0f99b


Requires
--------
ansible-collection-community-internal_test_tools (rpmlib, GLIBC filtered):
    (ansible-core or (ansible < 2.10.0 with ansible >= 2.9.10))
    /usr/bin/python3



Provides
--------
ansible-collection-community-internal_test_tools:
    ansible-collection(community.internal_test_tools)
    ansible-collection-community-internal_test_tools



Generated by fedora-review 0.10.0 (e79b66b) last change: 2023-07-24
Command line :/usr/bin/fedora-review -b 2263696
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, Perl, PHP, Python, C/C++, Haskell, fonts, Ocaml,
SugarActivity, R
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2263696

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202263696%23c8

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux