pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/hugo Update to 0.52



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc02274fc78a
branches:  trunk
changeset: 388683:dc02274fc78a
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Dec 12 14:26:46 2018 +0000

description:
Update to 0.52

Changelog:
The two big new items in this release is Inline Shortcodes and Consolidated File Caches. In Hugo we really care about build speed, and caching is important. With this release, you get much better 
control over your cache configuration, which is especially useful when building on a Continous Integration server (Netlify, CircleCI or similar). Inline Shortcodes was implemented to help the 
Bootstrap project move their documentation site to Hugo. Note that this feature is disabled by default. To enable, set enableInlineShortcodes = true in your site config. Worth mentioning is also the 
new param shortcode, which looks up the param in page front matter with the site's parameter as a fall back.

This release represents 33 contributions by 7 contributors to the main Hugo code base.
@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @moorereason, @emirb, and @allizad for their ongoing contributions.
And a big thanks to @digitalcraftsman and @onedrawingperday for their relentless work on keeping the themes site in pristine condition and to @kaushalmodi for his great work on the documentation site.

Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 10 contributions by 4 contributors. A special thanks to @budparr, @bep, @allizad, and @funkydan2 for their work on the documentation site.

Hugo now has:

    30595+ stars
    441+ contributors
    270+ themes

Enhancements
Templates

    Add tests ed698e94 @moorereason
    Regenerate templates 89e2716d @bep
    Add "param" shortcode f37c5a25 @bep #4010
    Add float64 support to where 112461fd @moorereason #5466

Core

    Fall back to title in ByLinkTitle sort a9a93d08 @bep #4953
    Improve nil handling in IsDescendant and IsAncestor b09a4033 @bep #5461

Other

    Remove duplicate mapstructure depdendency 7e75aeca @bep
    Add dependency list to README e14e0b19 @bep
    Document inline shortcodes aded0f25 @bep #4011
    Add inline shortcode support bc337e6a @bep #4011
    Include drafts in convert command dcfeed35 @bep #5457
    Handle themes in the new file cache (for images, assets) f9b4eb4f @bep #5460
    Add tests for permalink on Resource with baseURL with path 12742bac @bep #5226
    Add a comment about file mode for new files fabf026f @bep #5434
    Add a :project placeholder 94f0f7e5 @bep #5439
    Add a cache prune func 3c29c5af @bep #5439
    Add a filecache root dir 33502667 @bep
    Use time.Duration for maxAge d3489eba @bep #5438
    Split implementation and config into separate files 17d7ecde @bep
    Update to LibSASS 3.5.5 e4b25728 @bep #5432#5435
    More spelling corrections 782dd158 @bep
    Spelling corrections aff9c091 @bep
    Remove appveyor fdd4a768 @bep
    Document the new file cache abeeff13 @bep #5404
    Add a consolidated file cache f7aeaa61 @bep #5404
    Add Windows build config to Travis 7d78a2af @emirb
    Add Elasticsearch/bonsai.io to services doc. c0b3a1af @allizad

Fixes
Templates

    Fix whitespace issue aba2647c @max-arnold
    Fix test to pass with gccgo a8cb1b07 @ianlancetaylor

Other

    Fix handling of commented out front matter 7540a628 @bep #5478
    Fix when only shortcode and then summary 94ab125b @bep #5464
    Fix ignored --config flag with 'new' command e82b2dc8 @krisbudhram
    Fix Permalink for resource, baseURL with path and canonifyURLs set 5df2b79d @bep #5226

diffstat:

 www/hugo/Makefile |   5 ++---
 www/hugo/PLIST    |  15 +++++++++++----
 www/hugo/distinfo |  10 +++++-----
 3 files changed, 18 insertions(+), 12 deletions(-)

diffs (102 lines):

diff -r 59fc0fa5cae2 -r dc02274fc78a www/hugo/Makefile
--- a/www/hugo/Makefile Wed Dec 12 14:22:54 2018 +0000
+++ b/www/hugo/Makefile Wed Dec 12 14:26:46 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2018/11/18 08:58:22 ryoon Exp $
+# $NetBSD: Makefile,v 1.8 2018/12/12 14:26:46 ryoon Exp $
 
