Bug 227207 - www/gohugo: Update to 0.38
Summary: www/gohugo: Update to 0.38
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-04-02 17:27 UTC by Ben Lavery-Griffiths
Modified: 2018-04-02 17:57 UTC (History)
1 user (show)

See Also:


Attachments
svn diff to upgrade to 0.38 (5.92 KB, patch)
2018-04-02 17:27 UTC, Ben Lavery-Griffiths
no flags Details | Diff
Poudriere logs for all platforms (7.29 KB, application/x-xz)
2018-04-02 17:27 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-04-02 17:27:31 UTC
Created attachment 192110 [details]
svn diff to upgrade to 0.38

gohugo has been updated to 0.38
(https://github.com/gohugoio/hugo/releases/tag/v0.38):

The attached svn diff brings this port up from 0.37 to 0.38

Change log:
 - Hugo now allows partial redefinition outputs in your site configuration. This is what most people would expect, but it is still a change in behaviour.
 - Before this release, Hugo flattened URLs of processed images in sub-folders. This worked fine but was not intentional.
 - Allow themes to define output formats, media types and params
 - Allow partial redefinition of the ouputs config
 - Add a way to merge pages by language
 - Extract date and slug from filename 
 - Add Delete method to delete key from Scratch
 - Simplify Prev/Next 
 - List Chroma lexers 
 - Add support for a contentDir set per language 
 - Update Chroma 
 - Add .Site.IsServer 
 - Move to Ubuntu Trusty image
 - Bump some deprecations 
 - Update Chroma to get Go template support
 - Recover from error in server
 - Spring test cleaning, take 2
 - Add docs for lang.Merge 
 - Remove archetype title/date warning 
 - Add docs on the new front matter configuration
 - Refactor the GitInfo into the date handlers 
 - Do not print build total when --quiet is set
 - Fix freeze in invalid front matter error case 
 - Fix path duplication/flattening in processed images
 - Fix SVG and similar resource handling


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

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...
11_1-STABLE__amd64: success
11_1-STABLE__i386: success
12_0-CURRENT__amd64: success
12_0-CURRENT__i386: success
Comment 1 Ben Lavery-Griffiths 2018-04-02 17:27:52 UTC
Created attachment 192111 [details]
Poudriere logs for all platforms
Comment 2 Richard Gallamore freebsd_committer freebsd_triage 2018-04-02 17:57:14 UTC
Committed, Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-04-02 17:57:56 UTC
A commit references this bug:

Author: ultima
Date: Mon Apr  2 17:57:00 UTC 2018
New revision: 466241
URL: https://svnweb.freebsd.org/changeset/ports/466241

Log:
  * Updated to 0.38

  Changes:	https://github.com/gohugoio/hugo/releases/tag/v0.38

  PR:		227207
  Submitted by:	ben^@hash^ (maintainer)

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