Bug 2257189 - Review Request: rust-reference-counted-singleton - Reference-counted singleton whose protected data can be recreated as needed
Summary: Review Request: rust-reference-counted-singleton - Reference-counted singleto...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/reference-co...
Whiteboard:
Depends On:
Blocks: 2257190
TreeView+ depends on / blocked
 
Reported: 2024-01-07 21:12 UTC by Michel Lind
Modified: 2024-01-18 01:45 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-01-12 18:47:27 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)

Description Michel Lind 2024-01-07 21:12:58 UTC
Spec URL: https://salimma.fedorapeople.org/rust-reference-counted-singleton.spec
SRPM URL: https://salimma.fedorapeople.org/rust-reference-counted-singleton-0.1.2-1.fc38.src.rpm

Description:
Reference-counted singleton whose protected data can be recreated as
needed.

Fedora Account System Username: salimma

Comment 1 Fabio Valentini 2024-01-07 23:51:41 UTC
Three minor issues:

- Please document the patch (like adding a line above "Patch: ..." with "# bump serial_test dev-dependency from 0.5 to 2"
- Can you submit the patch to update this dependency as a PR to upstream?
- Please exclude some files that don't make sense in the packaging - like coverage.sh and coverage-style.css.patch. This might also make sense as a PR for upstream.

Other than that, package looks good.

Comment 2 Michel Lind 2024-01-08 16:44:05 UTC
(In reply to Fabio Valentini from comment #1)
> Three minor issues:
> 
> - Please document the patch (like adding a line above "Patch: ..." with "#
> bump serial_test dev-dependency from 0.5 to 2"

it has this right now
# * bump serial_test to 2

I can make it more explicit

> - Can you submit the patch to update this dependency as a PR to upstream?

Can do. In this case I should probably make upstream accept a range from 0.5 to 2, right, since obviously it still works with 0.5 too

> - Please exclude some files that don't make sense in the packaging - like
> coverage.sh and coverage-style.css.patch. This might also make sense as a PR
> for upstream.
> 

Will do too, thanks

Comment 3 Fabio Valentini 2024-01-08 16:47:21 UTC
(In reply to Michel Lind from comment #2)
> (In reply to Fabio Valentini from comment #1)
> > Three minor issues:
> > 
> > - Please document the patch (like adding a line above "Patch: ..." with "#
> > bump serial_test dev-dependency from 0.5 to 2"
> 
> it has this right now
> # * bump serial_test to 2
> 
> I can make it more explicit

Ah, that line is only in the linked spec, but not in the spec in the linked SRPM.
So I guess you forgot to re-run rpmbuild -bs after adding it.
The line you have there is fine, no need to be more verbose.

> > - Can you submit the patch to update this dependency as a PR to upstream?
> 
> Can do. In this case I should probably make upstream accept a range from 0.5
> to 2, right, since obviously it still works with 0.5 too

That would be perfect. Something like ">=0.5,<3".

> > - Please exclude some files that don't make sense in the packaging - like
> > coverage.sh and coverage-style.css.patch. This might also make sense as a PR
> > for upstream.
> > 
> 
> Will do too, thanks

:+1:

Comment 4 Michel Lind 2024-01-08 17:40:44 UTC
(In reply to Fabio Valentini from comment #3)
> (In reply to Michel Lind from comment #2)
> > (In reply to Fabio Valentini from comment #1)
> > > Three minor issues:
> > > 
> > > - Please document the patch (like adding a line above "Patch: ..." with "#
> > > bump serial_test dev-dependency from 0.5 to 2"
> > 
> > it has this right now
> > # * bump serial_test to 2
> > 
> > I can make it more explicit
> 
> Ah, that line is only in the linked spec, but not in the spec in the linked
> SRPM.
> So I guess you forgot to re-run rpmbuild -bs after adding it.
> The line you have there is fine, no need to be more verbose.
> 
> > > - Can you submit the patch to update this dependency as a PR to upstream?
> > 
> > Can do. In this case I should probably make upstream accept a range from 0.5
> > to 2, right, since obviously it still works with 0.5 too
> 
> That would be perfect. Something like ">=0.5,<3".
> 
> > > - Please exclude some files that don't make sense in the packaging - like
> > > coverage.sh and coverage-style.css.patch. This might also make sense as a PR
> > > for upstream.
> > > 
> > 
> > Will do too, thanks
> 
> :+1:

sent PRs upstream for both (see updated spec for links to PRs)

Spec URL: https://salimma.fedorapeople.org/rust-reference-counted-singleton.spec
SRPM URL: https://salimma.fedorapeople.org/rust-reference-counted-singleton-0.1.2-1.fc38.src.rpm

Comment 5 Fedora Review Service 2024-01-08 17:47:00 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6872357
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2257189-rust-reference-counted-singleton/fedora-rawhide-x86_64/06872357-rust-reference-counted-singleton/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 6 Fabio Valentini 2024-01-08 19:05:37 UTC
Package was generated with rust2rpm, simplifying the review.

- package builds and installs without errors on rawhide
- test suite is run and all unit tests pass
- latest version of the crate is packaged
- license matches upstream specification (MIT) and is acceptable for Fedora
- license file is 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 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)

===

You would not have needed to exclude ".gitignore", any hidden files should already be excluded by %cargo_install automatically, but it doesn't hurt.

Comment 7 Michel Lind 2024-01-09 01:23:00 UTC
Ah, I'll keep it for now since it doesn't matter anyway, and upstream will hopefully accept the PR soon with or without changes. thanks!

Comment 8 Fedora Admin user for bugzilla script actions 2024-01-09 01:23:56 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-reference-counted-singleton

Comment 9 Fedora Update System 2024-01-09 02:24:30 UTC
FEDORA-2024-cb524aedca has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-cb524aedca

Comment 10 Fedora Update System 2024-01-09 02:24:31 UTC
FEDORA-2024-3be808720f has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2024-3be808720f

Comment 11 Fedora Update System 2024-01-10 01:48:00 UTC
FEDORA-2024-cb524aedca has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-cb524aedca \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-cb524aedca

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

Comment 12 Fedora Update System 2024-01-10 01:57:48 UTC
FEDORA-2024-3be808720f 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-2024-3be808720f \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-3be808720f

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

Comment 13 Fedora Update System 2024-01-18 01:24:54 UTC
FEDORA-2024-3be808720f has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2024-01-18 01:45:21 UTC
FEDORA-2024-cb524aedca has been pushed to the Fedora 39 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.