Bug 231422

Summary: ports-mgmt/portlint: GH_xx lines should be acceptable in the USExx section after USE_GITHUB=yes
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: Joe Marcus Clarke <marcus>
Status: Closed FIXED    
Severity: Affects Only Me CC: db
Priority: --- Flags: bugzilla: maintainer-feedback? (marcus)
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239045
Attachments:
Description Flags
Allows GH_* in USES section
none
Updated patch none

Description Yuri Victorovich freebsd_committer freebsd_triage 2018-09-17 08:30:45 UTC
Testcase: textproc/py-orange3-text

> WARN: Makefile: extra item placed in the USES/USE_x section, for example, "GH_ACCOUNT"

GH_ACCOUNT/GH_PROJECT/GH_TUPLE lines should be allowed in the USExx section when they immediately follow USE_HITHUB=yes because it is often more readable when github-related lines are located together.

Likewise, GL_xx lines should be allowed to follow USE_GITLAB=yes.


Version 2.18.4.
Comment 1 Diane Bruce freebsd_committer freebsd_triage 2018-10-02 13:47:10 UTC
Created attachment 197713 [details]
Allows GH_* in USES section

I'm very rusty at perl but I was fixing another problem in portlint anyway so here is my attempt.
Comment 2 Diane Bruce freebsd_committer freebsd_triage 2018-10-02 13:49:17 UTC
(In reply to Diane Bruce from comment #1)
Oh I forgot to check that USE_GITHUB was set as well. I'll fix later.
Comment 3 Diane Bruce freebsd_committer freebsd_triage 2018-10-02 16:33:00 UTC
Created attachment 197718 [details]
Updated patch
Comment 4 Joe Marcus Clarke freebsd_committer freebsd_triage 2018-10-13 13:03:07 UTC
Committed to my CVS repo pending the next release.
Comment 5 Joe Marcus Clarke freebsd_committer freebsd_triage 2018-10-13 15:41:04 UTC
Committed to 2.18.5.  Thanks!