Bug 2249890

Summary: Review Request: golang-maunium-mauflag - An extendable argument parser for Golang
Product: [Fedora] Fedora Reporter: Kai A. Hiller <V02460>
Component: Package ReviewAssignee: Mikel Olasagasti Uranga <mikel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mikel, package-review
Target Milestone: ---Keywords: AutomationTriaged
Target Release: ---Flags: mikel: fedora-review+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-11 23:18:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2250408    
Attachments:
Description Flags
The .spec file difference from Copr build 6639884 to 6677251
none
The .spec file difference from Copr build 6677251 to 7165355 none

Description Kai A. Hiller 2023-11-15 20:10:31 UTC
Spec URL: https://v02460.fedorapeople.org/golang-maunium-mauflag.spec
SRPM URL: https://v02460.fedorapeople.org/golang-maunium-mauflag-1.0.0-1.fc40.src.rpm
Description: An extendable argument parser for Golang
Fedora Account System Username: v02460

Comment 1 Fedora Review Service 2023-11-15 20:17:03 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6639884
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2249890-golang-maunium-mauflag/fedora-rawhide-x86_64/06639884-golang-maunium-mauflag/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 3 Fedora Review Service 2023-11-22 01:57:10 UTC
Created attachment 2000827 [details]
The .spec file difference from Copr build 6639884 to 6677251

Comment 4 Fedora Review Service 2023-11-22 01:57:13 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6677251
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2249890-golang-maunium-mauflag/fedora-rawhide-x86_64/06677251-golang-maunium-mauflag/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 Fedora Review Service 2024-03-15 17:53:47 UTC
Created attachment 2021840 [details]
The .spec file difference from Copr build 6677251 to 7165355

Comment 7 Fedora Review Service 2024-03-15 17:53:49 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7165355
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2249890-golang-maunium-mauflag/fedora-rawhide-x86_64/07165355-golang-maunium-mauflag/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 Mikel Olasagasti Uranga 2024-04-07 10:04:52 UTC
The `flagtest` binary is described as "flagtest - Test the mauflag packag", is it required?

https://github.com/tulir/mauflag/blob/master/flagtest/flagtest.go#L34C22-L34C56

If not required remove these lines to avoid shipping the binary:

> %build
> for cmd in flagtest; do
>   %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
> done
> (...)
> install -m 0755 -vd                     %{buildroot}%{_bindir}
> install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
> (...)
> %files
> %license LICENSE
> %doc README.md
> %{_bindir}/*

Comment 9 Kai A. Hiller 2024-04-11 17:17:46 UTC
The flagtest binary doesn’t seem to be required. Updated the spec file accordingly :)

Spec URL: https://v02460.fedorapeople.org/golang-maunium-mauflag.spec
SRPM URL: https://v02460.fedorapeople.org/golang-maunium-mauflag-1.0.0-4.fc41.src.rpm

Comment 10 Mikel Olasagasti Uranga 2024-04-11 17:37:21 UTC
Golang Package Review
==============

This package was generated using go2rpm, which simplifies the review.

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated


- [x] The latest version is packaged or packaging an earlier version is justified.
- [x] The License tag reflects the package contents and uses the correct identifiers.
- [x] The package builds successfully in mock.
- [x] Package is installable (checked by fedora-review).
- [x] There are no relevant rpmlint errors.
- [x] The package runs tests in %check.
- [x] `%goipath` is set correctly.
- [-] The package's binaries don't conflict with binaries already in the distribution. (Some Go projects include utility binaries with very generic names)
- [-] There are no `%{_bindir}/*` wildcards in %files. (go2rpm includes these by default)
- [x] The package does not use `%gometa -f` if it has dependents that still build for %ix86.
- [x] The package complies with the Golang and general Packaging Guidelines.

Package approved! On import, don't forget to do the following:

- [ ] Add the package to release-monitoring.org
- [ ] Give go-sig privileges (at least commit) on the package
- [ ] Close the review bug by referencing its ID in the rpm changelog and the Bodhi ticket.
- [ ] Consider configuring Packit service to help with maintenance

Thanks!

Comment 11 Fedora Admin user for bugzilla script actions 2024-04-11 21:47:33 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-maunium-mauflag

Comment 12 Fedora Update System 2024-04-11 23:11:22 UTC
FEDORA-2024-4055a58a98 (golang-maunium-mauflag-1.0.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-4055a58a98

Comment 13 Fedora Update System 2024-04-11 23:18:22 UTC
FEDORA-2024-4055a58a98 (golang-maunium-mauflag-1.0.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.