Bug 271664 - www/gohugo: Update to 0.112.3 (reverted)
Summary: www/gohugo: Update to 0.112.3 (reverted)
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: Danilo G. Baio
URL: https://github.com/gohugoio/hugo/rele...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-27 05:09 UTC by Gabriel M. Dutra
Modified: 2023-06-02 04:35 UTC (History)
3 users (show)

See Also:


Attachments
bump 0.112.3 (1.54 KB, patch)
2023-05-27 05:09 UTC, Gabriel M. Dutra
dutra: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel M. Dutra freebsd_committer freebsd_triage 2023-05-27 05:09:43 UTC
Created attachment 242435 [details]
bump 0.112.3

portlint: OK

tested on:

13.1-RELEASE amd64, i386
13.2-RELEASE amd64, i386
14.0-CURRENT amd64, i386
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-05-29 23:27:05 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05db9606ad0e6a5834ad32a0681b5b1b4e253dd6

commit 05db9606ad0e6a5834ad32a0681b5b1b4e253dd6
Author:     Gabriel M. Dutra <0xdutra@gmail.com>
AuthorDate: 2023-05-27 05:01:40 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-05-29 23:25:15 +0000

    www/gohugo: Update to 0.112.3

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

    PR:             271664

 www/gohugo/Makefile |  3 +--
 www/gohugo/distinfo | 10 +++++-----
 2 files changed, 6 insertions(+), 7 deletions(-)
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2023-05-29 23:34:54 UTC
Thank you for your contribution.
Comment 3 Danilo G. Baio freebsd_committer freebsd_triage 2023-06-02 00:14:59 UTC
Hello.

This broke misc/freebsd-doc-en and changed a few things, like the language's config, which impacts our documentation.

https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p7677d0cb38c5_s4f2cc73f34/logs/en-freebsd-doc-20230512,1.log

hugo v0.112.3+extended freebsd/amd64 BuildDate=2023-05-27T01:28:15Z-0300 VendorInfo=freebsd
WARN 2023/06/01 20:41:26 .Language.Params is deprecated and will be removed in a future release. .Language.Params is deprecated and will be removed in a future release. Use site.Params instead.

- For all but custom parameters, you need to use the built in Hugo variables, e.g. site.Title, site.LanguageCode; site.Language.Params.Title will not work.
- All custom parameters needs to be placed below params, e.g. [languages.en.params] in TOML.

See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120

Re-run Hugo with the flag --panicOnWarning to get a better error message.

--

And this is not working anymore.
$ DOC_LANG="en" make
...
HUGO_DISABLELANGUAGES="bn-bd da de el es fr hu id it ja ko mn nl pl pt-br ru tr zh-cn zh-tw" /usr/local/bin/hugo --minify

--


I've just tried the last version, hugo v0.112.6, and the same happens.

So, could you revert this upgrade for now? We will need more time to investigate this.

I wonder if you can pass this maintainership to doceng@ as it impacts the website and documentation portal.

Regards.
Comment 4 Gabriel M. Dutra freebsd_committer freebsd_triage 2023-06-02 03:24:34 UTC
Hi, Danilo.

I'm sorry for this problem. I pass the maintainership to doceng@. :)
Comment 5 Danilo G. Baio freebsd_committer freebsd_triage 2023-06-02 04:21:20 UTC
Thank you, and don't worry, that happened before; before you as gohugo's maintainer.
Comment 6 commit-hook freebsd_committer freebsd_triage 2023-06-02 04:24:40 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=55471735014e2815250c3cfeb49d2b66b7c2ea2a

commit 55471735014e2815250c3cfeb49d2b66b7c2ea2a
Author:     Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2023-06-02 04:21:57 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2023-06-02 04:21:57 +0000

    Revert "www/gohugo: Update to 0.112.3"

    PR:      271664

    This reverts commit 05db9606ad0e6a5834ad32a0681b5b1b4e253dd6.

 www/gohugo/Makefile |  3 ++-
 www/gohugo/distinfo | 10 +++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2023-06-02 04:34:43 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3014509328d0bb16044d9abc3e700be004feb3a7

commit 3014509328d0bb16044d9abc3e700be004feb3a7
Author:     Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2023-06-02 04:31:10 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2023-06-02 04:31:10 +0000

    www/gohugo: Bump PORTEPOCH

    PR:             271664

 www/gohugo/Makefile | 1 +
 1 file changed, 1 insertion(+)
Comment 8 commit-hook freebsd_committer freebsd_triage 2023-06-02 04:34:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=36ba69e69aaeba4dbcbb9eca6f5f815510ec4e07

commit 36ba69e69aaeba4dbcbb9eca6f5f815510ec4e07
Author:     Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2023-06-02 04:33:09 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2023-06-02 04:33:09 +0000

    www/gohugo: Pass MAINTAINER'ship to doceng

    PR:             271664
    Approved by:    former maintainer

 www/gohugo/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)