Bug 225390 - www/gohugo: Update to 0.34
Summary: www/gohugo: Update to 0.34
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-22 22:13 UTC by Ben Lavery-Griffiths
Modified: 2018-01-22 22:32 UTC (History)
1 user (show)

See Also:


Attachments
svn diff to upgrade to 0.34 (2.39 KB, patch)
2018-01-22 22:13 UTC, Ben Lavery-Griffiths
no flags Details | Diff
poudriere logs for all platforms (4.76 KB, application/x-xz)
2018-01-22 22:14 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-22 22:13:54 UTC
Created attachment 189981 [details]
svn diff to upgrade to 0.34

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

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

Change log:
 - Resources.GetByPrefix and Resources.ByPrefix are depracated. They still work, but will eventually be removed. Use Resources.Match (many) and Resources.GetMatch (one).
 - When filtering bundles pages in sub-folders, you need to include the sub-folder when matching. This was a bug introduced in 0.33 and gets it in line with images and other resources.
 - Add Resources.Match and Resources.GetMatch 
 - Add validation for defaultContentLanguage 
 - Fix lookup of pages bundled in sub-folders in ByPrefix etc.

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.34_2018-01-22/

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-22 22:14:17 UTC
Created attachment 189982 [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 Richard Gallamore freebsd_committer freebsd_triage 2018-01-22 22:32:10 UTC
Committed, Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-01-22 22:32:29 UTC
A commit references this bug:

Author: ultima
Date: Mon Jan 22 22:31:57 UTC 2018
New revision: 459705
URL: https://svnweb.freebsd.org/changeset/ports/459705

Log:
  * Updated to 0.34

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

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

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