14 Commits

Author SHA1 Message Date
André Cruz
4c3a1dbd91 Fix remote. 2012-11-18 22:13:20 +00:00
André Cruz
fae41c4179 Fix failing test. 2012-11-18 22:10:10 +00:00
André Cruz
91c5bb8c36 Add repo metadata because it is used in a test. 2012-11-18 21:35:20 +00:00
André Cruz
01d2ee079c Fix some bugs related with latest changes, fix CS, add local repo tests. 2012-11-17 20:27:20 +00:00
André Cruz
b0687baa00 Fix tests. 2012-11-03 13:08:53 +00:00
Andre Cruz
406ed297ca Oops. 2012-10-17 17:35:18 +01:00
André Cruz
faa14a079c Manually revert componentsDirectory option. 2012-10-16 23:32:00 +01:00
André Cruz
71cddb628e Several fixes.
- Fix issue with download() emiting two 'resolve' events.
- Do not fallback to package.json and to tag describe if there was an error parsing the json file
- Move out cache dir to the config.js file
- Tweak, fix and add test to the point 2.
2012-10-15 17:03:08 +01:00
André Cruz
3f79247ac2 Add componentsDirectory option, fix and add tests. 2012-10-14 20:10:22 +01:00
André Cruz
6ef92b0c95 Add and fix failing test. 2012-10-14 17:36:06 +01:00
André Cruz
6823acd0ff Merge branch 'master' of git://github.com/satazor/bower
Conflicts:
	lib/core/package.js
2012-10-14 16:01:53 +01:00
Andre Cruz
71a7b8e8f0 Add missing tests. 2012-10-11 15:23:47 +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
Chris Aniszczyk
c220329337 Initial Release
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
2012-09-06 17:11:42 -07:00