Bug 2318459 - Review Request: rust-podlet - Generate Podman Quadlet files from a Podman command, compose file, or existing object
Summary: Review Request: rust-podlet - Generate Podman Quadlet files from a Podman com...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-13 21:58 UTC by Fabio Valentini
Modified: 2024-12-08 17:02 UTC (History)
2 users (show)

Fixed In Version: rust-podlet-0.3.0-1.fc42
Clone Of:
Environment:
Last Closed: 2024-12-08 17:02:10 UTC
Type: ---
Embargoed:
code: fedora-review+


Attachments (Terms of Use)

Description Fabio Valentini 2024-10-13 21:58:17 UTC
Spec URL: https://decathorpe.fedorapeople.org/rust-podlet.spec
SRPM URL: https://decathorpe.fedorapeople.org/rust-podlet-0.3.0-1.fc41.src.rpm

Description:
Generate Podman Quadlet files from a Podman command, compose file, or
existing object.

Fedora Account System Username: decathorpe

Comment 1 Fabio Valentini 2024-10-13 21:58:54 UTC
koji scratch build for rawhide:
https://koji.fedoraproject.org/koji/taskinfo?taskID=124794252

Comment 2 Ben Beasley 2024-11-27 18:55:29 UTC
The package is approved, PROVIDED THAT you fix the too-long Summary upon import.

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

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

===== Issues =====

- The Summary is too long (over 80 characters).

    podlet.x86_64: E: summary-too-long Generate Podman Quadlet files from a Podman command, compose file, or existing object
    rust-podlet.src: E: summary-too-long Generate Podman Quadlet files from a Podman command, compose file, or existing object

  I recommend (in rust2rpm.toml):

    [package]
    summary = "Generate Podman Quadlet files"

===== Notes =====

- Where possible, a man page is always desired for command-line tools.

    podlet.x86_64: W: no-manual-page-for-binary podlet

  It looks like something like

    help2man --no-info --name 'Generate Podman Quadlet files' path/to/podlet

  does generate a good-quality result in this case, although this only provides
  top-level documentation and not documentation for the subcommands.

  No change is required here. I might offer a PR after import, if I can make it
  nice enough.

===== 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: "Unknown or generated", "*No copyright* Mozilla Public License
     2.0", "MIT License". 62 files have unknown license. Detailed output of
     licensecheck in /home/ben/fedora/review/2318459-rust-
     podlet/licensecheck.txt

     The base package’s License is correct.

     For the podlet subpackage, the license-list comment matches the output of
     %{cargo_license_summary}, and the SPDX expression in the License field
     correctly corresponds to the comment.

[x]: %build honors applicable compiler flags or justifies otherwise.
[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]: Useful -debuginfo package or justification otherwise.
[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 36590 bytes in 5 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]: 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]: 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 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.
[x]: Package does not include license text files separate from upstream.
[-]: 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=126305072

[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]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: podlet-0.3.0-1.fc42.x86_64.rpm
          rust-podlet-0.3.0-1.fc42.src.rpm
============================ 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
rpmlintrc: [PosixPath('/tmp/tmp8uyz554j')]
checks: 32, packages: 2

podlet.x86_64: E: summary-too-long Generate Podman Quadlet files from a Podman command, compose file, or existing object
rust-podlet.src: E: summary-too-long Generate Podman Quadlet files from a Podman command, compose file, or existing object
podlet.x86_64: W: no-manual-page-for-binary podlet
 2 packages and 0 specfiles checked; 2 errors, 1 warnings, 7 filtered, 2 badness; has taken 0.4 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-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

podlet.x86_64: W: unused-direct-shlib-dependency /usr/bin/podlet /lib64/libm.so.6
podlet.x86_64: E: summary-too-long Generate Podman Quadlet files from a Podman command, compose file, or existing object
podlet.x86_64: W: no-manual-page-for-binary podlet
 1 packages and 0 specfiles checked; 1 errors, 2 warnings, 3 filtered, 1 badness; has taken 0.1 s 



Source checksums
----------------
https://crates.io/api/v1/crates/podlet/0.3.0/download#/podlet-0.3.0.crate :
  CHECKSUM(SHA256) this package     : e4f59080402a8e2dba697c084151ca26da56c3f064037a62e4815e97f62369c8
  CHECKSUM(SHA256) upstream package : e4f59080402a8e2dba697c084151ca26da56c3f064037a62e4815e97f62369c8


Requires
--------
podlet (rpmlib, GLIBC filtered):
    ld-linux-x86-64.so.2()(64bit)
    libc.so.6()(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3)(64bit)
    libgcc_s.so.1(GCC_4.2.0)(64bit)
    libm.so.6()(64bit)
    rtld(GNU_HASH)



Provides
--------
podlet:
    podlet
    podlet(x86-64)



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

Comment 3 Fabio Valentini 2024-12-08 15:20:21 UTC
Thank you for the review!

I will shorten the Summary to just "Generate Podman Quadlet files" before importing.

Comment 4 Fedora Admin user for bugzilla script actions 2024-12-08 15:21:19 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-podlet

Comment 5 Fabio Valentini 2024-12-08 17:02:10 UTC
Imported and built:
https://bodhi.fedoraproject.org/updates/FEDORA-2024-ad5d3bdbf2


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