-DISTNAME=      hugo-0.51
+DISTNAME=      hugo-0.52
 PKGNAME=       go-${DISTNAME}
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=gohugoio/}
 CATEGORIES=    www
@@ -21,7 +21,6 @@
 REPLACE_SH+=   docs/pull-theme.sh
 
 .include "../../devel/go-locker/buildlink3.mk"
-.include "../../www/go-toml-burntsushi/buildlink3.mk"
 .include "../../www/go-urlesc/buildlink3.mk"
 .include "../../devel/go-purell/buildlink3.mk"
 .include "../../textproc/go-chroma/buildlink3.mk"
diff -r 59fc0fa5cae2 -r dc02274fc78a www/hugo/PLIST
--- a/www/hugo/PLIST    Wed Dec 12 14:22:54 2018 +0000
+++ b/www/hugo/PLIST    Wed Dec 12 14:26:46 2018 +0000
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2018/11/18 08:58:22 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/12/12 14:26:46 ryoon Exp $
 bin/generate
 bin/hugo
 gopkg/pkg/${GO_PLATFORM}/github.com/gohugoio/hugo/bufferpool.a
 gopkg/pkg/${GO_PLATFORM}/github.com/gohugoio/hugo/cache.a
+gopkg/pkg/${GO_PLATFORM}/github.com/gohugoio/hugo/cache/filecache.a
 gopkg/pkg/${GO_PLATFORM}/github.com/gohugoio/hugo/commands.a
 gopkg/pkg/${GO_PLATFORM}/github.com/gohugoio/hugo/common/collections.a
 gopkg/pkg/${GO_PLATFORM}/github.com/gohugoio/hugo/common/herrors.a
@@ -83,12 +84,17 @@
 gopkg/src/github.com/gohugoio/hugo/Dockerfile
 gopkg/src/github.com/gohugoio/hugo/LICENSE
 gopkg/src/github.com/gohugoio/hugo/README.md
-gopkg/src/github.com/gohugoio/hugo/appveyor.yml
 gopkg/src/github.com/gohugoio/hugo/bench.sh
 gopkg/src/github.com/gohugoio/hugo/benchSite.sh
 gopkg/src/github.com/gohugoio/hugo/bepdock.sh
 gopkg/src/github.com/gohugoio/hugo/bufferpool/bufpool.go
 gopkg/src/github.com/gohugoio/hugo/bufferpool/bufpool_test.go
+gopkg/src/github.com/gohugoio/hugo/cache/filecache/filecache.go
+gopkg/src/github.com/gohugoio/hugo/cache/filecache/filecache_config.go
+gopkg/src/github.com/gohugoio/hugo/cache/filecache/filecache_config_test.go
+gopkg/src/github.com/gohugoio/hugo/cache/filecache/filecache_pruner.go
+gopkg/src/github.com/gohugoio/hugo/cache/filecache/filecache_pruner_test.go
+gopkg/src/github.com/gohugoio/hugo/cache/filecache/filecache_test.go
 gopkg/src/github.com/gohugoio/hugo/cache/partitioned_lazy_cache.go
 gopkg/src/github.com/gohugoio/hugo/cache/partitioned_lazy_cache_test.go
 gopkg/src/github.com/gohugoio/hugo/commands/benchmark.go
@@ -470,6 +476,7 @@
 gopkg/src/github.com/gohugoio/hugo/docs/content/en/news/0.49.1-relnotes/index.md
 gopkg/src/github.com/gohugoio/hugo/docs/content/en/news/0.49.2-relnotes/index.md
 gopkg/src/github.com/gohugoio/hugo/docs/content/en/news/0.50-relnotes/index.md
+gopkg/src/github.com/gohugoio/hugo/docs/content/en/news/0.51-relnotes/index.md
 gopkg/src/github.com/gohugoio/hugo/docs/content/en/news/${PKGVERSION}-relnotes/index.md
 gopkg/src/github.com/gohugoio/hugo/docs/content/en/news/0.7-relnotes/index.md
 gopkg/src/github.com/gohugoio/hugo/docs/content/en/news/0.8-relnotes/index.md
