[Bug 2314746] Review Request: gdu - Fast disk usage analyzer with console interface written in Go

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2314746



--- Comment #10 from Mikel Olasagasti Uranga <mikel@xxxxxxxxxxxxxxx> ---
> Source:         https://github.com/dundee/gdu/releases/download/v%{version}/gdu-%{version}.tgz

Is there any issue with using "Source:         %{gosource}" ?

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

Optionally can be replaced with

%gobuild -o %{gobuilddir}/bin/%{name} %{goipath}/cmd/%{name}


> export GOPATH=$(pwd)/_build:%{gopath}
> # all ignored tests fails because of root user
> %gotest %{goipath}/cmd/gdu/app || :
> %gotest %{goipath}/internal/common
> %gotest %{goipath}/pkg/analyze || :
> %gotest %{goipath}/pkg/device
> %gotest %{goipath}/pkg/path
> %gotest %{goipath}/pkg/remove || :
> %gotest %{goipath}/report
> %gotest %{goipath}/stdout || :
> %gotest %{goipath}/tui || :

You can use -d or -t to skip certain directories or dir-tree in case tests are
failing or require credentials, special conditions, etc.

If a single test is failing, you can try to skip it using the method used in
`doctl` pacakge for example (using awk).

> %{_mandir}/man1/gdu*

should be:

%{_mandir}/man1/gdu.1*


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2314746

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202314746%23c10

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux