15 Commits

Author SHA1 Message Date
André Cruz
72e5f36b67 Oops, remove console logs. 2013-02-12 19:07:03 +00:00
André Cruz
f030d98dab Fix automatic conflict resolver not resolving to the root package version. 2013-02-12 17:52:30 +00:00
André Cruz
755d87338d Add --force-latest flag to allow conflict resolution, #214. 2013-01-31 23:16:27 +00:00
André Cruz
d7b465359c Use the original tags if defined in the conflict resolution messages, #214. 2013-01-31 20:27:54 +00:00
André Cruz
44bfa55bee Finish up conflict resolution logic, #214.
Some refactoring.
2013-01-31 20:02:30 +00:00
André Cruz
a0c7e5df57 Print a good detail message when a conflict occurs and ways to resolve it, #214. 2013-01-29 14:42:46 +00:00
André Cruz
1d3d37034f Initial sketch to solve issue #214. 2013-01-29 01:35:52 +00:00
André Cruz
e021276072 Extract and present errors from the shell (e.g.: git commands). 2012-11-20 20:13:17 +00:00
André Cruz
f50520e04e Typo and add some useful comment. 2012-10-20 17:42:25 +01:00
André Cruz
f0836ba655 Simplified things by adding a .commit property. 2012-10-20 15:35:46 +01:00
André Cruz
d53878c130 Prune function now gives priority to non local packages if they are equal. 2012-10-17 01:01:09 +01:00
André Cruz
6ef92b0c95 Add and fix failing test. 2012-10-14 17:36:06 +01:00
Andre Cruz
fd31f247a6 Unit of work implementation.
A unit of work is a simple storage with write lock/unlock.
The manager/package now share a unit of work instance.
The unit of work is used to prevent shared dependencies from being cloned/copied "at the same time" fixing issue #81.
The prune and version resolving algorithm was also not correct. It now resolves versions correctly, fixing issue #57.

- Fix I/O errors caused by copying/clone repos simultaneously to the same dest.
- Optimize the clone/copy step by avoiding it if the last resolved resource is the same.
- Fix failing test (at least on my windows machine)
- Add some more tests
- Fix CS.
2012-10-11 13:40:54 +01:00
John-David Dalton
a7dca30d9d Replace Underscore with Lo-Dash. 2012-09-11 22:45:02 -07:00
Chris Aniszczyk
c220329337 Initial Release
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
2012-09-06 17:11:42 -07:00