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

19 Коммитов

Автор SHA1 Сообщение Дата
Carolyn Van Slyck 2287888873 Write vendor, regardless of lock, if force is true
Fix misunderstanding about when lock and newlock should be set in the
SafeWriter tests.
2017-03-13 09:45:23 -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 b2376322d4 Rename LockedProjectDiff Repository -> Source 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 e43a3b839e Respect dry-run flag during dep ensure 2017-03-09 13:28:42 -06: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 f81d6f5e26 fix obvious readability problems 2017-01-26 10:53:21 -08:00
Daniel Martí dc6530b412 Make golint happier 2017-01-24 19:54:13 -05:00
Andrew Gerrand f91353d8ed rename 'hoard' to 'dep' (this time for sure) 2017-01-18 16:17:23 -08:00
Andrew Gerrand ee81dced50 rename 'hoard' to 'nest' 2017-01-17 17:06:45 -08:00
sam boyer 302ad3eaf7 Rename 'dep' to 'hoard', where appropriate 2017-01-12 17:32:28 -08:00
sam boyer 096576a29c s/renameElseCopy/renameWithFallback/
Changes both name and implementation of renameElseCopy to reflect that
the outcome will be like a rename, even in the event of a cross-device
link error.
2017-01-04 17:19:32 -08:00
sam boyer ea0f0f03d7 Add tests for txn writer
Still frustratingly incomplete, as we're not actually testing the
rollback cases which the transaction writer is really supposed to
facilitate.
2017-01-04 17:19:32 -08:00
sam boyer 31e7a7599f Clean up and improve txn writer logic a bit more 2017-01-04 17:19:32 -08:00
sam boyer 14dc3dae26 Always renameElseCopy 2017-01-04 17:19:32 -08:00
sam boyer 071c4aa61e Numerous var renames and comment updates 2017-01-04 17:19:32 -08:00
sam boyer 218c5c96e0 Remove extra err check 2017-01-04 17:19:32 -08:00
sam boyer 6163c9e3a8 Various and sundry typos, fixes, renames 2017-01-04 17:19:32 -08:00
sam boyer ffd999ed29 Add WIP transactional safe writer
Very much incomplete, in the process of being adapted from the one I
already wrote for glide.
2017-01-04 17:19:32 -08:00