This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use github.com/rogpeppe/go-internal@v1.3.0; fix tests for 1.13 (#77)
- Loading branch information
Showing
28 changed files
with
721 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Copyright (c) 2016 Paul Jolly <paul@myitcv.org.uk>, all rights reserved. | ||
# Use of this document is governed by a license found in the LICENSE document. | ||
|
||
set -eu | ||
set -o pipefail | ||
set -o errtrace | ||
|
||
cd $(git rev-parse --show-toplevel) | ||
|
||
if [ ! -d _scripts/known_diffs ] | ||
then | ||
exit 0 | ||
fi | ||
|
||
goversion=$(go version | cut -d ' ' -f 3) | ||
|
||
for i in $(ls _scripts/known_diffs) | ||
do | ||
if [ "$goversion" == $i ] | ||
then | ||
for j in $(find _scripts/known_diffs/$i -type f) | ||
do | ||
git apply $j | ||
done | ||
fi | ||
done | ||
|
27 changes: 27 additions & 0 deletions
27
_scripts/known_diffs/go1.11.12/badly_sorted_vendor_modules.txt.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff --git b/vendor/modules.txt a/vendor/modules.txt | ||
index 49894ad..5b8d57c 100644 | ||
--- b/vendor/modules.txt | ||
+++ a/vendor/modules.txt | ||
@@ -1,16 +1,16 @@ | ||
# github.com/rogpeppe/go-internal v1.3.0 | ||
github.com/rogpeppe/go-internal/cmd/txtar-addmod | ||
-github.com/rogpeppe/go-internal/module | ||
-github.com/rogpeppe/go-internal/txtar | ||
-github.com/rogpeppe/go-internal/semver | ||
github.com/rogpeppe/go-internal/goproxytest | ||
github.com/rogpeppe/go-internal/gotooltest | ||
-github.com/rogpeppe/go-internal/testscript | ||
-github.com/rogpeppe/go-internal/par | ||
github.com/rogpeppe/go-internal/imports | ||
github.com/rogpeppe/go-internal/internal/os/execpath | ||
github.com/rogpeppe/go-internal/internal/textutil | ||
+github.com/rogpeppe/go-internal/module | ||
+github.com/rogpeppe/go-internal/par | ||
+github.com/rogpeppe/go-internal/semver | ||
github.com/rogpeppe/go-internal/testenv | ||
+github.com/rogpeppe/go-internal/testscript | ||
+github.com/rogpeppe/go-internal/txtar | ||
# gopkg.in/errgo.v2 v2.1.0 | ||
-gopkg.in/errgo.v2/fmt/errors | ||
gopkg.in/errgo.v2/errors | ||
+gopkg.in/errgo.v2/fmt/errors |
27 changes: 27 additions & 0 deletions
27
_scripts/known_diffs/go1.12.7/badly_sorted_vendor_modules.txt.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff --git b/vendor/modules.txt a/vendor/modules.txt | ||
index 49894ad..5b8d57c 100644 | ||
--- b/vendor/modules.txt | ||
+++ a/vendor/modules.txt | ||
@@ -1,16 +1,16 @@ | ||
# github.com/rogpeppe/go-internal v1.3.0 | ||
github.com/rogpeppe/go-internal/cmd/txtar-addmod | ||
-github.com/rogpeppe/go-internal/module | ||
-github.com/rogpeppe/go-internal/txtar | ||
-github.com/rogpeppe/go-internal/semver | ||
github.com/rogpeppe/go-internal/goproxytest | ||
github.com/rogpeppe/go-internal/gotooltest | ||
-github.com/rogpeppe/go-internal/testscript | ||
-github.com/rogpeppe/go-internal/par | ||
github.com/rogpeppe/go-internal/imports | ||
github.com/rogpeppe/go-internal/internal/os/execpath | ||
github.com/rogpeppe/go-internal/internal/textutil | ||
+github.com/rogpeppe/go-internal/module | ||
+github.com/rogpeppe/go-internal/par | ||
+github.com/rogpeppe/go-internal/semver | ||
github.com/rogpeppe/go-internal/testenv | ||
+github.com/rogpeppe/go-internal/testscript | ||
+github.com/rogpeppe/go-internal/txtar | ||
# gopkg.in/errgo.v2 v2.1.0 | ||
-gopkg.in/errgo.v2/fmt/errors | ||
gopkg.in/errgo.v2/errors | ||
+gopkg.in/errgo.v2/fmt/errors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
module github.com/myitcv/gobin | ||
|
||
require github.com/rogpeppe/go-internal v1.0.1-alpha.6 | ||
require github.com/rogpeppe/go-internal v1.3.0 | ||
|
||
go 1.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.