Skip to content

Commit

Permalink
internal/backport: delete
Browse files Browse the repository at this point in the history
Now that the deploy happens with Go 1.19, it's viable to start using
these packages from the standard library instead of their backported
temporary copies.

Keeping Go 1.18 happy during its last two months of support requires
a tiny complication in pkgdoc package. An alternative path is to not
drop internal/backport/go/doc and all of its dependencies right away,
but getting to zero backported packages sooner was hard to resist...

For golang/go#51800.

Change-Id: Ieb7a137a033d6b6850dfc019c8c0c767756cc30d
Reviewed-on: https://go-review.googlesource.com/c/website/+/456522
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
  • Loading branch information
dmitshur authored and gopherbot committed Dec 12, 2022
1 parent 21c8d58 commit a697538
Show file tree
Hide file tree
Showing 413 changed files with 76 additions and 69,886 deletions.
4 changes: 2 additions & 2 deletions cmd/golangorg/server.go
Expand Up @@ -14,6 +14,8 @@ import (
"errors"
"flag"
"fmt"
"go/format"
"html/template"
"io/fs"
"io/ioutil"
"log"
Expand All @@ -31,8 +33,6 @@ import (
"cloud.google.com/go/datastore"
"golang.org/x/build/repos"
"golang.org/x/website"
"golang.org/x/website/internal/backport/go/format"
"golang.org/x/website/internal/backport/html/template"
"golang.org/x/website/internal/blog"
"golang.org/x/website/internal/codewalk"
"golang.org/x/website/internal/dl"
Expand Down
3 changes: 1 addition & 2 deletions cmd/googlegolangorg/main.go
Expand Up @@ -3,11 +3,10 @@ package main

import (
"fmt"
"html/template"
"net/http"
"os"
"strings"

"golang.org/x/website/internal/backport/html/template"
)

var repoMap = map[string]*repoImport{
Expand Down
3 changes: 1 addition & 2 deletions internal/api/api_test.go
Expand Up @@ -5,11 +5,10 @@
package api

import (
"go/build"
"os"
"runtime"
"testing"

"golang.org/x/website/internal/backport/go/build"
)

func TestParseVersionRow(t *testing.T) {
Expand Down
10 changes: 0 additions & 10 deletions internal/backport/README.md

This file was deleted.

261 changes: 0 additions & 261 deletions internal/backport/diff/diff.go

This file was deleted.

44 changes: 0 additions & 44 deletions internal/backport/diff/diff_test.go

This file was deleted.

13 changes: 0 additions & 13 deletions internal/backport/diff/testdata/allnew.txt

This file was deleted.

13 changes: 0 additions & 13 deletions internal/backport/diff/testdata/allold.txt

This file was deleted.

0 comments on commit a697538

Please sign in to comment.