public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Justin Wheeler <jwheel@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/hugo] rawhide: ⬆️ hugo: Update to 0.169.0 upstream release
Date: Fri, 06 Nov 2026 03:24:53 GMT	[thread overview]
Message-ID: <179393549359.1.5245445853321452467.rpms-hugo-97089dd754fd@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/hugo
            Branch : rawhide
            Commit : 97089dd754fdcbceba274c91a6065a57336c8d6b
            Author : Justin Wheeler <jwheel@fedoraproject.org>
            Date   : 2026-11-05T22:22:52-05:00
            Stats  : +10/-4 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/hugo/c/97089dd754fdcbceba274c91a6065a57336c8d6b?branch=rawhide

            Log:
            ⬆️ hugo: Update to 0.169.0 upstream release

Rebuild against Go 1.27.3, which stops trusting intermediate
certificates tied to the eMudhra incident; this affects features that
fetch remote resources such as `resources.GetRemote`.

The release also hardens HTML escaping for menu `pre` and `post` values
from front matter and for `emojify` and `plainify`, deprecates looking
up reserved front matter fields through `.Params`, and includes bug
fixes.

Keep the Extended build tags and bundled LibSass unchanged, raise the Go
build requirement to 1.27.0, and set `GOTOOLCHAIN=local` so the build
cannot fetch a different toolchain.

Package `AGENTS.md` and `SECURITY.md` as documentation; upstream removed
`CLAUDE.md` in favour of the former.

Upstream is expected to drop the `extended` build tag and LibSass in
0.170.0, leaving Dart Sass only, so the next update will need to rework
the build tags, drop `libsass-3.6.6.tar.gz`, and revisit the Sass tests.

The embedded WebAssembly payloads under `internal/warpc/wasm/` are still
prebuilt and remain an outstanding Fedora compliance item.

Assisted-by: DeepSeek V4.1 Flash (1M context)
Signed-off-by: Justin Wheeler <jwheel@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index af1b338..ab05012 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,3 +62,5 @@
 /hugo-0.167.0.tar.gz
 /hugo-0.168.0.tar.gz
 /hugo-0.168.0-vendor.tar.bz2
+/hugo-0.169.0.tar.gz
+/hugo-0.169.0-vendor.tar.bz2

diff --git a/hugo.spec b/hugo.spec
index 23e4acb..7296d5a 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -19,7 +19,7 @@
 
 # https://github.com/gohugoio/hugo
 %global goipath         github.com/gohugoio/hugo
-Version:                0.168.0
+Version:                0.169.0
 
 %gometa -L -f
 
@@ -43,6 +43,8 @@ Patch0:         0001-unix-linux-revert-ppc64x-syscall-assembly-wrapper.patch
 
 BuildRequires:  go-vendor-tools
 BuildRequires:  gcc-c++
+# Hugo 0.166.0 and later declare "go 1.27.0" in go.mod.
+BuildRequires:  golang >= 1.27.0
 
 %description
 The world’s fastest framework for building websites.
@@ -69,6 +71,8 @@ tar xvf %SOURCE3 -C vendor/github.com/bep/golibsass/libsass_src --strip-componen
 # https://bugzilla.redhat.com/show_bug.cgi?id=2428281
 %global __golang_extldflags -Wl,-z,undefs -Wl,-z,notext
 
+# Never let the toolchain fetch another Go release at build time.
+export GOTOOLCHAIN=local
 %global gomodulesmode GO111MODULE=on
 # Build extended version of Hugo.
 export GO_BUILDTAGS="extended"
@@ -102,7 +106,7 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
 %endif
 
 %files -f %{go_vendor_license_filelist}
-%doc docs AGENTS.md CLAUDE.md CONTRIBUTING.md README.md SECURITY.md
+%doc docs AGENTS.md CONTRIBUTING.md README.md SECURITY.md
 %{_bindir}/hugo
 
 

diff --git a/sources b/sources
index e6a415c..e2b713f 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (hugo-0.168.0.tar.gz) = d7b7a52e730f03b3f740e621a5814643d3d8979a45d806d2a9d2748684ad4899366799e668c3118d0e8431332ab190bcabb0656c50d93575c68044736f35f62e
-SHA512 (hugo-0.168.0-vendor.tar.bz2) = c20dc8f34e14a234a339937e612322895533286bc9ce811bbb957ec7fe95398182e9bbda864884f0e4899430c060e190bb8216e113eb8ac03b9713c1c2c43bcd
+SHA512 (hugo-0.169.0.tar.gz) = 3caad2777b929d4afef694dbf2bca32ad897c623c9775da5f907a413ce942043727652ac2fe2cdec70c001888590be8e9cb144e34beaecda934ab40356b88c75
+SHA512 (hugo-0.169.0-vendor.tar.bz2) = 4416ccfb825c66a7e63cd795408adddcb445b2436e95089d47d55d6b5ddd731e309656f4a3f5e0a809263117fea15d83faae6d039063d1c3fc1632c37197c99d
 SHA512 (libsass-3.6.6.tar.gz) = 659828c854af391c10a16954425fbeeb5fa036189dea45555cd8046338f7469eb7f8d84134030ce644921514b8f397ef6070b56dfb116ea7ce94328d64576518

                 reply	other threads:[~2026-11-06  3:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179393549359.1.5245445853321452467.rpms-hugo-97089dd754fd@fedoraproject.org \
    --to=jwheel@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox