Bug 2196893 (rust-warp-sessions) - Review Request: rust-warp-sessions - Generic session middleware for the warp HTTP framework
Summary: Review Request: rust-warp-sessions - Generic session middleware for the warp ...
Keywords:
Status: CLOSED ERRATA
Alias: rust-warp-sessions
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Paul Whalen
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/warp-sessions
Whiteboard:
Depends On: rust-async-session
Blocks: FDO
TreeView+ depends on / blocked
 
Reported: 2023-05-10 17:19 UTC by Peter Robinson
Modified: 2023-05-20 01:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-20 01:47:40 UTC
Type: ---
Embargoed:
pwhalen: fedora-review+


Attachments (Terms of Use)

Description Peter Robinson 2023-05-10 17:19:57 UTC
SPEC: https://pbrobinson.fedorapeople.org/rust-warp-sessions.spec
SRPM: https://pbrobinson.fedorapeople.org/rust-warp-sessions-1.0.18-1.fc38.src.rpm

Description:
Generic session middleware for the warp HTTP framework

Reproducible: Always

Comment 1 Fedora Review Service 2023-05-10 17:23:45 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5908187
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2196893-rust-warp-sessions/fedora-rawhide-x86_64/05908187-rust-warp-sessions/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
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.

Comment 2 Paul Whalen 2023-05-11 01:55:46 UTC
Looks good, approved. Review below:


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

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


Issues:
=======
- Package does not contain duplicates in %files.
  Note: warning: File listed twice: /usr/share/cargo/registry/warp-
  sessions-1.0.18/LICENSE
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/#_duplicate_files


===== 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.
[x]: License file installed when any subpackage combination is installed.
[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.
[x]: 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]: 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]: 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]: 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

===== 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).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in rust-
     warp-sessions-devel , rust-warp-sessions+default-devel
[x]: Package functions as described.
[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.
[-]: 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]: 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.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: rust-warp-sessions-devel-1.0.18-1.fc39.noarch.rpm
          rust-warp-sessions+default-devel-1.0.18-1.fc39.noarch.rpm
          rust-warp-sessions-1.0.18-1.fc39.src.rpm
=================================================================== rpmlint session starts ===================================================================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.11/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/tmpbqrnbsyp')]
checks: 31, packages: 3

rust-warp-sessions+default-devel.noarch: W: no-documentation
==================================== 3 packages and 0 specfiles checked; 0 errors, 1 warnings, 0 badness; has taken 0.1 s ====================================




Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.4.0
configuration:
    /usr/lib/python3.11/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: 31, packages: 2

rust-warp-sessions+default-devel.noarch: W: no-documentation
 2 packages and 0 specfiles checked; 0 errors, 1 warnings, 0 badness; has taken 0.0 s 



Source checksums
----------------
https://crates.io/api/v1/crates/warp-sessions/1.0.18/download#/warp-sessions-1.0.18.crate :
  CHECKSUM(SHA256) this package     : 8dbdf66c553080abc9688d42c30bdd385c64fd386106682d139cf899f523489b
  CHECKSUM(SHA256) upstream package : 8dbdf66c553080abc9688d42c30bdd385c64fd386106682d139cf899f523489b


Requires
--------
rust-warp-sessions-devel (rpmlib, GLIBC filtered):
    (crate(async-session/default) >= 3.0.0 with crate(async-session/default) < 4.0.0~)
    (crate(async-trait/default) >= 0.1.63 with crate(async-trait/default) < 0.2.0~)
    (crate(http/default) >= 0.2.8 with crate(http/default) < 0.3.0~)
    (crate(serde/default) >= 1.0.152 with crate(serde/default) < 2.0.0~)
    (crate(serde/derive) >= 1.0.152 with crate(serde/derive) < 2.0.0~)
    (crate(tokio/default) >= 1.24.2 with crate(tokio/default) < 2.0.0~)
    (crate(tokio/macros) >= 1.24.2 with crate(tokio/macros) < 2.0.0~)
    (crate(tokio/rt-multi-thread) >= 1.24.2 with crate(tokio/rt-multi-thread) < 2.0.0~)
    (crate(warp/default) >= 0.3.3 with crate(warp/default) < 0.4.0~)
    cargo

rust-warp-sessions+default-devel (rpmlib, GLIBC filtered):
    cargo
    crate(warp-sessions)



Provides
--------
rust-warp-sessions-devel:
    crate(warp-sessions)
    rust-warp-sessions-devel

rust-warp-sessions+default-devel:
    crate(warp-sessions/default)
    rust-warp-sessions+default-devel



Generated by fedora-review 0.9.0 (6761b6c) last change: 2022-08-23
Command line :/usr/bin/fedora-review -b 2196893 --local-repo /home/pwhalen/reviews/install/
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Perl, Java, R, SugarActivity, Python, PHP, Haskell, Ocaml, C/C++, fonts
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Built with local dependencies:
    /home/pwhalen/reviews/install/rust-blake3+default-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3+digest-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3+neon-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3+no_avx2-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3+no_avx512-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3+no_neon-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3+no_sse2-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3+no_sse41-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3+prefer_intrinsics-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3+pure-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3+rayon-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3+std-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-blake3+traits-preview-devel-1.3.3-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-async-session+default-devel-3.0.0-1.fc39.noarch.rpm
    /home/pwhalen/reviews/install/rust-async-session-devel-3.0.0-1.fc39.noarch.rpm

Comment 3 Fedora Admin user for bugzilla script actions 2023-05-11 07:52:52 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-warp-sessions

Comment 4 Fedora Update System 2023-05-11 09:05:22 UTC
FEDORA-2023-cb3c2ef9dc has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-cb3c2ef9dc

Comment 5 Fedora Update System 2023-05-12 02:14:33 UTC
FEDORA-2023-cb3c2ef9dc has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-cb3c2ef9dc \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-cb3c2ef9dc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-05-20 01:47:40 UTC
FEDORA-2023-cb3c2ef9dc has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


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