Bug 222627 - www/gohugo: Update to 0.30.2
Summary: www/gohugo: Update to 0.30.2
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: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-26 19:42 UTC by Ben Lavery-Griffiths
Modified: 2017-10-19 20:25 UTC (History)
1 user (show)

See Also:


Attachments
svn diff to upgrade to 0.28 (5.38 KB, patch)
2017-09-26 19:42 UTC, Ben Lavery-Griffiths
no flags Details | Diff
poudriere logs for all platforms (4.67 KB, application/x-xz)
2017-09-26 19:42 UTC, Ben Lavery-Griffiths
no flags Details
svn diff to upgrade to 0.29 (5.38 KB, patch)
2017-09-26 20:04 UTC, Ben Lavery-Griffiths
no flags Details | Diff
Poudriere logs gohugo-0.29_2017-09-26 (4.82 KB, application/x-xz)
2017-09-26 20:04 UTC, Ben Lavery-Griffiths
no flags Details
svn diff to upgrade to 0.30 (18.51 KB, patch)
2017-10-16 21:11 UTC, Ben Lavery-Griffiths
no flags Details | Diff
Poudriere logs gohugo-0.30_2017-10-16 (5.38 KB, application/x-xz)
2017-10-16 21:12 UTC, Ben Lavery-Griffiths
no flags Details
svn diff to upgrade to 0.30.2 (18.51 KB, patch)
2017-10-19 17:36 UTC, Ben Lavery-Griffiths
ben: maintainer-approval+
Details | Diff
Poudriere logs gohugo-0.30.2_2017-10-19 (4.77 KB, application/x-xz)
2017-10-19 17:37 UTC, Ben Lavery-Griffiths
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Lavery-Griffiths 2017-09-26 19:42:37 UTC
Created attachment 186742 [details]
svn diff to upgrade to 0.28

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

The attached svn diff brings this port up from 0.27.1 to 0.28

Change log:
 - Add urls.Parse function
 - Add math.Ceil, Floor, and Round
 - Use Chroma as new default syntax highlighter
 - Trim newlines in the hightlight shortcode
 - Update goorgeous
 - Add liveReloadPort flag to server
 - Add noHTTPCache flag to hugo server (default on)
 - Make noHTTPCache default on

Tested against amd64/i386 10.3-RELEASE, 11.0-RELEASE, 11.1-RELEASE, and 12.0-CURRENT. Poudriere logs attached, and also found here for a limited time: 
http://logs.bnix.club/gohugo-0.28_2017-09-26/

portlint -AC:
looks fine.

poudriere bulk -tC:
10_3-RELEASE__amd64: success
10_3-RELEASE__i386: success
11_0-RELEASE__amd64: success
11_0-RELEASE__i386: success
11_1-RELEASE__amd64: success
11_1-RELEASE__i386: success
12_0-CURRENT__amd64: success
12_0-CURRENT__i386: success
Comment 1 Ben Lavery-Griffiths 2017-09-26 19:42:59 UTC
Created attachment 186743 [details]
poudriere logs for all platforms
Comment 2 Ben Lavery-Griffiths 2017-09-26 20:04:16 UTC
Created attachment 186745 [details]
svn diff to upgrade to 0.29

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

The attached svn diff brings this port up from 0.27.1 to 0.29

Change log:
 - Make noHTTPCache default false
 - Add simple template metrics feature
 - Set Metrics at creation time
 - Fix sort order 
 - Add math.Ceil, Floor, and Round to method mappings 
 - Split go build in Dockerfile 
 - Update Dockerfile to benefit build cache
 - Add git to snap package for GitInfo 

Tested against amd64/i386 10.3-RELEASE, 11.0-RELEASE, 11.1-RELEASE, and 12.0-CURRENT. Poudriere logs attached, and also found here for a limited time: 
http://logs.bnix.club/gohugo-0.29_2017-09-26/

portlint -AC:
looks fine.

