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

67 Коммитов

Автор SHA1 Сообщение Дата
Carolyn Van Slyck 310cf2410b
Update changelog 2018-04-02 21:41:39 -05:00
Sunny 4c86f274b0
Update Changelog for #1553 2018-03-25 23:06:42 +05:30
Carolyn Van Slyck 5bdae264c6
Merge pull request #1714 from golang/import-during-solve
Bring long term branch import-during-solve back into master
2018-03-05 08:42:18 -06:00
Sunny 508372ac39
Update Changelog for #1549 and typo fixes 2018-03-04 23:54:33 +05:30
Carolyn Van Slyck 724cfcaf7b
Add feature flag for import during solve
It is turned off by default and can only be
enabled by changing the code and doing a new build. This will help us
test out the new feature without a long-term branch.
2018-02-24 20:20:34 -06:00
Chinmay Raval 26adbc5a6c
cmd/init: Enable importing external configuration from dependencies during init
Enable importing other tools and add integration tests
- Turned off skip tools flag by default
- Added glide integration tests for the init case
2018-02-24 14:57:34 -06:00
sam boyer 338675da19
Merge pull request #1250 from jmank88/source_opt
gps: fine grained source transitions
2018-02-24 01:04:44 -05:00
sam boyer f7d21fad56 Fixup changelog 2018-02-21 09:14:50 -05:00
sam boyer bd62fd14c5
Merge pull request #1533 from AstromechZA/aza_dep_install_script
Install.sh script for dep
2018-02-21 08:43:03 -05:00
Jordan Krage 802927fbb9
Merge pull request #1620 from jmank88/go1.10
increment CI go versions from 1.8.x/1.9.x/tip to 1.9.x/1.10.x/tip
2018-02-19 14:26:05 -06:00
Jordan Krage 55a9bc90ad increment CI go versions from 1.8.x/1.9.x/tip to 1.9.x/"1.10"/tip 2018-02-19 14:13:58 -06:00
Jordan Krage d81b4d09cf update changelog with links 2018-02-08 19:19:50 +03:00
Jordan Krage b9a79adaa8 gps: vcs: fine grained source transitions
gps: source coord: set-up sources before returning gateways

gps: source cache: improve PackageTree ProjectRoot handling
2018-01-31 14:54:46 -06:00
Ben Meier e0bb5ac8ff Added install.sh script; Changelog entry; Changelog parenths fixes; REAMDE addition 2018-01-28 07:44:43 +02:00
Kashav Madan 2eb24b72e8 Fix formatting of issue references in v0.4.0 notes 2018-01-25 23:43:14 -05:00
sam boyer ad20f9576f dep: Retroactive CHANGELOG update 2018-01-25 09:24:10 -05:00
sam boyer c96dae40e4 dep: Update CHANGELOG for release 2018-01-24 18:15:13 -05:00
sam boyer 8cb413bc0d Update CHANGELOG 2018-01-24 17:57:50 -05:00
Stephan Peijnik beab249867 Fix ignored per-project prune options (#1561)
* Use prune options defined per-project when generating gps.RootPruneOptions
* Add test cases checking if this behavior is correct
2018-01-24 08:14:50 +01:00
sam boyer 7297a48ece dep: Update CHANGELOG for release 2018-01-23 23:24:47 -05:00
sam boyer 689880a0a3 Update CHANGELOG 2018-01-16 01:28:06 -08:00
sam boyer 30ea01581f misc: Clean up CHANGELOG, add TODO from #1509 2018-01-15 21:38:49 -08:00
sam boyer 8239ba1a12
Merge branch 'master' into status-latest-version-type 2018-01-15 21:19:38 -08:00
Sunny 7ed3aa220f
status: LATEST should be of the same type as VERSION
This change modifies the LATEST field in status from always being a
revision to the same type as of the VERSION field.

If VERSION is a semver version, the LATEST would have the latest semver
version of the project constrained by the effective constraint.
If VERSION is a branch version, the LATEST would have the latest
revision of that branch.
2018-01-11 23:38:15 +05:30
Suhas Karanth 7bf46112fa make importers error tolerant (#1474)
* make importers error tolerant

- root_analyzer.go: Log a warning on encountering an unrecoverable error during
  import of external config and proceed with the import for other packages.
  Do not return error from private func `importManifestAndLock`.

internal/importers:
- base/importer.go:
  - `loadPackages`: Do not return error. If `SourceManager.DeduceProjectRoot`
    fails to determine the project root, log a warning and continue with the
    rest of the imported packages.
  - `ImportPackages`: Do not return error. When constraint resolution from the
    lock hint fails, only log a warning.
- Importer implementations:
  - Return an error from `Import` only for catastrophic failures(ex: yaml
    parsing failed).
  - `load`: Make it more error tolerant. Log warnings only for any of the
    following scenarios:
    - When and if a lock file, separate from the dependency file is present,
      like, in the case of glide, and parsing fails. Continue with the import
      as if the lock file was not present.
    - If import packages are parsed line by line like in the case of glock,
      and one of the line could not be parsed.
  - `convert`: Do not return an error. Log warnings only for any of the
    following scenarios:
    - Expected field, such as `package` for an entry in `glide.yaml>imports`
      is not present.
    - Package was specified but the contraint could not be found.

* update importer tests

* improve importer warning msgs

Address feedback from @carolynvs

* add tests for importer failure scenarios

- internal/importers/base/importer_test.go:
  - Check for warning when an invalid project is present whose project root
    cannot be parsed.
  - Check for warning when lock hint cannot be resolved correctly and the
    constraint cannot be applied.
- Integration test for malformed external config(glide.yaml)

* tweak importer warnings

- {package => project}
- Improve warning message when no constraint is found for the package being
  imported.

* update changelog
2018-01-11 12:02:00 -06:00
Adam Woodbeck 211dbce2ea
Improve change log description of fix 2017-12-27 08:30:54 -05:00
Adam Woodbeck 841ac94668 Add optional '-v' flag to ensure args help text 2017-12-26 20:32:33 -05:00
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