Bug 2279547 - Review Request: rust-sqlx - The Rust SQL Toolkit
Summary: Review Request: rust-sqlx - The Rust SQL Toolkit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/sqlx
Whiteboard:
Depends On: 2279537 2279540 2279542 2279544 2279546
Blocks: 2297310
TreeView+ depends on / blocked
 
Reported: 2024-05-07 12:33 UTC by Cristian Le
Modified: 2024-10-13 02:17 UTC (History)
2 users (show)

Fixed In Version: rust-sqlx-0.8.2-1.fc42
Clone Of:
Environment:
Last Closed: 2024-10-04 09:50:43 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 8083953 to 8083983 (743 bytes, patch)
2024-09-27 09:10 UTC, Fedora Review Service
no flags Details | Diff

Description Cristian Le 2024-05-07 12:33:18 UTC
Spec URL: https://github.com/LecrisUT/sqlx-rpmspec/raw/b8d1b82fdbcf7e5292f2c61076ac42c6f84cee7b/rust-sqlx/rust-sqlx.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/packit/LecrisUT-sqlx-rpmspec-main/fedora-rawhide-x86_64/07376137-rust-sqlx/rust-sqlx-0.7.4-1.fc41.src.rpm
Description: Main `sqlx` package (required for `atuin`)
Fedora Account System Username: lecris

rust2rpm.toml:
```toml
[tests]
comments = [
    "can't seem to compile them :/",
]
run = ["none"]

[scripts.prep]
post = [
    "# Do not depend on criterion; it is needed only for benchmarks.",
    "tomcli set Cargo.toml del dev-dependencies.criterion",
]
```

Comment 1 Fedora Review Service 2024-05-07 12:36:07 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7424598
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2279547-rust-sqlx/fedora-rawhide-x86_64/07424598-rust-sqlx/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 3 Fedora Review Service 2024-08-27 16:09:41 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7947995
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2279547-rust-sqlx/fedora-rawhide-x86_64/07947995-rust-sqlx/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 5 Fedora Review Service 2024-09-12 00:29:36 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8010411
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2279547-rust-sqlx/fedora-rawhide-x86_64/08010411-rust-sqlx/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 6 Fabio Valentini 2024-09-26 19:26:59 UTC
> # * can't seem to compile them :/
> %bcond_with check

What is this supposed to mean? Please elaborate in more detail than "meh, no". :)

Other than that, package looks pretty good to me.
Though there are some files that you might want to exclude from the -devel package:

- contrib: VS Code plugin?
- examples/: just a python script that calls sqlx-cli, which is not included in the package?
- gen-changelog.sh: doesn't see useful for packaging
- rust-toolchain.toml: not useful for packaging
- tests/ directory in general: lots of scripts (bash, python), certificates, etc.

Comment 7 Cristian Le 2024-09-27 08:24:31 UTC
> What is this supposed to mean? Please elaborate in more detail than "meh, no". :)

Argh, sorry about that, the main issue is that `sqlx` tests are using the unpublished `sqlx-test` local crate, but I did not check the `docs` tests and those are actually usable, so I will keep those at least. I think I remember having had other issues with the tests when running locally with vendored packages in 0.7.x, so probably I was thinking about that at that time as well.

Comment 8 Cristian Le 2024-09-27 08:26:30 UTC
Spec URL: https://lecris.fedorapeople.org/reviews/rust-sqlx/rust-sqlx.spec
SRPM URL: https://lecris.fedorapeople.org/reviews/rust-sqlx/rust-sqlx-0.8.2-1.fc42.src.rpm

Run only doc tests and remove auxiliary files

Comment 10 Fedora Review Service 2024-09-27 09:05:16 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8083953
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2279547-rust-sqlx/fedora-rawhide-x86_64/08083953-rust-sqlx/fedora-review/review.txt

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.

Comment 11 Fedora Review Service 2024-09-27 09:10:12 UTC
Created attachment 2049129 [details]
The .spec file difference from Copr build 8083953 to 8083983

Comment 12 Fedora Review Service 2024-09-27 09:10:14 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8083983
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2279547-rust-sqlx/fedora-rawhide-x86_64/08083983-rust-sqlx/fedora-review/review.txt

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.

Comment 13 Fabio Valentini 2024-10-03 14:44:35 UTC
Thank you, the package looks good to me now!

===

Package was generated with rust2rpm, simplifying the review.

✅ package contains only permissible content
✅ package builds and installs without errors on rawhide
✅ test suite is run and all unit tests pass (some tests that cannot be run are disabled)
✅ latest version of the crate is packaged
✅ license matches upstream specification and is acceptable for Fedora
✅ license files are included with %license in %files
✅ package complies with Rust Packaging Guidelines

Package APPROVED.

===

Recommended post-import rust-sig tasks:

- set up package on release-monitoring.org:
  project: $crate
  homepage: https://crates.io/crates/$crate
  backend: crates.io
  version scheme: semantic
  version (*NOT* pre-release) filter: alpha;beta;rc;pre
  distro: Fedora
  Package: rust-$crate

- add @rust-sig with "commit" access as package co-maintainer
  (should happen automatically)

- set bugzilla assignee overrides to @rust-sig (optional)

- track package in koschei for all built branches
  (should happen automatically once rust-sig is co-maintainer)

Comment 14 Cristian Le 2024-10-04 09:12:01 UTC
Thank you for the review, Fabio

Comment 15 Fedora Admin user for bugzilla script actions 2024-10-04 09:12:10 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-sqlx

Comment 16 Fedora Update System 2024-10-04 09:46:27 UTC
FEDORA-2024-ccd7ba08b7 (rust-sqlx-0.8.2-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-ccd7ba08b7

Comment 17 Fedora Update System 2024-10-04 09:50:43 UTC
FEDORA-2024-ccd7ba08b7 (rust-sqlx-0.8.2-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2024-10-04 09:52:27 UTC
FEDORA-2024-655eddbffb (rust-sqlx-0.8.2-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-655eddbffb

Comment 19 Fedora Update System 2024-10-04 09:52:28 UTC
FEDORA-2024-b381100094 (rust-sqlx-0.8.2-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b381100094

Comment 20 Fedora Update System 2024-10-05 01:33:24 UTC
FEDORA-2024-59641c4101 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-59641c4101`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-59641c4101

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

Comment 21 Fedora Update System 2024-10-05 01:58:25 UTC
FEDORA-2024-b381100094 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b381100094`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b381100094

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

Comment 22 Fedora Update System 2024-10-05 02:57:59 UTC
FEDORA-2024-655eddbffb has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-655eddbffb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-655eddbffb

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

Comment 23 Fedora Update System 2024-10-13 00:41:06 UTC
FEDORA-2024-655eddbffb (rust-sqlx-0.8.2-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 24 Fedora Update System 2024-10-13 01:32:14 UTC
FEDORA-2024-59641c4101 (rust-sqlx-0.8.2-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 25 Fedora Update System 2024-10-13 02:17:04 UTC
FEDORA-2024-b381100094 (rust-sqlx-0.8.2-1.fc40) has been pushed to the Fedora 40 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.