@@ -1381,8 +1388,6 @@
 gopkg/src/github.com/gohugoio/hugo/tpl/crypto/crypto_test.go
 gopkg/src/github.com/gohugoio/hugo/tpl/crypto/init.go
 gopkg/src/github.com/gohugoio/hugo/tpl/crypto/init_test.go
-gopkg/src/github.com/gohugoio/hugo/tpl/data/cache.go
-gopkg/src/github.com/gohugoio/hugo/tpl/data/cache_test.go
 gopkg/src/github.com/gohugoio/hugo/tpl/data/data.go
 gopkg/src/github.com/gohugoio/hugo/tpl/data/data_test.go
 gopkg/src/github.com/gohugoio/hugo/tpl/data/init.go
@@ -1425,6 +1430,7 @@
 gopkg/src/github.com/gohugoio/hugo/tpl/path/init.go
 gopkg/src/github.com/gohugoio/hugo/tpl/path/init_test.go
 gopkg/src/github.com/gohugoio/hugo/tpl/path/path.go
+gopkg/src/github.com/gohugoio/hugo/tpl/path/path_test.go
 gopkg/src/github.com/gohugoio/hugo/tpl/resources/init.go
 gopkg/src/github.com/gohugoio/hugo/tpl/resources/resources.go
 gopkg/src/github.com/gohugoio/hugo/tpl/safe/init.go
@@ -1471,6 +1477,7 @@
 gopkg/src/github.com/gohugoio/hugo/tpl/tplimpl/embedded/templates/shortcodes/highlight.html
 gopkg/src/github.com/gohugoio/hugo/tpl/tplimpl/embedded/templates/shortcodes/instagram.html
 gopkg/src/github.com/gohugoio/hugo/tpl/tplimpl/embedded/templates/shortcodes/instagram_simple.html
+gopkg/src/github.com/gohugoio/hugo/tpl/tplimpl/embedded/templates/shortcodes/param.html
 gopkg/src/github.com/gohugoio/hugo/tpl/tplimpl/embedded/templates/shortcodes/ref.html
 gopkg/src/github.com/gohugoio/hugo/tpl/tplimpl/embedded/templates/shortcodes/relref.html
 gopkg/src/github.com/gohugoio/hugo/tpl/tplimpl/embedded/templates/shortcodes/twitter.html
diff -r 59fc0fa5cae2 -r dc02274fc78a www/hugo/distinfo
--- a/www/hugo/distinfo Wed Dec 12 14:22:54 2018 +0000
+++ b/www/hugo/distinfo Wed Dec 12 14:26:46 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2018/11/18 08:58:22 ryoon Exp $
+$NetBSD: distinfo,v 1.3 2018/12/12 14:26:46 ryoon Exp $
 
-SHA1 (hugo-0.51.tar.gz) = 7d0bdfaa974d8586c18cf8d3f9c628ad3548d2a5
-RMD160 (hugo-0.51.tar.gz) = 140bf88ed66966142b250994aad683c390f09a23
-SHA512 (hugo-0.51.tar.gz) = 47c04c0388856c02aaf1be58676c0f625b30552c3ccc11c77a014d70bfb18ba6856268a1f3714ec75c8462753e333a597285064ab56f80c946669c35c5d2ee0c
-Size (hugo-0.51.tar.gz) = 19948327 bytes
+SHA1 (hugo-0.52.tar.gz) = ed3bcafa6655e47175c529a662d605988a9507ef
+RMD160 (hugo-0.52.tar.gz) = 185bce328e5f0175a598dd15051f372eb0a7e3f6
+SHA512 (hugo-0.52.tar.gz) = 45baf7d3b98b7ed5aee7a8d154a87d32f89a56cd00cff48f21d5c69bef7f13ebd9726885885ce74f9c65587669090ce613ae5bb3652a9e1dd3a47a69faa44272
+Size (hugo-0.52.tar.gz) = 19961000 bytes
 SHA1 (patch-helpers_content.go) = 7c16f7512f0a3bf2fbb873cebd8ad91686d68521



Home | Main Index | Thread Index | Old Index