Bug 229847 - www/gohugo: Update to 0.44
Summary: www/gohugo: Update to 0.44
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: Jochen Neumeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-17 21:00 UTC by Ben Lavery-Griffiths
Modified: 2018-07-20 14:09 UTC (History)
1 user (show)

See Also:


Attachments
svn diff to upgrade to 0.44 (11.14 KB, patch)
2018-07-17 21:00 UTC, Ben Lavery-Griffiths
no flags Details | Diff
Poudriere logs for all platforms (5.61 KB, application/x-xz)
2018-07-17 21:01 UTC, Ben Lavery-Griffiths
no flags Details
Poudriere logs for all platforms (ext) (5.89 KB, application/x-xz)
2018-07-17 21:01 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-07-17 21:00:26 UTC
Created attachment 195216 [details]
svn diff to upgrade to 0.44

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

The attached svn diff brings this port up from 0.42.2 to 0.44

Change log:
 - Replace deprecated {Get,}ByPrefix with {Get,}Match
 - Hugo is now released with two binary version: One with and one without SCSS/SASS support.  But note that you only need the extended version if you want to edit SCSS. For your CI server, or if you don't use SCSS, you will most likely want the non-extended version.
 - Return en empty slice in after instead of error
 - Update internal pagination template to support Bootstrap 4
 - Support text/template/parse API change in go1.11
 - Allow forward slash in shortcode names
 - Reset the global pages cache on server
 - Bump CircleCI image
 - Add Goreleaser extended config
 - Build both hugo and hugo.extended for 0.43
 - Add temporary build script
 - Add "extended" to "hugo version"
 - Add a newScratch template func
 - Add Hugo Piper with SCSS support and much more
 - Consider root and current section's content type if set in front matter
 - Update docker image
 - Merge branch 'release-0.42.2'
 - Release 0.42.2
 - Update GoReleaser config 1f0c4e1f @caarlos0
 - Create missing head.html partial on new theme generation
 - Add html doctype to baseof.html template for new themes
 - Adds .gitattributes to force Go files to LF
 - Update to Go 1.9.7 and Go 1.10.3
 - Update Dockerfile to a multi-stage build
 - Release 0.42.1
 - Do not fail server build when /static is missing
 - Do not create paginator pages for the other output formats
 - Fix the shortcodes/partials vs base template detection
 - nfpm replacements e1a052ec @caarlos0
 - Fix typos
 - MediaType.Suffix is deprecated and replaced with a plural version, MediaType.Suffixes, with a more specific definition. You will get a detailed WARNING in the console if you need to do anything.
 - Allow multiple file suffixes per media type
 - Clean up the in-memory Resource reader usage
 - Move opening of the transformed resources after cache check
 - Improve type support in resources.Concat
 - Flush partialCached cache on rebuilds
 - Include the transformation step in the error message
 - Exclude *.svg from CRLF/LF conversion
 - Fix resources.Concat for transformed resources
 - Fix static filesystem for themed multihost sites
 - Set permission of embedded templates to 064

Tested against amd64/i386 10.4-RELEASE, 11.1-RELEASE, 11.2-RELEASE, and 12.0-CURRENT. Poudriere logs attached, and also found here for a limited time:
https://logs.bnix.club/gohugo-0.44_2018-07-17/
https://logs.bnix.club/gohugo-0.44-ext_2018-07-17/ <- Build logs for extended support (non-default option)

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_2-RELEASE__amd64: success
11_2-RELEASE__i386: success
12_0-CURRENT__amd64: success
12_0-CURRENT__i386: success
Comment 1 Ben Lavery-Griffiths 2018-07-17 21:01:18 UTC
Created attachment 195217 [details]
Poudriere logs for all platforms

This is for default options (build man pages, don't build extended version)
Comment 2 Ben Lavery-Griffiths 2018-07-17 21:01:56 UTC
Created attachment 195218 [details]
Poudriere logs for all platforms (ext)

This is with extended option (build man pages and build extended version)
Comment 3 Jochen Neumeister freebsd_committer freebsd_triage 2018-07-20 14:08:17 UTC
Landed. thanks :-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-07-20 14:09:06 UTC
A commit references this bug:

Author: joneum
Date: Fri Jul 20 14:08:06 UTC 2018
New revision: 475016
URL: https://svnweb.freebsd.org/changeset/ports/475016

Log:
  www/gohugo: Update to 0.44

  Changelog: https://github.com/gohugoio/hugo/releases/tag/v0.44

  PR:		229847
  Submitted by:	ben.lavery@hashbang0.com <ben.lavery@hashbang0.com> (maintainer)

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