Bug 2174380 - Review Request: rust-git-absorb - Git commit --fixup, but automatic
Summary: Review Request: rust-git-absorb - Git commit --fixup, but automatic
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Maxwell G
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/git-absorb
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-01 11:57 UTC by Fabio Valentini
Modified: 2023-03-02 13:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-02 13:41:04 UTC
Type: ---
Embargoed:
maxwell: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 5582269 to 5583818 (1.15 KB, patch)
2023-03-01 18:38 UTC, Jakub Kadlčík
no flags Details | Diff

Description Fabio Valentini 2023-03-01 11:57:32 UTC
Spec URL: https://decathorpe.fedorapeople.org/rust-git-absorb.spec
SRPM URL: https://decathorpe.fedorapeople.org/rust-git-absorb-0.6.9-1.fc37.src.rpm

Description:
Git commit --fixup, but automatic.

Fedora Account System Username: decathorpe

Comment 1 Jakub Kadlčík 2023-03-01 12:10:55 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5582269
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2174380-rust-git-absorb/fedora-rawhide-x86_64/05582269-rust-git-absorb/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 Maxwell G 2023-03-01 17:24:30 UTC
Can you include the shell completions in the package?

```
%build
[...]
./target/release/git-absorb --gen-completions bash >git-absorb.bash
./target/release/git-absorb --gen-completions fish >git-absorb.fish
./target/release/git-absorb --gen-completions zsh >git-absorb.zsh
```

```
%install
[...]
install -Dpm 0644 git-absorb.bash %{buildroot}%{bash_completions_dir}/git-absorb
install -Dpm 0644 git-absorb.fish %{buildroot}%{fish_completions_dir}/git-absorb.fish
install -Dpm 0644 git-absorb.zsh %{buildroot}%{zsh_completions_dir}/_git-absorb
```

```
%files -n %{crate}
[...]
%{bash_completions_dir}/git-absorb
%{fish_completions_dir}/git-absorb.fish
%{zsh_completions_dir}/_git-absorb
```

Comment 3 Fabio Valentini 2023-03-01 17:29:19 UTC
Sure. I didn't know there were any completions, since they aren't mentioned in the project README or committed into git 😅

Comment 4 Fabio Valentini 2023-03-01 18:19:08 UTC
Spec URL: https://decathorpe.fedorapeople.org/rust-git-absorb.spec
SRPM URL: https://decathorpe.fedorapeople.org/rust-git-absorb-0.6.9-1.fc37.src.rpm

Changes: Generate and include shell completions for bash, fish, and zsh.

Comment 5 Jakub Kadlčík 2023-03-01 18:38:42 UTC
Created attachment 1947288 [details]
The .spec file difference from Copr build 5582269 to 5583818

Comment 6 Jakub Kadlčík 2023-03-01 18:38:45 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/5583818
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2174380-rust-git-absorb/fedora-rawhide-x86_64/05583818-rust-git-absorb/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 7 Maxwell G 2023-03-01 20:38:59 UTC
This package was generated with rust2rpm which simplifies the review.

- The package builds in mock.
- The test suite is run in %check.
- The latest version is packaged.
- The package includes the license texts and they are congruent with the License: tag. The License: accounts for statically linked dependencies.
- The package abides by the Rust Packaging Guidelines and general Packaging Guidelines.

Package APPROVED.

===

Recommended post-import rust-sig tasks:

- add @rust-sig with "commit" access as package co-maintainer

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

- 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

- track package in koschei for all built branches

Comment 8 Maxwell G 2023-03-01 20:39:17 UTC
Thanks for working on this!

Comment 9 Fabio Valentini 2023-03-01 21:21:28 UTC
Thanks for the quick review :)

Comment 10 Fedora Admin user for bugzilla script actions 2023-03-01 21:21:55 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-git-absorb


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