aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Lee <ethanalee@google.com>2026-02-20 16:34:30 +0000
committerGopher Robot <gobot@golang.org>2026-02-20 09:01:15 -0800
commitbf658f25df2c830b76166ce77350f62e90834365 (patch)
tree0c39ceed1c6843fe398f446349bb006ef6e40ddb
parent99852edd8ef2e1f1a8c8d465bbea02a4ca91ecba (diff)
downloadgo-x-pkgsite-bf658f25df2c830b76166ce77350f62e90834365.tar.xz
internal/licenses: update custom license exception for skipper.lre
- Update LRE file to accomodate updated LICENSE file. - Modify gen_exceptions.go to use os.CreateTemp. Fixes golang/go#77708 Change-Id: I8aac97f9de5a52226e894b328508d46a7e6f1355 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/747500 Auto-Submit: Ethan Lee <ethanalee@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> kokoro-CI: kokoro <noreply+kokoro@google.com>
-rw-r--r--internal/licenses/exceptions.gen.go5
-rw-r--r--internal/licenses/exceptions/skipper.lre5
-rw-r--r--internal/licenses/gen_exceptions.go2
3 files changed, 7 insertions, 5 deletions
diff --git a/internal/licenses/exceptions.gen.go b/internal/licenses/exceptions.gen.go
index 57f2959d..dc7e401e 100644
--- a/internal/licenses/exceptions.gen.go
+++ b/internal/licenses/exceptions.gen.go
@@ -9077,8 +9077,9 @@ SOFTWARE.
MODIFICATIONS TO pathmux/tree.go and pathmux/tree_test.go:
-02.09.2015 - Exposed the internal tree implementation of http://godoc.org/github.com/dimfeld/httptreemux so that
-it can be used to look up arbitrary objects in a Patricia tree.
+02.09.2015 - Exposed the internal tree implementation of
+(( http://godoc.org || http://pkg.go.dev ))
+/github.com/dimfeld/httptreemux so that it can be used to look up arbitrary objects in a Patricia tree.
21.04.2016 - Enabled backtracking in the tree lookup.
`
diff --git a/internal/licenses/exceptions/skipper.lre b/internal/licenses/exceptions/skipper.lre
index 7fa803eb..03997226 100644
--- a/internal/licenses/exceptions/skipper.lre
+++ b/internal/licenses/exceptions/skipper.lre
@@ -41,7 +41,8 @@ SOFTWARE.
MODIFICATIONS TO pathmux/tree.go and pathmux/tree_test.go:
-02.09.2015 - Exposed the internal tree implementation of http://godoc.org/github.com/dimfeld/httptreemux so that
-it can be used to look up arbitrary objects in a Patricia tree.
+02.09.2015 - Exposed the internal tree implementation of
+(( http://godoc.org || http://pkg.go.dev ))
+/github.com/dimfeld/httptreemux so that it can be used to look up arbitrary objects in a Patricia tree.
21.04.2016 - Enabled backtracking in the tree lookup.
diff --git a/internal/licenses/gen_exceptions.go b/internal/licenses/gen_exceptions.go
index 33886c3f..7d018054 100644
--- a/internal/licenses/gen_exceptions.go
+++ b/internal/licenses/gen_exceptions.go
@@ -72,7 +72,7 @@ func main() {
src, err := format.Source([]byte(code))
if err != nil {
- fd, err1 := io.TempFile("", "license-data")
+ fd, err1 := os.CreateTemp("", "license-data")
if err1 == nil {
_, err1 = fd.Write([]byte(code))
if err1 == nil {