Граф коммитов

27 Коммитов

Автор SHA1 Сообщение Дата
sam boyer 916906bed1 dep: Prune vendor using new pruning powers
Also remove the now-superfluous `dep prune` call from vendor validation
checks.
2018-01-23 23:46:57 -05:00
dungeonmaster18 3eb951e15b
Added Support for freebsd and 386 arch 2017-12-22 00:44:16 +05:30
Ibrahim AshShohail b439b8dbb8
ignore (*Manifest).PruneOptionsFor is unused error
Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
2017-11-17 10:49:16 +03:00
tamal e9669650a1 Move gps package out of internal
`gomvpkg -from github.com/golang/dep/internal/gps -to github.com/golang/dep/gps`
2017-11-10 17:02:30 -08:00
Denis Brodbeck 0fc4c6147d Append .exe to windows builds when creating release. 2017-10-20 22:33:49 +02:00
LoganDark 995362b508 Update validate-gofmt.bash 2017-10-08 16:17:18 -07:00
Jordan Krage 132b9deb55 gps: lint - ignore unused from prune.go 2017-09-24 08:18:24 -05:00
sam boyer 203c059e33 Merge pull request #1201 from AlekSi/build-macos
Modify build-all.bash script to work on macOS.
2017-09-22 10:17:03 -04:00
Alexey Palazhchenko 9642a4947a Modify build-all.bash script to work on macOS.
Refs #1198.
2017-09-22 10:22:17 +03:00
Jordan Krage 58a88e9508 hack: update validate-license to include *.proto and exclude *.pb.go 2017-09-18 07:32:51 -05:00
sam boyer 50bcf4ce75 CI: enforce that dep prune is run 2017-09-12 12:24:42 -04:00
Tamir Duberstein 3a25b0b519
Add golint
/Users/tamird/src/go/src/github.com/golang/dep/context.go:86:1: exported method Ctx.SourceManager should have comment or be unexported
/Users/tamird/src/go/src/github.com/golang/dep/internal/gps/cmd.go:75:13: should omit type *int32 from declaration of var isDone; it will be inferred from the right-hand side
/Users/tamird/src/go/src/github.com/golang/dep/internal/gps/version.go:122:1: exported method Revision.ImpliedCaretString should have comment or be unexported
/Users/tamird/src/go/src/github.com/golang/dep/internal/test/test.go:27:2: exported var ExeSuffix should have comment or be unexported
/Users/tamird/src/go/src/github.com/golang/dep/internal/test/test.go:29:15: should omit type *bool from declaration of var PrintLogs; it will be inferred from the right-hand side
/Users/tamird/src/go/src/github.com/golang/dep/internal/test/test.go:30:15: should omit type *bool from declaration of var UpdateGolden; it will be inferred from the right-hand side
/Users/tamird/src/go/src/github.com/golang/dep/internal/test/test.go:194:1: comment on exported method Helper.Run should be of the form "Run ..."
/Users/tamird/src/go/src/github.com/golang/dep/internal/test/test.go:449:1: comment on exported method Helper.GetFile should be of the form "GetFile ..."
/Users/tamird/src/go/src/github.com/golang/dep/internal/test/test.go:611:1: exported method Helper.GetCommit should have comment or be unexported
2017-09-11 19:22:23 -04:00
Tamir Duberstein 38a0b24462
Use megacheck 2017-09-11 19:22:23 -04:00
Tamir Duberstein d9c8bd6dd1
Add honnef.co/go/tools/cmd/unused
cmd/dep/ensure.go:138:2: field overrides is unused (U1000)
cmd/dep/ensure.go:702:6: type stringSlice is unused (U1000)
internal/gps/bridge.go:60:2: field crp is unused (U1000)
internal/gps/pkgtree/pkgtree_test.go:36:3: field Internal is unused (U1000)
internal/gps/pkgtree/pkgtree_test.go:36:13: field External is unused (U1000)
internal/gps/selection.go:76:21: func (*selection).setDependenciesOn is unused (U1000)
internal/gps/selection.go:99:21: func (*selection).getSelectedPackagesIn is unused (U1000)
internal/gps/solve_basic_test.go:1356:33: func (*depspecSourceManager).ExternalReach is unused (U1000)
internal/gps/solve_basic_test.go:1571:16: func fixLock.SolverVersion is unused (U1000)
internal/gps/solve_basic_test.go:1588:18: func dummyLock.SolverVersion is unused (U1000)
internal/gps/solve_failures.go:20:2: const warning is unused (U1000)
internal/gps/solve_failures.go:21:2: const mustResolve is unused (U1000)
internal/gps/solve_failures.go:22:2: const cannotResolve is unused (U1000)
internal/gps/source_manager.go:217:4: func Temporary is unused (U1000)
internal/gps/source_manager.go:712:2: const ctCheckoutVersion is unused (U1000)
internal/gps/typed_radix.go:34:23: func (*deducerTrie).Delete is unused (U1000)
internal/gps/vcs_repo.go:201:6: type svnRepo is unused (U1000)
internal/gps/vcs_repo_test.go:122:6: func testSvnRepo is unused (U1000)
internal/gps/vcs_source.go:573:6: type repo is unused (U1000)
internal/gps/version_queue_test.go:30:23: func (*fakeBridge).ListVersions is unused (U1000)
internal/gps/version_queue_test.go:45:27: func (*fakeFailBridge).ListVersions is unused (U1000)
internal/test/integration/testproj.go:34:2: field h is unused (U1000)
2017-09-11 19:22:23 -04:00
Emrecan BATI 2484c39c12 Add brew formula with dryrun option 2017-08-19 16:11:36 +03:00
Emrecan BATI 9a154325ee Move various CI commands to bash files 2017-08-19 01:06:56 +03:00
Gregory Man d82618010d Fixed validate-vendor.bash to work with current dep implementation.
This should be reverted after -vendor-only flag will be implemented.
See https://github.com/golang/dep/issues/645 for more details.

Fixes #645
2017-05-25 13:18:26 +03:00
Jordan Krage e112b2fe63 adding in-process tests 2017-05-05 18:51:26 -05:00
zkanda 594fab6112 Replace most of fmt.Fprintln for internal Logf() and Logln() 2017-05-04 19:31:13 +08:00
Kris Nova b41a8becd9 Marking gofmt hack script executable 2017-04-25 11:38:23 -06:00
Kris Nova 0561ca9bfb Fix gofmt and travis
- Changes to travis.yml
 - New hack validate-gofmt.bash script
 - Fixing staticcheck in gps
 - Fixing gosimple in gps
2017-04-25 11:14:46 -06:00
Jess Frazelle 7a4e4053b7
hack/validate-vendor.bash: fix build dep & script without TRAVIS_BRANCH
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-14 11:57:39 +00:00
Carolyn Van Slyck e31a18608e New filenames: Gopkg.toml and Gopkg.lock 2017-04-06 10:32:09 -05:00
Carolyn Van Slyck d2a557e009 Change manifest and lock file names to manifest.toml and lock.toml 2017-04-04 21:10:43 -05:00
Matt Blair 34b4eeb28c hack: update repo name 2017-02-21 20:15:57 -05:00
Jess Frazelle 06cb0c1701 add script to check if changes to vendor are valid
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-01-19 12:21:40 -08:00
Jess Frazelle eadb6937ed add script to check license headers
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-01-18 09:28:20 -05:00