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

40 Коммитов

Автор SHA1 Сообщение Дата
sam boyer 566dba0b73 Update CHANGELOG 2017-12-18 09:25:48 -05:00
Sunny 9c10b3be08
Update changelog 2017-12-14 00:03:20 +05:30
Sunny 3a59b68597
Merge pull request #1420 from JamieCrisman/1410-handle-errors
status: handle errors when writing output
2017-12-08 23:30:47 +05:30
Suhas Karanth 6c1220894d allow cachedir override using env var
source
- main.go: Read and use env var `DEPCACHEDIR` for instantiating dep context.
- context.go:
  - Add field `Cachedir` to struct `Ctx`. This holds the value of env var
    `DEPCACHEDIR`.
  - Use `Ctx.Cachedir` while instantiating `gps.SourceMgr` if present, fallback
    to `$GOPATH/pkg/dep` otherwise.
- source_manager.go: Add a getter func `Cachedir` to facilitate testing in
  `context_test.go`.

test
- context_test.go Add test to check `gps.SourceMgr` is instantiated with
  appropriate `cachedir`.
- integration_test.go: Add test to check environment variable `DEPCACHEDIR` is
  loaded and used if present.

misc
- update changelog
2017-12-08 09:02:18 +05:30
Jamie Crisman fcdb2edaf1 More compact error handling 2017-12-07 11:40:41 -06:00
Jamie Crisman 4938def90b Make error return consistently 2017-12-04 11:30:15 -06:00
Dylan Arbour ac45fa2f20
Skip empty constraints 2017-12-03 11:11:29 -05:00
Sebastian Mæland Pedersen 43b1b5bc7f Add importer for github.com/robfig/glock 2017-12-01 23:57:56 +01:00
Frank Somers ebef7c178a CHANGELOG.md: Add reference to PR 1408
internal/fs: Don't Sync() destination file after copy
https://github.com/golang/dep/pull/1408
2017-11-28 16:36:59 +00:00
sam boyer 7ccbfed886
Merge pull request #815 from kyleconroy/govendor-importer
Add importer for govendor
2017-11-26 15:37:53 -05:00
Carolyn Van Slyck 56cefc4d23
internal/importers: add govendor importer
Move govendor files into importers pkg

Expose the base importer's source manager
It is used by the govendor importer to detect ignored packaegs

Update govendor importer to use base importer

Document exported members

Remove unused testdata

Import ignores with wildcards

Add govendor support to changelog

Do not import vendored sources

Don't require a revision to import govendor config
There are valid govendor configs in the wild that do not have a revision
set, essentially requiring the package but not locking to a revision. We
should allow that and not stop the import.
2017-11-26 11:59:21 -06:00
sam boyer 13df556177
Merge pull request #1243 from carolynvs/gopkgin-v0-panic
gps: fix panic for gopkgin's implicit v0
2017-11-20 13:28:18 -05:00
Quentin Renard a00456599a Added flag dependent vendor behavior for ensure update as well 2017-11-17 08:31:31 +01:00
sam boyer d0d6602eb1
Merge branch 'master' into gopkgin-v0-panic 2017-11-16 21:59:28 -05:00
Vladimir Smirnov b7882f0b43 Add a sanity check for git ls-remote output
This should fix panics for cases where `git ls-remote` contains
unepxected lines (e.x. some extra warnings from ssh)

Related to #1379
2017-11-16 16:52:52 +01:00
Carolyn Van Slyck e845081f67
List gopkg.in v0 support in changelog 2017-11-14 20:16:48 -08:00
Jordan Krage 8065bb2db9 gps: vcs: suppress git password prompts 2017-11-14 10:31:49 -06: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
sam boyer ea9a941c0f Update CHANGELOG 2017-10-29 00:44:23 -04:00
Carolyn Van Slyck e9c9a0d23e
Include #1176 in the changelog 2017-10-25 20:13:05 -05:00
Denis Brodbeck c72ba3ab43 Update changelog. 2017-10-20 22:49:05 +02:00
Sunny 11b1265382 Add v0.3.3 in changelog 2017-10-20 17:30:59 +05:30
Alexey Palazhchenko 761b16eb6b Update CHANGELOG.md 2017-10-20 10:19:19 +03:00
Carolyn Van Slyck 14f7943b80
List import support for gb/gvt in the changelog 2017-10-17 16:28:15 -05:00
Jelte Fennema 9db18d89a8 Changelog: Move -no-vendor -dry-run behaviour to NEW FEATURES section 2017-10-12 19:50:53 -06:00
Jelte Fennema 5395da0a83 Merge remote-tracking branch 'origin' into no-vendor-dry-run 2017-10-12 19:36:20 -06:00
sam boyer 276ead9b8d Merge branch 'master' into recursive-ignore 2017-10-12 13:21:19 -04:00
Jelte Fennema 8a9df9b4f5 Merge branch 'master' into no-vendor-dry-run 2017-10-11 19:24:48 -06:00
Jelte Fennema 544c6007f3 Update changelog for #1256 2017-10-10 11:12:24 -06:00
Sunny d5e5185e8d Update CHANGELOG 2017-10-08 02:07:43 +05:30
Sunny 4376248c2f Update CHANGELOG. 2017-10-07 19:52:23 +05:30
sam boyer 2151e429c1 Update CHANGELOG.md with #1191 2017-10-06 00:33:35 -04:00
sam boyer 0edac3f3d3 Merge pull request #1216 from darkowlzz/status-mismatch-ignore
fix(status): skip ignored pkgs in missing pkgs chk
2017-10-04 07:41:44 -04:00
sam boyer 67e867833a Merge pull request #1205 from darkowlzz/pr-template-changelog
pr-template: instruction about updating changelog
2017-10-04 07:40:31 -04:00
Sunny 9547a152db fix(status): skip ignored pkgs in missing pkgs chk
This change skips the root packages from missing package check if
there's a path to the corresponding package in manifest's ignored list.

`digestMismatch` is removed from `runStatusAll()`. When there's
a digest mismatch, it's an error. And we already log to stderr but never
returned an actual error. `errInputDigestMismatch` is now returned as error
when there's a digest mismatch.

Some refactoring in how we handle the returned info from `runStatusAll()`
and show the errors and their solutions.
2017-09-28 17:54:37 +05:30
Sunny 2e51ae2838 changelog: correct changelog about ensure 2017-09-27 01:25:51 +05:30
Sunny bc88218d82 ref(ensure): make ensure -add concurrent
This change makes `ensure -add` concurrently add the dependencies and
uses golang.org/x/sync/syncmap for a concurrent map to replace
addInstructions map.

Also, logs a message when the sources are being fetched.
2017-09-24 19:48:48 +05:30
Sunny 39ebb70bd5 Update CHANGELOG.md 2017-09-22 19:23:09 +05:30
sam boyer 83789e236d Prep CHANGELOG for release 2017-09-18 20:55:13 -04:00
Sunny 8ef8b74206 add CHANGELOG.md 2017-09-19 01:30:08 +05:30