Commit Graph

14 Commits

Author SHA1 Message Date
André Cruz
00a4923d5f Not needed anymore. 2012-10-22 08:23:15 +01:00
André Cruz
a74f6630df Add tests for cache-clean, unified some return values. 2012-10-20 16:41:19 +01:00
André Cruz
956dac2c50 Add some useful comments. 2012-10-18 23:38:58 +01:00
André Cruz
f335f5f1fb Do not install if there is a conflict. 2012-10-18 23:17:13 +01:00
André Cruz
723cfd52d1 Remove forgotten code about the reverted componentsDir option. 2012-10-17 08:40:37 +01:00
André Cruz
faa14a079c Manually revert componentsDirectory option. 2012-10-16 23:32:00 +01:00
André Cruz
f220ee5302 Fix broken ls command. 2012-10-15 01:23:58 +01:00
André Cruz
3f79247ac2 Add componentsDirectory option, fix and add tests. 2012-10-14 20:10:22 +01:00
André Cruz
cb2cb7ea75 Fix bug with -f option, add compatibility with repos that do not have tags.
This fixes the fact that if a repo do not have tags, install/update wouldn't fetch new commits.
2012-10-14 15:54:26 +01:00
George Pantazis
a2e593c06c Make components directory configurable in component.json, otherwise default to 'components' 2012-10-13 10:57:56 -06:00
André Cruz
058524ca53 Add -f option to the install command. 2012-10-11 23:16:00 +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
William Oliveira
3bc36649cf Exception when updating without packages 2012-09-11 01:27:23 -03:00
Chris Aniszczyk
c220329337 Initial Release
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
2012-09-06 17:11:42 -07:00