19 Commits

Author SHA1 Message Date
David DeSandro
b7cbd36a07 Close GH-251: add --dev install option for devDependencies, cleaned up. Fixes #246, Fixes #80 2013-02-14 22:47:41 +00:00
André Cruz
755d87338d Add --force-latest flag to allow conflict resolution, #214. 2013-01-31 23:16:27 +00:00
André Cruz
520e1c4def Fix the way errors are thrown in tests. 2013-01-31 19:58:29 +00:00
André Cruz
6a63f97ce8 Add test for resolved deps, #214. 2013-01-31 19:56:25 +00:00
André Cruz
02e3ed4588 Fix some more issues with reading package local configuration, closes #205.
Complete the tests regarding this issue.
2013-01-31 01:29:07 +00:00
Manuel Woelker
8488c657af manager: test for #205 (Using another name for .json file leads to unfetchable deps) 2013-01-30 12:49:03 +01:00
André Cruz
bc598a334b Add jshintrc and fix all CS issues related to it. 2012-11-18 20:44:41 +00:00
André Cruz
b0687baa00 Fix tests. 2012-11-03 13:08:53 +00:00
André Cruz
8fe0abfc4b Move --force tests from the package to the manager. 2012-10-21 11:48:50 +01:00
André Cruz
51bd1f559c Do cleanup also after the tests and not only before each iteration.
This is because the cache could be in an inconsistence state for normal usage afterwards.
2012-10-18 23:20:48 +01:00
André Cruz
faa14a079c Manually revert componentsDirectory option. 2012-10-16 23:32:00 +01:00
Andre Cruz
760ef7a13a Fix CS. 2012-10-16 01:01:53 +00:00
André Cruz
5967acb15e Add cache-clean command, remove unnecessary code. 2012-10-15 19:27:48 +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
6bd00a0e8e Tweak tests so they don't break in the future. 2012-10-13 14:22:15 +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