Bug 227574 - www/gohugo: Update to 0.39
Summary: www/gohugo: Update to 0.39
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-04-17 08:50 UTC by Ben Lavery-Griffiths
Modified: 2018-04-17 15:55 UTC (History)
1 user (show)

See Also:


Attachments
svn diff to upgrade to 0.39 (13.35 KB, patch)
2018-04-17 08:50 UTC, Ben Lavery-Griffiths
no flags Details | Diff
poudriere logs for all platforms (5.93 KB, application/x-xz)
2018-04-17 08:50 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-17 08:50:25 UTC
Created attachment 192584 [details]
svn diff to upgrade to 0.39

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

The attached svn diff brings this port up from 0.38.2 to 0.39

Change log:
The main.Execute function now returns a Response object and the global Hugo variable is removed. This is only relevant for people building some kind of API around Hugo.
Remove deprecated File.Bytes
Add anchorize template func 
Add path.Join 
Add path.Split template func
Implement Resource.Content 
Make Page.Content a method that returns interface{} 
Remove accidental and breaking space in baseURL flag 
Properly handle CLI slice arguments 
Correctly handle destination and i18n-warnings 
Allow "*/" inside commented out shortcodes 
Make commands.Execute return a Response object 
Remove some TODOs 
Add basic server test 
Remove the Hugo global 
Make the limit command work again 
Move the commands related logic to its own file 
Add CLI tests 
Make the hugo command non-global 
Extract some common types into its own file 
Make the server command non-global 
Make the gen commands non-global 
Make the list commands non-global 
Make the import commands non-global 
Make the config command non-global 
Make the new commands non-global 
Make convert command non-global 
Make more commands non-global 
Make benchmark non-global 
Start of flag cleaning 
Use short date format in CLI docs 
Update README.md 
Sync dependencies 
Bump Go versions 
Add bash completion 
Handle mass content etc. edits in server mode 
Fix livereload of bundled pages 
Do not reset .Page.Scratch on rebuilds 
Fix failing Travis server test 
Fix the config command 
Fix some flag diff 
Fix TestFixURL 
Disable shallow clone to fix TestPageWithLastmodFromGitInfo 
Fix livereload for the home page bundle 
Fix empty BuildDate in "hugo version" 
Fix some livereload content regressions 
Fix two tests that are broken on Windows

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.39_2018-04-16/

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-17 08:50:55 UTC
Created attachment 192585 [details]
poudriere logs for all platforms
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-04-17 15:55:02 UTC
A commit references this bug:

Author: joneum
Date: Tue Apr 17 15:53:59 UTC 2018
New revision: 467612
URL: https://svnweb.freebsd.org/changeset/ports/467612

Log:
  www/gohugo: Update to 0.39

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

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

Changes:
  head/www/gohugo/Makefile
  head/www/gohugo/distinfo
Comment 3 Jochen Neumeister freebsd_committer freebsd_triage 2018-04-17 15:55:59 UTC
Landed. Thanks :-)