Bug 2416340 - Review Request: rust-cliclack - Beautiful, minimal, opinionated CLI prompts inspired by the Clack NPM package
Summary: Review Request: rust-cliclack - Beautiful, minimal, opinionated CLI prompts i...
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/cliclack
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-21 13:08 UTC by Rodolfo Olivieri
Modified: 2026-02-09 19:00 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-02-09 19:00:44 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 9826892 to 9835822 (389 bytes, patch)
2025-11-25 10:39 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 10035987 to 10047397 (1.28 KB, patch)
2026-01-22 11:59 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 10047397 to 10073536 (1.27 KB, patch)
2026-01-28 21:51 UTC, Fedora Review Service
no flags Details | Diff

Comment 1 Fedora Review Service 2025-11-22 03:00:35 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9826892
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2416340-rust-cliclack/fedora-rawhide-x86_64/09826892-rust-cliclack/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 Terje Rosten 2025-11-24 13:45:52 UTC
Why is Release set to such strange value?

Comment 3 Rodolfo Olivieri 2025-11-25 10:21:24 UTC
Hm. That's a good point, @terjeros. I don't remember if this one I did by running copr build locally, or if I used the packit automation. In any case, let me do it again.

Comment 4 Rodolfo Olivieri 2025-11-25 10:27:27 UTC
Ah, that's it! @terjeros! Packit is modifying the release bit like this. Let me see if I can disable that behavior.

Comment 6 Fedora Review Service 2025-11-25 10:39:59 UTC
Created attachment 2116167 [details]
The .spec file difference from Copr build 9826892 to 9835822

Comment 7 Fedora Review Service 2025-11-25 10:40:02 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9835822
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2416340-rust-cliclack/fedora-rawhide-x86_64/09835822-rust-cliclack/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 8 Terje Rosten 2025-11-25 10:49:45 UTC
> Source:         cliclack-0.3.6.crate

Should be 

Source:         %{crates_source}

> %autosetup -n cliclack-0.3.6 -p1

Should be:

%autosetup -n %{crate}-%{version} -p1

Comment 9 Rodolfo Olivieri 2025-11-25 10:56:41 UTC
@terjeros, I see packit[1] is causing more trouble than helping in this review. The original specfile can be found here https://raw.githubusercontent.com/r0x0d/rust-cliclack/refs/heads/main/rust-cliclack.spec, in that, you can see that it has the points you mention. I think packit expands the macros in the specfile when it submits to COPR and that's why you are seeing it without the macros.

I'm so sorry that it feels confusing at this point. 

[1]: https://packit.dev/

Comment 10 Terje Rosten 2025-12-02 13:13:00 UTC
Ok, I see, better to use links to pre generated spec file then.

Comment 11 Fabio Valentini 2025-12-22 15:12:56 UTC
In general: Don't use packit for Rust crates. The way packit works (without doing a bunch of custom configuration) is incompatible with Rust crate packages.

Comment 12 Fabio Valentini 2026-01-05 15:56:56 UTC
The URLs are now returning HTTP 404 errors. Did the COPR builds expire?
Please reupload the .spec and SRPM files in a more stable location.

Comment 13 Rodolfo Olivieri 2026-01-07 00:59:21 UTC
Hi, Fabio! 

Sure. I think the builds expired. 

I will retake this work in a couple of days, still finishing other priority work first.

Thanks for the feedback.

Comment 15 Rodolfo Olivieri 2026-01-19 11:26:52 UTC
Ugh. This is the specfile for the rawhide build https://download.copr.fedorainfracloud.org/results/r0x0d/rust-cliclack/fedora-rawhide-x86_64/10034777-rust-cliclack/rust-cliclack.spec. :facepalm:

Comment 16 Fedora Review Service 2026-01-19 19:48:38 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10035987
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2416340-rust-cliclack/fedora-rawhide-x86_64/10035987-rust-cliclack/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 17 Fabio Valentini 2026-01-20 13:59:06 UTC
Looks mostly OK, two minor issues:

1) Contains media files in media/* that looks like images that are embedded in README when rendered to HTML.
   It would make sense to exclude those from the built packages (and possibly even upstream, from published crates).

2) You must use "rust2rpm -p" to edit the contents of Cargo.toml.
   The final contents of Cargo.toml must be known to generate correct .spec files,
   so edits *cannot* be made manually with tools like sed or tomcli (unless you *really really* know what you're doing).

Comment 19 Fedora Review Service 2026-01-22 11:59:35 UTC
Created attachment 2123251 [details]
The .spec file difference from Copr build 10035987 to 10047397

Comment 20 Fedora Review Service 2026-01-22 11:59:38 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10047397
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2416340-rust-cliclack/fedora-rawhide-x86_64/10047397-rust-cliclack/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 21 Rodolfo Olivieri 2026-01-28 14:24:50 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/r0x0d/rust-cliclack/fedora-rawhide-x86_64/10072139-rust-cliclack/rust-cliclack.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/r0x0d/rust-cliclack/fedora-rawhide-x86_64/10072139-rust-cliclack/rust-cliclack-0.3.8-1.fc44.src.rpm

Notable updates: 

* Bumped to version 0.3.8 as upstream removed the media folder from the final crate
* Relaxed the dependency for console

Comment 22 Fedora Review Service 2026-01-28 21:51:30 UTC
Created attachment 2126259 [details]
The .spec file difference from Copr build 10047397 to 10073536

Comment 23 Fedora Review Service 2026-01-28 21:51:33 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10073536
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2416340-rust-cliclack/fedora-rawhide-x86_64/10073536-rust-cliclack/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 24 Fabio Valentini 2026-02-09 14:48:42 UTC
Looks good to me now. Thank you!

It would be great if the update from console 0.15.8 to 0.16 happened upstream too at some point so we don't need to carry this as a downstream patch forever, but that's not a blocker for this review.

===

Package was generated with rust2rpm, simplifying the review.

✅ package contains only permissible content
✅ patches are reasonable and justified (not upstreamed yet)
✅ 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 (*NOT* pre-release filter): alpha;beta;rc;pre
  distro: Fedora
  Package: rust-$crate

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

Comment 25 Fedora Admin user for bugzilla script actions 2026-02-09 18:34:02 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-cliclack

Comment 26 Fedora Update System 2026-02-09 18:57:16 UTC
FEDORA-2026-ab8cd13fee (rust-cliclack-0.3.8-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ab8cd13fee

Comment 27 Fedora Update System 2026-02-09 19:00:44 UTC
FEDORA-2026-ab8cd13fee (rust-cliclack-0.3.8-1.fc45) has been pushed to the Fedora 45 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.