Bug 2093465 - Review Request: gmailctl - Declarative configuration for Gmail filters
Summary: Review Request: gmailctl - Declarative configuration for Gmail filters
Keywords:
Status: CLOSED CURRENTRELEASE
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: trivial
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-03 19:27 UTC by Mark E. Fuller
Modified: 2022-06-16 16:44 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-06-16 16:44:07 UTC
Type: ---
Embargoed:
mikel: fedora-review+


Attachments (Terms of Use)

Description Mark E. Fuller 2022-06-03 19:27:53 UTC
Spec URL: https://fuller.fedorapeople.org/golang-github-mbrt-gmailctl.spec
SRPM URL: https://fuller.fedorapeople.org/golang-github-mbrt-gmailctl-0.10.4-1.fc36.src.rpm
Description: Declarative configuration for Gmail filters 
Fedora Account System Username: fuller

Comment 1 Mikel Olasagasti Uranga 2022-06-08 11:22:32 UTC
Spec is correct, but before approving it two questions:

- Wouldn't it better to call package directly `gmailctl` rather than `golang-github-mbrt-gmailctl`? 

If you want so, define the following global:

%global goname          gmailctl

Rename the spec to gmailctl.spec and change this BZ's title.

You can check `doctl` as an example.

- You defined all the BuildRequires rather than using `%go_generate_buildrequires`. In some of your other specs you're using that macro, maybe you want to change this spec to use dynamic BuildRequires?

Comment 2 Mark E. Fuller 2022-06-08 15:41:12 UTC
Thanks for the suggestions and for the review

Re: BuildRequires, I had thought when I made up the spec that I was getting an error about a name mismatch when generating the requirements automatically - that isn't happening anymore.

Updated files:
Spec URL: https://fuller.fedorapeople.org/gmailctl.spec
SRPM URL: https://fuller.fedorapeople.org/gmailctl-0.10.4-1.fc36.src.rpm

Comment 3 Mikel Olasagasti Uranga 2022-06-08 16:10:07 UTC
go2rpm package, fedora-review is correct:

- The specfile is sane
- License is correct
- Builds successfully in mock
- No rpmlint errors
- %check section passes
- 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. (rhbz#BUG_ID)

Thanks!

Comment 4 Gwyn Ciesla 2022-06-08 20:53:08 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/gmailctl


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