Bug 225306 - www/gohugo: Update to 0.33
Summary: www/gohugo: Update to 0.33
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: Richard Gallamore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-18 21:02 UTC by Ben Lavery-Griffiths
Modified: 2018-01-18 21:42 UTC (History)
1 user (show)

See Also:


Attachments
svn diff to upgrade to 0.33 (14.76 KB, patch)
2018-01-18 21:02 UTC, Ben Lavery-Griffiths
no flags Details | Diff
Poudriere logs for all platforms (5.04 KB, application/x-xz)
2018-01-18 21:02 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 2018-01-18 21:02:13 UTC
Created attachment 189893 [details]
svn diff to upgrade to 0.33

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

The attached svn diff brings this port up from 0.32.4 to 0.33

Change log:
 - We have re-implemented and unified the template layout lookup logic. This has made it more powerful and much simpler to understand. We don't expect any sites to break because of this.
 - The indexes type is removed from template lookup. It's not in the documentation, and is a legacy term inherited from very old Hugo versions.
 - Respect Type and Layout for list template selection
 - Allow url in front matter for list type pages 
 - Improve .Site.GetPage for regular translated pages. Before this change it was not possible to say "get me the current language edition of the given content page if possible." Now you can do that by doing a lookup without any extensions: .Site.GetPage "page" "post/mypost" 
 - Add front matter metadata to Resource 
 - Implement Resources.ByPrefix 
 - Make GetByPrefix work for Page resources 
 - Make Resources.GetByPrefix case insensitive 
 - Update Chroma and other third-party deps 
 - Remove superflous BuildDate logic 
 - Support uglyURLs per section 
 - Support offline builds 
 - Fix handling of mixed-case taxonomy folders with content file 
 - Fix handling of very long image file names 
 - Update Afero to avoid panic on "file name is too long" 
 - And now really fix the server watch logic 
 - Fix server without watch

Tested against amd64/i386 10.4-RELEASE, 11.1-RELEASE, and 12.0-CURRENT. Poudriere logs attached, and also found here for a limited time: 
https://logs.bnix.club/gohugo-0.32.4_2018-01-11/

portlint -AC:
looks fine.

poudriere bulk -tC:
10_4-RELEASE__amd64: success
10_4-RELEASE__i386: success
11_1-RELEASE__amd64: success
11_1-RELEASE__i386: couldn't get jail to start...
12_0-CURRENT__amd64: success
12_0-CURRENT__i386: success
Comment 1 Ben Lavery-Griffiths 2018-01-18 21:02:48 UTC
Created attachment 189894 [details]
Poudriere logs for all platforms

My 11.1 i386 Jail would still not be started by Poudriere.  I am still investigating but didn't want to further delay uploading this.
Comment 2 Ben Lavery-Griffiths 2018-01-18 21:04:14 UTC
(In reply to ben.lavery@hashbang0.com from comment #0)


Apologies, logs are available here:
https://logs.bnix.club/gohugo-0.33_2018-01-18/
Comment 3 Richard Gallamore freebsd_committer freebsd_triage 2018-01-18 21:41:50 UTC
Committed, Thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-01-18 21:42:11 UTC
A commit references this bug:

Author: ultima
Date: Thu Jan 18 21:41:21 UTC 2018
New revision: 459381
URL: https://svnweb.freebsd.org/changeset/ports/459381

Log:
  * Updated to 0.33

  Changes:	https://github.com/spf13/hugo/releases/tag/v0.33

  PR:		225306
  Submitted by:	ben.lavery@hash^.com (maintainer)

Changes:
  head/www/gohugo/Makefile
  head/www/gohugo/distinfo