Bug 220659

Summary: www/gohugo: Update to 0.25.1
Product: Ports & Packages Reporter: Ben Lavery-Griffiths <ben>
Component: Individual Port(s)Assignee: Richard Gallamore <ultima>
Status: Closed FIXED    
Severity: Affects Only Me CC: ultima
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff to upgrade to 0.25.1
none
11.0-RELEASE amd64 log
none
11.0-RELEASE i386 log
none
12.0-CURRENT amd64 log
none
12.0-CURRENT i386 (lang/go14) log
none
10.3-RELEASE amd64 log
none
10.3-RELEASE i386 log
none
svn diff to upgrade to 0.25.1 none

Description Ben Lavery-Griffiths 2017-07-11 17:53:45 UTC
Created attachment 184270 [details]
svn diff to upgrade to 0.25.1

gohugo has been updated to 0.25.1 (https://github.com/spf13/hugo/releases/tag/v0.25.1):

The attached svn diff brings this port up from 0.25 to 0.25.1

Change log:
- Fix union when the first slice is empty 
- Navigate to changed on CREATE When working with content from IntelliJ IDE, like - WebStorm, every file save is followed by two events: "RENAME" and then "CREATE". 
- Final (!) fix for issue with escaped JSON front matter 
- Fix issue with escaped JSON front matter

Tested against amd64/i386 10.3-RELEASE, 11.0-RELEASE, and 12.0-CURRENT. Poudriere logs attached.
Issue with building lang/go14 in i386 12.0-CURRENT in poudriere, so this failed.  However port built fine manually on a i386 12.0-CURRENT VM.

portlint -AC:
looks fine.

poudriere bulk -tC:
103Ramd64: success
103Ri386: success
11Ramd64: success
11Ri386: success
12Camd64: success
12Ci386: Finished build of lang/go14: Failed: pkg-depends
Comment 1 Ben Lavery-Griffiths 2017-07-11 17:54:07 UTC
Created attachment 184271 [details]
11.0-RELEASE amd64 log
Comment 2 Ben Lavery-Griffiths 2017-07-11 17:54:21 UTC
Created attachment 184272 [details]
11.0-RELEASE i386 log
Comment 3 Ben Lavery-Griffiths 2017-07-11 17:54:37 UTC
Created attachment 184273 [details]
12.0-CURRENT amd64 log
Comment 4 Ben Lavery-Griffiths 2017-07-11 17:54:54 UTC
Created attachment 184274 [details]
12.0-CURRENT i386 (lang/go14) log
Comment 5 Ben Lavery-Griffiths 2017-07-11 17:55:11 UTC
Created attachment 184275 [details]
10.3-RELEASE amd64 log
Comment 6 Ben Lavery-Griffiths 2017-07-11 17:55:30 UTC
Created attachment 184276 [details]
10.3-RELEASE i386 log
Comment 7 Richard Gallamore freebsd_committer freebsd_triage 2017-07-18 17:16:12 UTC
I am having some difficulties applying the patch. Can you please regenerate?
Comment 8 Ben Lavery-Griffiths 2017-07-18 18:04:11 UTC
Created attachment 184481 [details]
svn diff to upgrade to 0.25.1

(In reply to Richard Gallamore from comment #7)

Regenerated now, please find attached :)
Comment 9 commit-hook freebsd_committer freebsd_triage 2017-07-19 18:06:22 UTC
A commit references this bug:

Author: ultima
Date: Wed Jul 19 18:05:51 UTC 2017
New revision: 446221
URL: https://svnweb.freebsd.org/changeset/ports/446221

Log:
  * Updated to 0.25.1
   - Fix union when the first slice is empty
   - Navigate to changed on CREATE When working with content from IntelliJ IDE, like - WebStorm, every file save is followed by two events: "RENAME" and then "CREATE".
   - Final (!) fix for issue with escaped JSON front matter
   - Fix issue with escaped JSON front matter

  PR:		220659
  Submitted by:	<ben.lavery@hashbang0.com> (maintainer)
  Reviewed by:	lifanov (mentor)
  Approved by:	lifanov (mentor)
  Differential Revision:	https://reviews.freebsd.org/D11642

Changes:
  head/www/gohugo/Makefile
  head/www/gohugo/distinfo
Comment 10 Richard Gallamore freebsd_committer freebsd_triage 2017-07-19 18:10:36 UTC
Committed, thanks!