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 2053963 - Review Request: golang-github-martinhoefling-goxkcdpwgen - Xkcd style password generator library and cli tool
Summary: Review Request: golang-github-martinhoefling-goxkcdpwgen - Xkcd style passwor...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mikel Olasagasti Uranga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2053969
TreeView+ depends on / blocked
 
Reported: 2022-02-13 16:20 UTC by Fabio Alessandro Locati
Modified: 2022-03-26 15:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-25 23:16:16 UTC
Type: ---
Embargoed:
mikel: fedora-review+


Attachments (Terms of Use)

Comment 1 Mikel Olasagasti Uranga 2022-02-21 21:46:06 UTC
> %global common_description %{expand:
> Xkcd style password generator library and cli tool.}
> (...)
> Summary:        Xkcd style password generator library and cli tool

Should be `xkcd` instead of `Xkcd` as described in https://xkcd.com/about/

> %global godocs          README.md wordlists/eff_short_wordlist_2_0.txt\\\
>                        wordlists/eff_large_wordlist.txt\\\
>                        wordlists/de_wordlist.txt
> %doc README.md wordlists/eff_short_wordlist_2_0.txt
> %doc wordlists/eff_large_wordlist.txt wordlists/de_wordlist.txt

The wordlist are included in the code, I don't think they should go as doc.

> for cmd in _generator; do
>   %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
> done

The cmd in _generator is used to generate the generated.go file in xkcdpwgen, I don't think it makes sense to ship it in Fedora

> BuildRequires:  golang(golang.org/x/tools/imports)
> (...)
> %generate_buildrequires
> %go_generate_buildrequires

As the package only depends on golang(golang.org/x/tools/imports) and in golang(github.com/stretchr/testify/assert) for tests, maybe you can just use one method.

On top of all that, consider using rpmautospec for easier future maintenance.

Comment 3 Mikel Olasagasti Uranga 2022-03-17 12:31:19 UTC
Thanks applying proposed changes.

go2rpm package, fedora-review is correct:

- The specfile is sane
- License is correct
- Builds successfully in mock
- No rpmlint errors
- %check section passes (no tests available)
- The latest version is packaged
- The package complies with the Packaging Guidelines

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

- Add package to release-monitoring.org
- Add package to Koschei
- Give go-sig privileges on package
- Close the review bug by referencing it in the rpm changelog and/or the Bodhi ticket

Comment 4 Tomas Hrcka 2022-03-17 20:54:27 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-github-martinhoefling-goxkcdpwgen

Comment 5 Fedora Update System 2022-03-17 22:34:48 UTC
FEDORA-2022-0702344b40 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-0702344b40

Comment 6 Fedora Update System 2022-03-17 22:34:48 UTC
FEDORA-2022-956bb75251 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-956bb75251

Comment 7 Fedora Update System 2022-03-18 15:53:33 UTC
FEDORA-2022-0702344b40 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2022-0702344b40 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-0702344b40

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

Comment 8 Fedora Update System 2022-03-18 20:08:36 UTC
FEDORA-2022-956bb75251 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2022-956bb75251 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-956bb75251

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

Comment 9 Fedora Update System 2022-03-25 23:16:16 UTC
FEDORA-2022-956bb75251 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2022-03-26 15:24:59 UTC
FEDORA-2022-0702344b40 has been pushed to the Fedora 36 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.