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

102 Коммитов

Автор SHA1 Сообщение Дата
Carlos Alexandro Becker ef46b0af30
removed first empty line on the example file
The Gopkg.toml file is always generated with
an empty line as the first line.

It's not a big deal, but I find it kind of
annoying, so I removed it.
2017-11-21 14:35:22 -02: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 10f46e59de dep: Use hidden tempdir for old vendor
While there's more work to be done in making all of this safe in the
event of a signal being sent to dep, this change at least means that if
a signal is sent during the rename and a .vendor.orig directory is left
behind, subsequent runs will treat its contents as ignored.

Fixes #1304
2017-10-24 09:36:46 -04:00
Jordan Krage 76e1854467 verbose logging: add counts to vendor directory lists 2017-08-21 06:35:12 -05:00
Jordan Krage d895a66673 ensure: tweaks to align no-vendor behavior and verbose/dry-run logging (#1039)
* ensure: tweaks to align no-vendor behavior and verbose/dry-run logging
* ensure: dry-run: always log lock diff
* log PrintPreparedActions to ctx Out not Err
2017-08-20 22:53:49 -08:00
Emrecan BATI 4758d86404 Add verbose logging option to WriteDepTree (#968) 2017-08-12 20:52:47 -05:00
sam boyer b461c3f829 Merge branch 'master' into new-ensure 2017-07-31 11:42:17 -04:00
sam boyer 98f1d993d0 Fully embrace subtests; remove hacky targeting arg 2017-07-19 23:28:48 -04:00
Jordan Krage 1477ab92c8 unexport and re-locate PruneProject and helpers 2017-07-13 07:50:29 -05:00
mstrong 7870384875
updated fs.isDir to always return an error even if the directory is not found 2017-07-10 10:05:03 -04:00
Ibrahim AshShohail 30ba901b2c
dep: update calculatePrune to not assume "/" as separtor
dep.calculatePrune assumes "/" is the file separtor. This change fixes
an issue caused by that on Windows.

Fixes #775

Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
2017-06-23 16:57:48 +03:00
Daisuke Fujita a84a81ed6e Remove trailing spaces from generated Gopkg.toml 2017-06-19 11:54:00 +09:00
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
sam boyer 6e855dfae4 SafeWriter should not write out an unchanged lock 2017-06-17 00:22:46 -04:00
sam boyer 3cd62fc039 Merge pull request #708 from jmank88/new_safe_writer
fix NewSafeWriter godoc formatting
2017-06-02 10:43:39 -04:00
Jordan Krage d9d55aa436 fix NewSafeWriter godoc formatting 2017-06-02 08:51:17 -05:00
Jordan Krage fd296202e6 SafeWriter.Write noExamples->examples 2017-06-02 08:24:21 -05:00
Jordan Krage 4af4bcd2e2 document txn_writer 2017-05-31 19:21:52 -05:00
sam boyer 05c40eba7f Merge meta-PR to stabilize Gopkg metadata files 2017-05-26 23:52:34 -04:00
Jonathan Stacks 9e3855d4bb
Log if we don't prune any directories 2017-05-25 19:46:46 -05:00
Jonathan Stacks 5af30944ef
Add some logging to dep prune 2017-05-25 19:46:46 -05: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
Gregory Man 07f165c431 Removed dead code
writeFile function is duplicate of writeFile in fs.go (removed in ee9843c)
rawLockDiff struct introduced in 34bbce0 and never used
2017-05-24 16:07:30 +03:00
Ibrahim AshShohail d42017805f
Add metadata to Gopkg.toml example
Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
2017-05-24 16:00:36 +03:00
Ibrahim AshShohail 4b2c26eb27
Merge branch 'master' into consolidate-fs-files
Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
2017-05-23 19:39:35 +03:00
sam boyer f0a81f4b2f Incorporate pr/538, change manifest prop names 2017-05-22 21:59:32 -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
Ibrahim AshShohail 4cd28ce73b
Merge remote-tracking branch 'upstream/master' into consolidate-fs-files 2017-05-19 12:07:15 +03:00
Dave Cheney 3ab6113ae4 dep: unexport SafeWriter.LockDiff 2017-05-17 12:29:32 +10:00
Dave Cheney edc1b5bd2f dep: remove SafeWriter.HasVendor method
SafeWriter.HasVendor was only used in a test context. Unexport
SafeWriter.WriteVendor and use it directly.
2017-05-17 10:44:28 +10:00
Dave Cheney 7811db2991 dep: unexport SafeWriter.Lock 2017-05-17 08:53:20 +10: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
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 b76e4162e6 fixtures rename 2017-05-09 19:58:46 -03:00
Jordan Krage 4ec47a6b46 review changes 2017-05-09 08:30:19 -05:00
Jordan Krage 76c033f7ff resolve race condition 2017-05-05 20:32:39 -05:00
Jordan Krage f7a8a8c9ed go fmt 2017-05-05 19:17:26 -05:00
Jordan Krage e112b2fe63 adding in-process tests 2017-05-05 18:51:26 -05:00
Kris Nova 4d5c597e0f Merge branch 'master' into add-gps 2017-05-01 20:34:30 -06:00
Dominic Green 5565720ee9 removing Payload from SafeWriter 2017-05-01 12:34:38 +01:00
Dominic Green b780ad16cd removing Prepare method in exchange for NewSafeWriter 2017-04-30 22:35:43 +01:00
Ewan Valentine a89c5ae898 ADDED new test case for no-examples and used more idiomatic string variable instantiation 2017-04-29 12:02:18 +01:00
Ewan Valentine 036c5805d9 UPDATED to use a blank initial text, and override it with the example text if noExample is false 2017-04-28 19:13:52 +01:00
Ewan Valentine 5af2baa089 UPDATED to include flag to omit example text in .toml file 2017-04-28 16:10:20 +01:00
sam boyer 11b52a31df Merge pull request #462 from sdboyer/expand-examples
Expand example Gopkg.toml text; always add on init
2017-04-28 08:53:39 -04:00