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: 📝 docs: Drop stale `GOTOOLCHAIN` references
Date: Sat, 07 Nov 2026 14:49:00 GMT	[thread overview]
Message-ID: <179406294051.1.17126506236103935885.rpms-hugo-f5dcc22ec7c9@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/hugo
            Branch : rawhide
            Commit : f5dcc22ec7c9a7cf7f924ac3ab663cce37f62ac1
            Author : Justin Wheeler <jwheel@fedoraproject.org>
            Date   : 2026-11-07T09:48:09-05:00
            Stats  : +2/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/hugo/c/f5dcc22ec7c9a7cf7f924ac3ab663cce37f62ac1?branch=rawhide

            Log:
            📝 docs: Drop stale `GOTOOLCHAIN` references

The spec no longer exports `GOTOOLCHAIN=local`, so `README.md` and
`AGENTS.md` were describing a setting that no longer exists. Both files
now give the actual reason instead: Koji builds have no network access,
so the toolchain cannot download another Go release. This keeps the
documentation consistent with `hugo.spec` and avoids implying the build
needs protection it does not have.

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

---
diff --git a/AGENTS.md b/AGENTS.md
index 5a70fb7..875b08b 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -29,7 +29,7 @@ At the time of the 0.169.0 update:
 - rawhide and F45 had Go 1.27.3 / 1.27.1 and were eligible.
 - F44 and F43 had Go 1.26.10 and were **not** eligible.
 
-`GOTOOLCHAIN=local` is set in `%build` so the toolchain cannot download a different Go release during the build.
+Koji builds have no network access, so the Go toolchain cannot download an alternative release during a build.
 
 ## Updating the package
 

diff --git a/README.md b/README.md
index 2686dd7..f10a258 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ Downloaded source archives are kept in Fedora's lookaside cache, not in git.
 Hugo is written in Go and vendors all of its dependencies.
 `go-vendor-tools` generates a separate vendor archive from the upstream module graph, so the RPM build never needs network access.
 The spec also unpacks a copy of LibSass 3.6.6 into `vendor/github.com/bep/golibsass/libsass_src`, because `go mod vendor` does not include the C++ sources that the Extended edition needs.
-The build requires Go 1.27.0 or newer and sets `GOTOOLCHAIN=local` so the toolchain cannot download a different Go release mid-build.
+The build requires Go 1.27.0 or newer.
 The resulting binary is `/usr/bin/hugo`, built with the `extended` tag and without `withdeploy`.
 The test suite runs in `%check` with a small, documented exclusion list.
 

                 reply	other threads:[~2026-11-07 14:49 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=179406294051.1.17126506236103935885.rpms-hugo-f5dcc22ec7c9@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