Bug 2023085 - Review Request: xq - Command line XML beautifier and content extractor, similar to jq
Summary: Review Request: xq - Command line XML beautifier and content extractor, simil...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-14 15:41 UTC by Mikel Olasagasti Uranga
Modified: 2021-12-01 01:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-01 01:13:48 UTC
Type: ---
Embargoed:
zbyszek: fedora-review+


Attachments (Terms of Use)

Description Mikel Olasagasti Uranga 2021-11-14 15:41:05 UTC
Spec URL: https://mikel.olasagasti.info/tmp/fedora/golang-github-sibprogrammer-xq.spec
SRPM URL: https://mikel.olasagasti.info/tmp/fedora/golang-github-sibprogrammer-xq-0.0.5-1.fc35.src.rpm
Description: Command line XML beautifier and content extractor, similar to jq
Fedora Account System Username: mikelo2

Comment 1 Zbigniew Jędrzejewski-Szmek 2021-11-21 12:26:55 UTC
- package name is OK
I think the name is OK, but I expect users will want to say 'dnf install xq'. So please add Provides:xq.

- license is acceptable for Fedora (MIT)
- license is specified correctly
- latest version:
Please update to 0.0.6 (released 20h ago ;))

- builds and installs OK
- seems to work as expected
- the standard go template is used
- BR/P/R look OK (apart from the note above…)

Suggestion:
install -m 0755 -vd                     %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
→
install -Dpvt %{buildroot}%{_bindir}/ %{gobuilddir}/bin/*

rpmlint:
golang-github-sibprogrammer-xq.src: W: spelling-error Summary(en_US) jq -> j, q, sq
golang-github-sibprogrammer-xq.src: W: spelling-error %description -l en_US jq -> j, q, sq
golang-github-sibprogrammer-xq.src:56: W: macro-in-%changelog %autochangelog
golang-github-sibprogrammer-xq.x86_64: W: spelling-error Summary(en_US) jq -> j, q, sq
golang-github-sibprogrammer-xq.x86_64: W: spelling-error %description -l en_US jq -> j, q, sq
golang-github-sibprogrammer-xq.x86_64: W: no-manual-page-for-binary xq
golang-github-sibprogrammer-xq-devel.noarch: W: spelling-error Summary(en_US) jq -> j, q, sq
golang-github-sibprogrammer-xq-devel.noarch: W: spelling-error %description -l en_US jq -> j, q, sq
golang-github-sibprogrammer-xq-devel.noarch: W: hidden-file-or-dir /usr/share/gocode/src/github.com/sibprogrammer/xq/.goipath
5 packages and 0 specfiles checked; 0 errors, 9 warnings.
All bogus.

Package is APPROVED. Please see some notes above.

Comment 2 Mikel Olasagasti Uranga 2021-11-21 20:18:57 UTC
Thanks for reviewing Zbigniew!

> - package name is OK
> I think the name is OK, but I expect users will want to say 'dnf install xq'. So please add Provides:xq.

I did it wrong. Package should be named xq.spec directly, as with other go packages and as the name of the BZ shows.

> install -m 0755 -vd                     %{buildroot}%{_bindir}
> install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
> →
> install -Dpvt %{buildroot}%{_bindir}/ %{gobuilddir}/bin/*

This comes from go2rpm, maybe the change needs to go to that package so everyone applies the same.

I updated the spec with correct name:

Spec URL: https://mikel.olasagasti.info/tmp/fedora/xq.spec
SRPM URL: https://mikel.olasagasti.info/tmp/fedora/xq-0.0.6-1.fc35.src.rpm

I don't think the name changing changes the review, so I'm requesting the repo. If you think I should create a nwe BZ or alike let me know.

Comment 3 Zbigniew Jędrzejewski-Szmek 2021-11-21 20:23:24 UTC
> This comes from go2rpm, maybe the change needs to go to that package so everyone applies the same.

Oh, OK. Yeah, then it's better to leave it as is.

> I updated the spec with correct name:
> I don't think the name changing changes the review, so I'm requesting the repo. If you think I should create a nwe BZ or alike let me know.

Yep, it's all good.

Comment 4 Gwyn Ciesla 2021-11-22 15:47:45 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/xq

Comment 5 Fedora Update System 2021-11-22 20:38:15 UTC
FEDORA-2021-dcc8f652f2 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-dcc8f652f2

Comment 6 Fedora Update System 2021-11-23 01:06:20 UTC
FEDORA-2021-594822c195 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-594822c195 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-594822c195

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

Comment 7 Fedora Update System 2021-11-23 01:19:12 UTC
FEDORA-2021-dcc8f652f2 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-2021-dcc8f652f2 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-dcc8f652f2

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

Comment 8 Fedora Update System 2021-12-01 01:13:48 UTC
FEDORA-2021-594822c195 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2021-12-01 01:20:20 UTC
FEDORA-2021-dcc8f652f2 has been pushed to the Fedora 35 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.