Commit Graph

19 Commits

Author SHA1 Message Date
Dmitry Vyukov
712de1c63d vendor/github.com/golangci/golangci-lint: update to v1.31 2020-09-15 19:34:30 +02:00
Dmitry Vyukov
a1aebcca7f vendor: add google.golang.org/appengine/memcache 2020-07-09 19:40:12 +02:00
Dmitry Vyukov
c992206a1d tools/syz-linter: add custom linter
For now we have 2 simple checks:

1. for multiline comments:
/* */ -> //

2. for string len comparison with 0:
len(str) != 0 -> str != ""

Update #1876
2020-07-04 15:05:30 +02:00
Dmitry Vyukov
74cb4e09a5 go.mod: add go-fuzz-build
Otherwise go-fuzz-build now fails with:

+ go-fuzz-build -libfuzzer -func FuzzDeserialize -o fuzzer.a ./prog/test
-: cannot find package "." in:
	/syzkaller/gopath/src/github.com/google/syzkaller/vendor/github.com/dvyukov/go-fuzz/go-fuzz-dep
2020-07-04 15:05:30 +02:00
Dmitry Vyukov
c7d7f10bdf go.mod: vendor golangci-lint 2020-07-04 15:05:30 +02:00
Dmitry Vyukov
9573094ce2 go.mod: upgrade some dependencies
Since we started using modules, it's a good time to update some deps.
Update to latest official versions packages that have newer versions.

Update #1247
2020-07-04 15:05:30 +02:00
Dmitry Vyukov
dcff124efb go.mod: switch to modules for dependency management
Godep is long deprecated and modules is the future.
Updating dependencies with godep is painful and non-transparent.
This will hopefully help to create custom golangci-lint linters.
The change was created with:

go mod init
rm -rf vendor
go mod vendor

Fixes #1247
2020-07-04 15:05:30 +02:00
Tobias Klauser
344d949f1e vendor: bump golang.org/x/sys/unix
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-06-29 13:34:06 +02:00
Dmitry Vyukov
4705549800 vendor: update vendored files
Required to switch dashboard/app to go1.11.

Update #1461
2020-01-29 16:01:06 +01:00
Dmitry Vyukov
f51ae9765f vendor/github.com/google/go-cmp: update to HEAD
To pick up fix for:
https://github.com/google/go-cmp/issues/103
2019-03-17 18:06:44 +01:00
Dmitry Vyukov
7b4e273e53 vendor: add github.com/ianlancetaylor/demangle
Add the new package required by pkg/report/fuchsia.go.
Also update everything else because there does not seem
to be a way to add a package without a wholesale update.
2018-06-28 09:59:11 +02:00
Dmitry Vyukov
e79c9d2b43 vendor: add github.com/google/go-cmp/cmp
This package simplifies diffing complex objects in tests.
2018-06-18 19:45:37 +02:00
Dmitry Vyukov
4bd26193d8 vendor/golang.org/x/net/context/: fix fmt with Go 1.8
See https://github.com/golang/go/issues/21337
2017-08-10 14:35:07 +02:00
Dmitry Vyukov
a28999b4c6 vendor: update all packages
google.golang.org/api/compute/v0.beta again changed public interfaces
which causes breakages in other build environments.
Update everything to HEAD.
2017-08-08 10:54:24 +02:00
Dmitry Vyukov
04e73701ec vendor: add google.golang.org/appengine/mail
For sending emails from appengine apps.
2017-06-30 14:25:26 +02:00
Dmitry Vyukov
350f45c589 vendor: vendor appengine/aetest package 2017-06-23 15:16:22 +02:00
Dmitry Vyukov
f243096323 vendor: vendor appengine dependencies 2017-06-22 16:33:31 +02:00
Dmitry Vyukov
b41e96b421 vendor: switch from dep to godep
dep tool vendored too much code (100MB) including tests and unused packages.
godep vendored significantly less (12MB) without tests and unused packages.
The main advantage is that pre-Go1.9 toolchain does not run tests
of all vendor packages now.
2017-06-13 20:23:21 +02:00
Dmitry Vyukov
612b82714b vendor: vendor dependencies
All dependencies are vendored with:
go get github.com/golang/dep
dep init

If necessary, can be updated with:
dep ensure -update

Fixes #215
2017-06-13 19:26:47 +02:00