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 1396817 - Review Request: setlock - a go port of setlock (an utility of daemontools)
Summary: Review Request: setlock - a go port of setlock (an utility of daemontools)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-NEEDSPONSOR FE-DEADREVIEW
TreeView+ depends on / blocked
 
Reported: 2016-11-20 14:34 UTC by IWAI, Masaharu
Modified: 2020-08-14 00:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-14 00:45:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description IWAI, Masaharu 2016-11-20 14:34:32 UTC
Spec URL: https://raw.githubusercontent.com/iwaim/fedora-pkgs/master/review/go-setlock/setlock.spec
SRPM URL: https://raw.githubusercontent.com/iwaim/fedora-pkgs/master/review/go-setlock/setlock-1.3.0-1.fc23.src.rpm
Description: go-setlock is a go port of setlock (an utility of daemontools).
Fedora Account System Username: iwaim

Comment 1 Thomas Andrejak 2016-11-20 15:54:27 UTC
I'm not a packager yet, hence the review is unofficial.

- Summary:
Start with an upcase

- Patch0:
Please add the URL to the upstream issue

- %files
Why are you forcing defattr, it should be OK by default
LICENSE is not a %doc but a %license

Comment 2 Thomas Andrejak 2016-11-20 16:27:20 UTC
is there a reason that you do not use %gobuild and %gotest ?

Because without this, I have this error :
+ go build cmd/setlock/setlock.go
# command-line-arguments
cmd/setlock/setlock.go:9:20: error: import file './../../go-setlock' not found
  "./../../go-setlock"

Comment 3 IWAI, Masaharu 2016-11-24 09:33:33 UTC
(In reply to Thomas Andrejak from comment #1)
> I'm not a packager yet, hence the review is unofficial.

Thanks for your review.

> - Summary:
> Start with an upcase

Fixed.

> - Patch0:
> Please add the URL to the upstream issue

It's my patch for creating RPM package.
So its upstream issue is nothing.


> - %files
> Why are you forcing defattr, it should be OK by default
> LICENSE is not a %doc but a %license

Fixed.

Comment 4 IWAI, Masaharu 2016-11-24 09:36:59 UTC
(In reply to Thomas Andrejak from comment #2)
> is there a reason that you do not use %gobuild and %gotest ?

Fedora 23 and EPEL 7 don't define its rpm macros.


> Because without this, I have this error :
> + go build cmd/setlock/setlock.go
> # command-line-arguments
> cmd/setlock/setlock.go:9:20: error: import file './../../go-setlock' not
> found
>   "./../../go-setlock"

My build with mock is success. What is your build environment?

Thanks.

Comment 6 Tobias Florek 2017-03-08 21:47:35 UTC
Re %gobuild and %gotest

I stumbled upon it today as well. You can just %define gobuild when it's not already defined:

%if ! 0%{?gobuild:1}
function _gobuild { go build -a -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')" -v -x "$@"; }
%global gobuild _gobuild
%endif

or maybe more elegantly ;).

Comment 7 Package Review 2020-07-14 00:45:24 UTC
This is an automatic check from review-stats script.

This review request ticket hasn't been updated for some time. We're sorry
it is taking so long. If you're still interested in packaging this software
into Fedora repositories, please respond to this comment clearing the
NEEDINFO flag.

You may want to update the specfile and the src.rpm to the latest version
available and to propose a review swap on Fedora devel mailing list to increase
chances to have your package reviewed. If this is your first package and you
need a sponsor, you may want to post some informal reviews. Read more at
https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group.

Without any reply, this request will shortly be considered abandoned
and will be closed.
Thank you for your patience.

Comment 8 Package Review 2020-08-14 00:45:17 UTC
This is an automatic action taken by review-stats script.

The ticket submitter failed to clear the NEEDINFO flag in a month.
As per https://fedoraproject.org/wiki/Policy_for_stalled_package_reviews
we consider this ticket as DEADREVIEW and proceed to close it.


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