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

23 Коммитов

Автор SHA1 Сообщение Дата
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 0df7f6ac2b Remove some old TODOs that no longer apply 2017-07-26 16:26:57 -04:00
Jordan Krage 478afad8fe add new ProjectAnalyzerInfo type to return from ProjectAnalyzer.Info 2017-06-14 18:31:47 -05:00
Jordan Krage c2491a6c46 document Analyzer and Project 2017-06-03 20:07:23 -05:00
Carolyn Van Slyck cbc263f23a Support importing glide configuration
* init imports by default unless -skip-tools is specified
* glide config in dependencies is taken into account during solve
2017-06-01 16:22:46 -05:00
Ibrahim AshShohail 0bc771f618 Merge branch 'master' into consolidate-fs-files 2017-05-12 20:24:32 +03:00
Jordan Krage cbded81ec1 move Logger into Ctx; restore logging 2017-05-11 11:16:36 -05:00
Ibrahim AshShohail f87d614e17 consolidate fs.go, internal/fs.go and gps/internal/fs/fs/.go into internal/fs 2017-05-10 20:37:13 +03:00
Dave Cheney 9ea8489e5e gps: move gps to internal/gps
Fixes #300
Fixes #519
2017-05-10 14:15:27 +10:00
Kris Nova 4d5c597e0f Merge branch 'master' into add-gps 2017-05-01 20:34:30 -06:00
Marcelo E. Magallon dc4d317609 Improve coverage for DeriveManifestAndLock
Test error conditions in Analyzer.DeriveManifestAndLock(...):

	* Manifest file does not exist

	* Manifest file cannot be read

	* Manifest file is invalid

Add test for Analyzer.Info() to make sure that changes to name or
version do not go unnoticed.

This addresses issue #41.

Signed-off-by: Marcelo E. Magallon <marcelo.magallon@gmail.com>
2017-04-28 06:24:34 -06:00
Kris Nova 94ba649df8 Changes from code review
Revert a handful of substitutions
Remove gps/CONTRIBUTING.md (Can port/replace later)
Remove gps/README.md (Can port/replace later)

Original code review: https://github.com/golang/dep/pull/410#pullrequestreview-34059393
2017-04-21 13:45:36 -06:00
Kris Nova 122ade36c3 String replacing for import paths
sed/g the following strings (somewhat blindly)
github.com/sdboyer/gps -> github.com/golang/go/gps
github.com/sdboyer/gps/internal -> github.com/golang/dep/gps/internal
github.com/sdboyer/gps/pkgtree -> github.com/golang/dep/gps/pkgtree
2017-04-21 13:39:03 -06:00
sam boyer 00a5b76e36 Whoops, need to export Analyzer now 2017-04-15 01:23:16 -04:00
sam boyer 9c9f382b5b Update gps to v0.15.0
This requires an update to the lock fixtures, as memos have changed due
to abandoning semver versions for plain ints in
gps.ProjectAnalyzer.Info().
2017-03-31 15:42:55 -04:00
tro3 fceb52f636 Increasing coverage for lock and analyzer 2017-02-12 23:52:17 -05:00
Miguel Molina 0acfd38c22 move command code into cmd subpackage
In this commit, the testing framework used in dep is moved to the
test package, since it's used either in dep and main.
All the code that is not part of a command has been moved to the
dep subpackage, as well as all those functions that were shared between
dep and main, since dep cannot depend on main.
Because of the movement to another package, many structs, methods and
functions have become public.
2017-01-28 01:45:37 -05:00
Jaana Burcu Dogan 9690862a05 fix typo 2017-01-25 21:13:39 -05:00
Jaana Burcu Dogan a7ea40f0e4 rename hoard to deb 2017-01-25 21:13:39 -05:00
Yasuhiro Matsumoto 235086abdc close file 2017-01-24 12:52:39 -05:00
sam boyer 66717c03e9 Name the hoard analyzer appropriately 2017-01-18 16:19:08 -08:00
Jess Frazelle f3ef60e9bd Implement DeriveManifestAndLock
Signed-off-by: Jess Frazelle <acidburn@google.com>
2016-12-08 20:13:48 -05:00
sam boyer e8a55eb689
Add rudimentary analyzer
This is the minimum amount necessary to get a SourceManager working.
2016-10-18 11:29:29 -04:00