Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2271100 - Review Request: rust-appdirs - Rust crate for determining platform-specific directories
Summary: Review Request: rust-appdirs - Rust crate for determining platform-specific d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/appdirs
Whiteboard:
Depends On:
Blocks: FE-NEEDSPONSOR
TreeView+ depends on / blocked
 
Reported: 2024-03-22 17:57 UTC by wojnilowicz
Modified: 2024-04-22 17:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-22 17:51:12 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)

Description wojnilowicz 2024-03-22 17:57:18 UTC
Spec URL: https://github.com/wojnilowicz/rust-appdirs/blob/main/rust-appdirs.spec
SRPM URL: https://github.com/wojnilowicz/rust-appdirs/releases/download/0.2.0/rust-appdirs-0.2.0-1.fc39.src.rpm
Description: Rust crate for determining platform-specific directories
Fedora Account System Username: wojnilowicz

I plan on packaging https://github.com/ActivityWatch/aw-server-rust and appdirs is its requirement.

Comment 1 Fedora Review Service 2024-03-22 18:03:29 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7202514
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2271100-rust-appdirs/fedora-rawhide-x86_64/07202514-rust-appdirs/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 2 Fabio Valentini 2024-04-06 11:27:06 UTC
Please link to the actual "raw" spec file, not the HTML page on GitHub that shows the spec file.

Comment 3 wojnilowicz 2024-04-06 18:31:21 UTC
(In reply to Fabio Valentini from comment #2)
> Please link to the actual "raw" spec file, not the HTML page on GitHub that
> shows the spec file.

Done.

Spec URL: https://raw.githubusercontent.com/wojnilowicz/rust-appdirs/main/rust-appdirs.spec
SRPM URL: https://github.com/wojnilowicz/rust-appdirs/releases/download/0.2.0/rust-appdirs-0.2.0-1.fc39.src.rpm
Description: Rust crate for determining platform-specific directories
Fedora Account System Username: wojnilowicz

I plan on packaging https://github.com/ActivityWatch/aw-server-rust and appdirs is its requirement.

Comment 4 wojnilowicz 2024-04-14 07:59:08 UTC
@decathorpe is there anything more that I should do to get this rolling?

Comment 5 Fabio Valentini 2024-04-18 14:59:36 UTC
Is there a reason why you opted out of rpmautospec for this package?

It is the default for Rust packages for years, and the preferred option for all new Fedora package since Fedora 38.
see also https://fedoraproject.org/wiki/Changes/Rpmautospec_by_Default

rpmautospec is especially useful for Rust packages, since the way they work currently requires re-generating the spec file with rust2rpm for every new upstream version - with rpmautospec this is easy, without it, it requires restoring the changelog manually.

Other than that, the package looks good to me.

Comment 6 wojnilowicz 2024-04-18 15:51:16 UTC
(In reply to Fabio Valentini from comment #5)
> Is there a reason why you opted out of rpmautospec for this package?
> 
> It is the default for Rust packages for years, and the preferred option for
> all new Fedora package since Fedora 38.
> see also https://fedoraproject.org/wiki/Changes/Rpmautospec_by_Default
> 
> rpmautospec is especially useful for Rust packages, since the way they work
> currently requires re-generating the spec file with rust2rpm for every new
> upstream version - with rpmautospec this is easy, without it, it requires
> restoring the changelog manually.
> 
> Other than that, the package looks good to me.

No reason. I've just updated the spec file to use rpmautospec. Could you approve the package then?

Comment 7 Fabio Valentini 2024-04-19 12:59:04 UTC
Looks good to me, thank you!

Comment 8 Fabio Valentini 2024-04-19 12:59:20 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 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)

Comment 9 wojnilowicz 2024-04-19 15:04:31 UTC
Thanks. I cannot log in to release-monitoring.org with my Fedora Account because of the 401 error. It says that I'm unauthorized. Maybe because I still haven't found my sponsor at https://pagure.io/packager-sponsors/issue/640

Could you sponsor me as well?

Comment 10 Fabio Valentini 2024-04-21 17:45:41 UTC
> I cannot log in to release-monitoring.org with my Fedora Account because of the 401 error. It says that I'm unauthorized.

I think that was due to infrastructure issues with the authentication / identity provider.

> Could you sponsor me as well?

I theoretically can, but I don't have the bandwidth for it now.

Please follow the process for becoming a packager:
https://docs.fedoraproject.org/en-US/package-maintainers/Joining_the_Package_Maintainers/

Comment 11 wojnilowicz 2024-04-21 18:37:23 UTC
(In reply to Fabio Valentini from comment #10)
> > I cannot log in to release-monitoring.org with my Fedora Account because of the 401 error. It says that I'm unauthorized.
> 
> I think that was due to infrastructure issues with the authentication /
> identity provider.

Indeed. I've set up a package there.

> > Could you sponsor me as well?
> 
> I theoretically can, but I don't have the bandwidth for it now.
> 
> Please follow the process for becoming a packager:
> https://docs.fedoraproject.org/en-US/package-maintainers/
> Joining_the_Package_Maintainers/

Understandable. I've posted an introduction to the devel mailing list. Not sure if I have more possibilities now.

Comment 12 Fedora Admin user for bugzilla script actions 2024-04-22 16:37:39 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-appdirs

Comment 13 Fedora Update System 2024-04-22 17:41:13 UTC
FEDORA-2024-935a17fbb0 (rust-appdirs-0.2.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-935a17fbb0

Comment 14 Fedora Update System 2024-04-22 17:51:12 UTC
FEDORA-2024-935a17fbb0 (rust-appdirs-0.2.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.


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