Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2018 21:04:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230069] www/gohugo: Update to 0.45.1
Message-ID:  <bug-230069-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230069

            Bug ID: 230069
           Summary: www/gohugo: Update to 0.45.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ben.lavery@hashbang0.com

Created attachment 195486
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195486&action=
=3Dedit
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.Get=
Page
"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" */>}} =3D>=
 {{</*
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#46=
52
 - 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 ti=
me:
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230069-7788>