Bug 232790 - www/gohugo: Update to 0.50
Summary: www/gohugo: Update to 0.50
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-10-29 19:00 UTC by Ben Lavery-Griffiths
Modified: 2018-10-30 10:12 UTC (History)
1 user (show)

See Also:


Attachments
svn diff to upgrade to 0.50 (8.68 KB, patch)
2018-10-29 19:00 UTC, Ben Lavery-Griffiths
no flags Details | Diff
Poudriere logs for all platforms (7.94 KB, application/x-xz)
2018-10-29 19:00 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-10-29 19:00:00 UTC
Created attachment 198745 [details]
svn diff to upgrade to 0.50

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

The attached svn diff brings this port up from 0.49.2 to 0.50

Change log:
Hugo 0.50 brings greatly improved error messages, and we now also show them in the browser. Having error messages with filename, line- and column number greatly simplify troubleshooting. Many editors (like VS Code) even let you click and navigate directly to the problematic line. If your editor requires a different log format, you can set it via the HUGO_FILE_LOG_FORMAT OS environment variable.

But this release isn't all about error handling. Getting line- and column number into "every" error also meant that we had to consolidate and simplify some code paths, which, as a nice side effect, made Hugo a little bit faster. Benchmarks show it running about 5% faster and consume about 8% less memory.

Also, we have now implemented "render on demand" in Hugo's Fast Render Mode (default when running hugo server). This means that you should now always see updated content when navigating around the site after a change.


Build successfully against amd64/i386 10.4-RELEASE, 11.2-RELEASE, 12.0-BETA2, and 13.0-CURRENT.
Poudriere logs attached and available here for a limited time:
https://logs.bnix.club/gohugo-0.50_2018-10-29/

portlint -AC:
looks fine.
Comment 1 Ben Lavery-Griffiths 2018-10-29 19:00:21 UTC
Created attachment 198746 [details]
Poudriere logs for all platforms
Comment 2 Jochen Neumeister freebsd_committer freebsd_triage 2018-10-30 10:11:41 UTC
Landed. Thanks :-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-10-30 10:12:13 UTC
A commit references this bug:

Author: joneum
Date: Tue Oct 30 10:11:32 UTC 2018
New revision: 483461
URL: https://svnweb.freebsd.org/changeset/ports/483461

Log:
  Update to 0.50

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

  PR:		232790
  Submitted by:	maintainer
  Sponsored by:	Netzkommune GmbH

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