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

47 Коммитов

Автор SHA1 Сообщение Дата
Daisuke Fujita a84a81ed6e Remove trailing spaces from generated Gopkg.toml 2017-06-19 11:54:00 +09:00
Sunny 48762c621e Merge pull request #758 from xmattstrongx/gopk_toml_cleanup
Gopk toml cleanup
2017-06-18 16:21:30 +05:30
mstrong 5238a51078
Moving old example text to a new markdown file. Adding comment with link to gopkg toml example markdown file 2017-06-17 15:34:13 -04:00
Carolyn Van Slyck dfc77a0976 Merge pull request #711 from mikijov/better-manifest-errors
Added check for multiple overrides in manifest files.
2017-06-17 12:14:08 -05:00
Milutin Jovanović 18198eca7b Modified test files to use project uri's that point to project root rather then submodules. 2017-06-16 08:24:47 -04:00
Milutin Jovanović 319d04e4f3 Added check for multiple overrides in manifes files. 2017-06-15 17:35:58 -04:00
sam boyer 05c40eba7f Merge meta-PR to stabilize Gopkg metadata files 2017-05-26 23:52:34 -04:00
Ibrahim AshShohail c1672d5b7a
Merge remote-tracking branch 'upstream/master' into add-metadata-to-sample-Gopkg-toml 2017-05-25 16:55:29 +03:00
Jordan Krage 9f9a32e145 spelling 2017-05-25 08:12:56 -05:00
Ibrahim AshShohail 0f443eed5c
dep: fix spelling
Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
2017-05-25 15:33:07 +03:00
Ibrahim AshShohail 80e58b838c
dep: update manifest example
Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
2017-05-25 11:07:40 +03:00
sam boyer a926aa27fa Incorporate implicit caret into stabilize-files 2017-05-24 22:02:28 -04:00
Carolyn Van Slyck ecf43b900c Always use implied carets in dep 2017-05-24 15:23:16 -05:00
sam boyer ab845201ea Merge branch 'split-up-hash' into stabilize-files 2017-05-22 22:46:40 -04:00
sam boyer 0081879b44 Respond to review 2017-05-22 22:35:18 -04:00
sam boyer f0a81f4b2f Incorporate pr/538, change manifest prop names 2017-05-22 21:59:32 -04:00
sam boyer 75ac569533 Incorporate solver name and version in Gopkg.lock 2017-05-22 13:41:13 -04:00
Gregory Man ee9843c65e Added comment on top of lock file
This will warn people to not edit lock file manually.

Resolves #615

Changes
2017-05-22 11:53:00 +03:00
sam boyer 8be9bb629b Split input components out in Gopkg.lock 2017-05-15 23:05:45 -04:00
Felipe Oliveira 5cb3e51de7 rename [[overrides]] to [[override]] 2017-05-10 02:00:07 -03:00
Dave Cheney 9ea8489e5e gps: move gps to internal/gps
Fixes #300
Fixes #519
2017-05-10 14:15:27 +10:00
Felipe Oliveira 942792af41 fix tests 2017-05-09 20:13:26 -03:00
Felipe Oliveira b76e4162e6 fixtures rename 2017-05-09 19:58:46 -03:00
Kris Nova 4d5c597e0f Merge branch 'master' into add-gps 2017-05-01 20:34:30 -06:00
sam boyer f861939606 More tweaks based on review 2017-04-28 01:15:19 -04:00
sam boyer 99f7861468 Polish text some more 2017-04-27 23:51:57 -04:00
sam boyer c070fbe76d Put the examples at the top instead
Injecting the comments at the bottom is suboptimal, as it means that
additional dependencies injected by later `dep ensure` calls (under
the new spec) will be separated from the original `init` set.

This seems slightly annoying now, but once we add a flag to allow
bypassing example injection, it'll be less of a problem.
2017-04-27 22:04:39 -04:00
sam boyer f4079c9050 Trim out/tighten up examples text 2017-04-27 22:00:16 -04:00
sam boyer ad4100140c Expand example Gopkg.toml text; always add on init 2017-04-26 01:13:27 -04: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
tro3 56e7772f23 Changing "Ignores" to "Ignored" 2017-04-15 20:22:59 -07:00
Carolyn Van Slyck e31a18608e New filenames: Gopkg.toml and Gopkg.lock 2017-04-06 10:32:09 -05:00
Carolyn Van Slyck f67fc9804a Validate manifest for duplicate dependencies 2017-04-04 23:31:17 -05:00
Carolyn Van Slyck 23facf8bbf Move lock diff to TOML
* Expanded diff test case to verify that multiple projects
  are formatted properly
2017-04-04 23:31:17 -05:00
Carolyn Van Slyck 28c2316fba Map manifest and lock TOML to structs
This is a bit of a poor man's TOML mapping while
we wait for go-toml to get reflection-based mapping
implemented.
2017-04-04 23:31:16 -05:00
Carolyn Van Slyck 12e713b546 Update test files from JSON to TOML 2017-04-04 23:31:16 -05:00
Carolyn Van Slyck 7b22cd825d Represent manifest dependencies as an array of tables, not a map
Using the project root as a key in TOML makes our life harder. This
siplifies the manifest format and parsing.
2017-04-04 21:10:43 -05:00
Carolyn Van Slyck 6366f9ed68 Write manifest and lock in TOML 2017-04-04 21:10:43 -05:00
Carolyn Van Slyck d3135b8a1e Add MarshalTOML to manifest and lock 2017-04-04 21:10:43 -05:00
sam boyer aaf8a8b638 Merge pull request #325 from carolynvs/fix-ensure-unmodified-lock
Write vendor, regardless of lock, if force is true
2017-03-20 12:12:57 -04:00
Carolyn Van Slyck 008ff041cc Include memo in lock diff 2017-03-17 16:52:19 -05:00
Carolyn Van Slyck 6ae7723bf3 Rename the lock field "repo" to "source" 2017-03-13 10:17:04 -05:00
Carolyn Van Slyck 7e27e80b7b Display all fields for a removed project in the lock diff 2017-03-09 13:28:47 -06:00
Carolyn Van Slyck 02635cc8b0 Display diff of lock file during dry-run 2017-03-09 13:28:46 -06:00
Carolyn Van Slyck 6ac8a778b2 Split out SafeWriter bad input tests into 1 per scenario 2017-03-09 13:28:46 -06:00
tro3 fceb52f636 Increasing coverage for lock and analyzer 2017-02-12 23:52:17 -05:00
tro3 38bce0cc56 Adding -update test flag for golden files 2017-02-12 23:52:17 -05:00