Bug 230069 - www/gohugo: Update to 0.45.1
Summary: www/gohugo: Update to 0.45.1
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: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-26 21:04 UTC by Ben Lavery-Griffiths
Modified: 2018-07-27 10:53 UTC (History)
0 users

See Also:


Attachments
svn diff to upgrade to 0.45.1 (1.14 KB, patch)
2018-07-26 21:04 UTC, Ben Lavery-Griffiths
no flags Details | Diff
Poudriere logs for all platforms (7.41 KB, application/x-xz)
2018-07-26 21:04 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-26 21:04:29 UTC
Created attachment 195486 [details]
svn diff to upgrade to 0.45.1

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

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

Change log:
 - Site.GetPage with more than 2 arguments will not work anymore. This means that {{ .Site.GetPage "page" "blog" "my-post.md" }} will fail. {{ .Site.GetPage "page" "blog/my-post.md" }} will work, but we recommend you use the simpler {{ .Site.GetPage "/blog/my-post.md" }}
 - Relative paths in relref or ref that finds its match not relative to the page itself will work, but we now print a warning saying that you should correct it to an absolute path. E.g. {{</* ref "blog/my-post.md" */>}} => {{</* ref "/blog/my-post.md" */>}}.
 - Print a WARNING about relative non-relative ref/relref matches
 - Allow untyped nil to be merged in lang.Merge
 - Get rid of the utils package
 - Update hugo_windows.go
 - Add IncludePaths config option
 - Increase refLinker test coverage
 - Add test coverage for recent ref overhaul
 - Update ref, relref, GetPage docs
 - Document refLinksErrorLevel and refLinksNotFoundURL
 - Add configurable ref/relref error handling and notFoundURL
 - Try node_modules/postcss-cli/bin/postcss first
 - Add optional lang as argument to rel/relref
 - Simplify .Site.GetPage etc. 3eb313fe @bep #4147#4727#4728#4728#4726#4652
 - Unify page lookups b93417aa @vassudanagunta #4147#4727#4728#4728#4726#4652
 - Improve error message
 - Remove unused code
 - Avoid server panic on TOML mistake in i18n
 - Only set 'allThemes' if there are themes in the config file
 - Fix potential server panic with drafts/future enabled
 - Mark shortcode changes as content changes in server mode
 - Fix source maps on Windows
 - Fix typo-logic bug in GetPage
 - Enable test case fixed by commit 501543d
 - Fix theme config for Work Fs
 - Fix addkit link to account for i18n
 - Add Page.FirstSection
 - Fix .Site.GetPage regression
 - Fix "borrow content from another language" issue

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.45.1_2018-07-26/

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-26 21:04:54 UTC
Created attachment 195487 [details]
Poudriere logs for all platforms
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-07-27 10:53:02 UTC
A commit references this bug:

Author: swills
Date: Fri Jul 27 10:52:10 UTC 2018
New revision: 475425
URL: https://svnweb.freebsd.org/changeset/ports/475425

Log:
  www/gohugo: Update to 0.45.1

  PR:		230069
  Submitted by:	ben.lavery@hashbang0.com (maintainer)

Changes:
  head/www/gohugo/Makefile
  head/www/gohugo/distinfo
Comment 3 Steve Wills freebsd_committer freebsd_triage 2018-07-27 10:53:16 UTC
Committed, thanks!