https://bugzilla.redhat.com/show_bug.cgi?id=2263696
Bug ID: 2263696 Summary: Review Request: ansible-collection-community-internal_test_tools - Internal test tools for other collections Product: Fedora Version: rawhide Status: NEW Component: Package Review Assignee: nobody@fedoraproject.org Reporter: maxwell@gtmx.me QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
Spec URL: https://gotmax23.fedorapeople.org/reviews/ansible-collection-community-inter... SRPM URL: https://gotmax23.fedorapeople.org/reviews/ansible-collection-community-inter...
Description: The community.library_inventory_filtering_v1 collection includes helpers for use with other collections that allow inventory plugins to offer common filtering functionality.
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
Maxwell G maxwell@gtmx.me changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value
--- Comment #1 from Maxwell G maxwell@gtmx.me --- There's a false positive fedora-review error about licenses.json. That file is indeed installed in the correct place. It's not a license file.
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
Maxwell G maxwell@gtmx.me changed:
What |Removed |Added ---------------------------------------------------------------------------- Comment|0 |updated
--- Comment #0 has been edited ---
Spec URL: https://gotmax23.fedorapeople.org/reviews/ansible-collection-community-inter... SRPM URL: https://gotmax23.fedorapeople.org/reviews/ansible-collection-community-inter...
Description: The community.library_inventory_filtering_v1 collection includes helpers for use with other collections that allow inventory plugins to offer common filtering functionality.
Fedora Account System Username: gotmax23
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
--- Comment #2 from Maxwell G maxwell@gtmx.me --- [fedora-review-service-build]
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
--- Comment #3 from Fedora Review Service fedora-review-bot@fedoraproject.org --- Copr build: https://copr.fedorainfracloud.org/coprs/build/7007681 (succeeded)
Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-rev...
Please take a look if any issues were found.
--- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service
If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string.
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
--- Comment #4 from Fedora Review Service fedora-review-bot@fedoraproject.org --- Copr build: https://copr.fedorainfracloud.org/coprs/build/7007687 (succeeded)
Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-rev...
Please take a look if any issues were found.
--- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service
If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string.
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
Maxwell G maxwell@gtmx.me changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2275006
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2275006 [Bug 2275006] Review Request: ansible-collection-community-library_inventory_filtering_v1 - Library collection with helpers for inventory plugins
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
Ben Beasley code@musicinmybrain.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |fedora-review? CC| |code@musicinmybrain.net Status|NEW |ASSIGNED Assignee|nobody@fedoraproject.org |code@musicinmybrain.net
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
--- Comment #5 from Ben Beasley code@musicinmybrain.net --- This package could *potentially* be approved as-is, but I’d like to see your thoughts on the discussion of hidden files and patch upstream status below.
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 out as an example of what to exclude in
https://docs.fedoraproject.org/en-US/packaging-guidelines/Ansible_collection.... * 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.
- Both patches lack upstream status,
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_all_patches_shou...
The first, build_ignore.patch, is clearly only suitable as a downstream patch and based on
https://docs.fedoraproject.org/en-US/packaging-guidelines/Ansible_collection..., but a spec-file comment linking that section of the guidelines would be helpful to a reader unfamiliar with the particular conventions of ansible collection packaging.
The second, remove-python-mock.patch, looks upstreamable.
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_collection...
===== 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/Downloads/review/2263696-ansible-collection- community-internal_test_tools/licensecheck.txt [x]: Package requires other packages for directories it uses. Note: No known owner of /usr/share/ansible/collections/ansible_collections, /usr/share, /usr, /usr/share/ansible, /usr/share/doc, /usr/share/licenses, /usr/share/ansible/collections
The fedora-review output has been flagging directory ownership incorrectly for a while. Several of these are obviously owned by the filesystem package. For the rest, we check manually. This package requires:
(ansible-core or (ansible < 2.10.0 with ansible >= 2.9.10))
and ansible-core owns both /usr/share/ansible/collections and /usr/share/ansible/collections/ansible_collections. Therefore, there is no problem.
[x]: Package must own all directories that it creates. Note: Directories without known owners: /usr/share/ansible/collections/ansible_collections, /usr/share, /usr, /usr/share/ansible, /usr/share/doc, /usr/share/licenses, /usr/share/ansible/collections
(See the previous item.)
[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 does not own files or directories owned by other packages. [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). [x]: Package functions as described.
(tests pass)
[x]: Latest version is packaged.
https://github.com/ansible-collections/community.internal_test_tools/release...
[x]: Package does not include license text files separate from upstream. [!]: 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. [?]: Package should compile and build into binary rpms on all supported architectures. [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.fc41.noarch.rpm
ansible-collection-community-internal_test_tools-0.11.0-1.fc41.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/tmpu4kxrg8c')] 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.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 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... : 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 --mock-options=--dnf Buildroot used: fedora-rawhide-x86_64 Active plugins: Shell-api, Generic Disabled plugins: PHP, Java, R, Ocaml, SugarActivity, C/C++, fonts, Haskell, Python, Perl Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
--- Comment #6 from Maxwell G maxwell@gtmx.me --- Ben, thanks for the review! I was away from Fedora during May so apologies for missing this. I will upload a revised specfile.
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
--- Comment #7 from Maxwell G maxwell@gtmx.me --- Spec URL: https://gotmax23.fedorapeople.org/reviews/ansible-collection-community-inter... SRPM URL: https://gotmax23.fedorapeople.org/reviews/ansible-collection-community-inter...
Add patch justifications
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=121901668
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
Ben Beasley code@musicinmybrain.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(code@musicinmybra | |in.net)
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
Ben Beasley code@musicinmybrain.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |POST Flags|fedora-review? |fedora-review+ |needinfo?(code@musicinmybra | |in.net) |
--- Comment #8 from Ben Beasley code@musicinmybrain.net --- 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/13... 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_collection.... * 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_collection...
===== 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/release...
[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... : 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
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
Fedora Admin user for bugzilla script actions fedora-admin-xmlrpc@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|POST |RELEASE_PENDING
--- Comment #9 from Fedora Admin user for bugzilla script actions fedora-admin-xmlrpc@fedoraproject.org --- The Pagure repository was created at https://src.fedoraproject.org/rpms/ansible-collection-community-internal_tes...
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RELEASE_PENDING |MODIFIED
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-e2bafef030 (ansible-collection-community-internal_test_tools-0.11.0-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-e2bafef030
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |ERRATA Last Closed| |2024-08-22 22:52:44
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-e2bafef030 (ansible-collection-community-internal_test_tools-0.11.0-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
--- Comment #12 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-6e66ed9ebf (ansible-collection-community-internal_test_tools-0.11.0-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-6e66ed9ebf
https://bugzilla.redhat.com/show_bug.cgi?id=2263696
--- Comment #13 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-6e66ed9ebf (ansible-collection-community-internal_test_tools-0.11.0-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
package-review@lists.fedoraproject.org