Skip to content

Commit

Permalink
add go.mod and vendor upstream pkg/errors v0.8.0
Browse files Browse the repository at this point in the history
This patch replaces the vendor.conf with a go.mod, and re-vendors
the pkg/errors files from upstream.

This commit is mostly to preserve history of the local changes that
were made to the pkg/errors package (which appear to have been made
for debugging purposes).

Setting the minimum go version in go.mod to v1.7 for this commit,
which matches the lowest version that's testet against in CI.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Jun 14, 2021
1 parent 90b5819 commit 51d9e7b
Show file tree
Hide file tree
Showing 10 changed files with 136 additions and 49 deletions.
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/cyphar/filepath-securejoin

go 1.7

require github.com/pkg/errors v0.8.0
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
1 change: 0 additions & 1 deletion vendor.conf

This file was deleted.

24 changes: 24 additions & 0 deletions vendor/github.com/pkg/errors/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions vendor/github.com/pkg/errors/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions vendor/github.com/pkg/errors/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions vendor/github.com/pkg/errors/appveyor.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 4 additions & 45 deletions vendor/github.com/pkg/errors/errors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions vendor/github.com/pkg/errors/stack.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# github.com/pkg/errors v0.8.0
## explicit
github.com/pkg/errors

0 comments on commit 51d9e7b

Please sign in to comment.