Skip to content

Commit

Permalink
go/vcs: isolate into a nested module
Browse files Browse the repository at this point in the history
The previous change marked the vcs package as deprecated.
This change isolates it into a nested module where it
will be tagged as v0.1.0-deprecated, its last version.
The next change deletes the nested module from the tools repo.

For golang/go#57051.

Change-Id: I0b7df60dbe87c1d97f150e5f8ca10e9d281a9364
Reviewed-on: https://go-review.googlesource.com/c/tools/+/505955
gopls-CI: kokoro <[email protected]>
Run-TryBot: Dmitri Shuralyov <[email protected]>
Auto-Submit: Dmitri Shuralyov <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Reviewed-by: Bryan Mills <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
  • Loading branch information
dmitshur authored and gopherbot committed Jun 26, 2023
1 parent 20d54c9 commit de39661
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Deprecated: This module contains one deprecated package.
// See the package deprecation notice for more information.
module golang.org/x/tools/go/vcs

go 1.19

require golang.org/x/sys v0.9.0
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s=
golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
2 changes: 1 addition & 1 deletion vcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// It needed to be manually kept in sync with upstream when changes were
// made to cmd/go/internal/get, as tracked in go.dev/issue/11490.
// By now, it has diverged significantly from upstream cmd/go/internal/get
// behavior and is not being actively updated.
// behavior and will not receive any further updates.
package vcs // import "golang.org/x/tools/go/vcs"

import (
Expand Down

0 comments on commit de39661

Please sign in to comment.