poudriere bulk -tC:
10_3-RELEASE__amd64: success
10_3-RELEASE__i386: success
11_0-RELEASE__amd64: success
11_0-RELEASE__i386: success
11_1-RELEASE__amd64: success
11_1-RELEASE__i386: success
12_0-CURRENT__amd64: success
12_0-CURRENT__i386: success
Comment 3 Ben Lavery-Griffiths 2017-09-26 20:04:47 UTC
Created attachment 186746 [details]
Poudriere logs gohugo-0.29_2017-09-26
Comment 4 Ben Lavery-Griffiths 2017-10-16 21:10:05 UTC
gohugo has been updated to 0.30 (https://github.com/spf13/hugo/releases/tag/v0.30):

The attached svn diff brings this port up from 0.27.1 to 0.30

Change log:
 - Only re-render the view(s) you're working on 
 - Detect partialCached candidates 
 - Move metrics output to the end of the site build 
 - Output xmlns:xhtml only if there are translations available 
 - Add errorf template function 
 - Add os.FileExists template function 
 - Add float template function 
 - Rework the partial test and benchmarks
 - Change SummaryLength to be configurable (#3924) 
 - Replace make with mage in CircleCI build 
 - Add table linenos support for Chroma highlighter 
 - Replace make with mage 
 - Create magefile from Makefile 
 - Clean up lint in various packages 
 - Make sure Date and PublishDate are always set to a value if one is available 
 - Add correct config file name to verbose server log 

Tested against amd64/i386 10.3-RELEASE, 11.0-RELEASE, 11.1-RELEASE, and 12.0-CURRENT. Poudriere logs attached, and also found here for a limited time: 
http://logs.bnix.club/gohugo-0.29_2017-09-26/

portlint -AC:
looks fine.

poudriere bulk -tC:
10_3-RELEASE__amd64: success
10_3-RELEASE__i386: success
11_0-RELEASE__amd64: success
11_0-RELEASE__i386: success
11_1-RELEASE__amd64: success
11_1-RELEASE__i386: success
12_0-CURRENT__amd64: success
12_0-CURRENT__i386: success
Comment 5 Ben Lavery-Griffiths 2017-10-16 21:10:46 UTC
(In reply to ben.lavery@hashbang0.com from comment #4)

Logs can be found here for a limited time:
http://logs.bnix.club/gohugo-0.30_2017-10-16/

Link was wrong in the above
Comment 6 Ben Lavery-Griffiths 2017-10-16 21:11:24 UTC
Created attachment 187222 [details]
svn diff to upgrade to 0.30
Comment 7 Ben Lavery-Griffiths 2017-10-16 21:12:08 UTC
Created attachment 187223 [details]
Poudriere logs gohugo-0.30_2017-10-16
Comment 8 Ben Lavery-Griffiths 2017-10-19 17:36:25 UTC
gohugo has been updated to 0.30.2 (https://github.com/spf13/hugo/releases/tag/v0.30.2):

The attached svn diff brings this port up from 0.27.1 to 0.30.2

Change log:
 - Fixes Fast Render mode with sub-path in baseURL
 - Fix hugo -w
 - Revert sitemap template change to make the Google validator happy

Tested against amd64/i386 10.3-RELEASE, 11.0-RELEASE, 11.1-RELEASE, and 12.0-CURRENT. Poudriere logs attached, and also found here for a limited time: 
http://logs.bnix.club/gohugo-0.29_2017-09-26/

portlint -AC:
looks fine.

poudriere bulk -tC:
10_3-RELEASE__amd64: success
10_3-RELEASE__i386: success
11_0-RELEASE__amd64: success
11_0-RELEASE__i386: success
11_1-RELEASE__amd64: success
11_1-RELEASE__i386: success
12_0-CURRENT__amd64: success
12_0-CURRENT__i386: success
Comment 9 Ben Lavery-Griffiths 2017-10-19 17:36:46 UTC
Created attachment 187312 [details]
svn diff to upgrade to 0.30.2
Comment 10 Ben Lavery-Griffiths 2017-10-19 17:37:17 UTC
Created attachment 187313 [details]
Poudriere logs gohugo-0.30.2_2017-10-19
Comment 11 Ben Lavery-Griffiths 2017-10-19 17:38:16 UTC
(In reply to ben.lavery@hashbang0.com from comment #8)

As before, I forgot to change the URL.

Logs can be found for a limited time here:
http://logs.bnix.club/gohugo-0.30.2_2017-10-19/
Comment 12 Tobias Kortkamp freebsd_committer freebsd_triage 2017-10-19 20:23:26 UTC
Committed with a minor change. Thanks!
Comment 13 commit-hook freebsd_committer freebsd_triage 2017-10-19 20:23:52 UTC
A commit references this bug:

Author: tobik
Date: Thu Oct 19 20:23:08 UTC 2017
New revision: 452468
URL: https://svnweb.freebsd.org/changeset/ports/452468

Log:
  www/gohugo: Update to 0.30.2

  Changes:	https://github.com/gohugoio/hugo/releases
  PR:		222627
  Submitted by:	ben.lavery@hashbang0.com (maintainer)

Changes:
  head/www/gohugo/Makefile
  head/www/gohugo/distinfo
Comment 14 Ben Lavery-Griffiths 2017-10-19 20:25:33 UTC
(In reply to Tobias Kortkamp from comment #12)

Many thanks Tobias!