Bug 244814 - [NEW PORT] devel/golangci-lint: Linters Runner for Go
Summary: [NEW PORT] devel/golangci-lint: Linters Runner for Go
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Hiroki Tagato
URL: https://github.com/golangci/golangci-...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-14 20:50 UTC by Lewis Cook
Modified: 2020-05-23 10:41 UTC (History)
2 users (show)

See Also:


Attachments
golangci-lint.1.23.8.diff (24.03 KB, patch)
2020-03-14 20:50 UTC, Lewis Cook
no flags Details | Diff
golangci-lint.1.23.8.log (74.58 KB, text/plain)
2020-03-14 20:51 UTC, Lewis Cook
no flags Details
golangci-lint-1.26.0.diff (26.00 KB, patch)
2020-05-05 16:13 UTC, Lewis Cook
no flags Details | Diff
golangci-lint-1.26.0.log (80.92 KB, text/plain)
2020-05-05 16:13 UTC, Lewis Cook
no flags Details
golangci-lint-1.27.0.diff (25.99 KB, patch)
2020-05-21 13:16 UTC, Lewis Cook
no flags Details | Diff
golangci-lint-1.27.0.log (39.63 KB, text/plain)
2020-05-21 13:17 UTC, Lewis Cook
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lewis Cook freebsd_committer freebsd_triage 2020-03-14 20:50:05 UTC
Created attachment 212414 [details]
golangci-lint.1.23.8.diff

GolangCI-Lint is a linters aggregator. It's fast:
on average 5 times faster than gometalinter.
It's easy to integrate and use, has nice output
and has a minimum number of false positives.
It supports go modules.

WWW: https://github.com/golangci/golangci-lint

Testing:
   * No errors reported with portlint, built in Poudriere and
     application works as expected (logs attached).
Comment 1 Lewis Cook freebsd_committer freebsd_triage 2020-03-14 20:51:09 UTC
Created attachment 212415 [details]
golangci-lint.1.23.8.log

* Poudriere build log.
Comment 2 Lewis Cook freebsd_committer freebsd_triage 2020-05-05 16:13:38 UTC
Created attachment 214162 [details]
golangci-lint-1.26.0.diff

* Update to 1.26.0.
Comment 3 Lewis Cook freebsd_committer freebsd_triage 2020-05-05 16:13:59 UTC
Created attachment 214163 [details]
golangci-lint-1.26.0.log

* Poudriere testport log.
Comment 4 Michael Tuexen freebsd_committer freebsd_triage 2020-05-17 11:26:09 UTC
Any chance to get that in? It would be used when developing code for syzkaller.
Comment 5 Hiroki Tagato freebsd_committer freebsd_triage 2020-05-21 12:10:04 UTC
Hi,

There is a newer version (1.27.0) available on GitHub. Would you care to update the patch to the latest version?
Comment 6 Lewis Cook freebsd_committer freebsd_triage 2020-05-21 13:16:30 UTC
Created attachment 214719 [details]
golangci-lint-1.27.0.diff

* Update to 1.27.0.
Comment 7 Lewis Cook freebsd_committer freebsd_triage 2020-05-21 13:17:41 UTC
Created attachment 214720 [details]
golangci-lint-1.27.0.log

* Poudriere testport log.
Comment 8 commit-hook freebsd_committer freebsd_triage 2020-05-23 10:40:51 UTC
A commit references this bug:

Author: tagattie
Date: Sat May 23 10:39:51 UTC 2020
New revision: 536284
URL: https://svnweb.freebsd.org/changeset/ports/536284

Log:
  GolangCI-Lint is a linters aggregator. It's fast, on average 5 times
  faster than gometalinter. It's easy to integrate and use, has nice
  output and has a minimum number of false positives. It supports go
  modules.

  WWW: https://github.com/golangci/golangci-lint

  PR:		244814
  Submitted by:	Lewis Cook <vulcan@wired.sh>
  Approved by:	ehaupt (mentor)

Changes:
  head/devel/Makefile
  head/devel/golangci-lint/
  head/devel/golangci-lint/Makefile
  head/devel/golangci-lint/distinfo
  head/devel/golangci-lint/pkg-descr
Comment 9 Hiroki Tagato freebsd_committer freebsd_triage 2020-05-23 10:41:31 UTC
Committed, thanks!