André Cruz
376788f385
Fix ls command, closes #126 .
2012-11-07 20:28:22 +00:00
André Cruz
496eeb1336
Oops, fix little regression.
2012-11-05 02:17:01 +00:00
André Cruz
4ab8cd398b
Fix update for asset packages.
2012-11-05 01:53:43 +00:00
André Cruz
d23adeef5a
Fix force flag.
2012-11-03 13:21:00 +00:00
André Cruz
8684078437
Merge pull request #109 from twitter/cache-id
...
Same package names but different endpoints now have different caches.
2012-10-30 14:57:47 -07:00
André Cruz
4ea387ed35
Merge branch 'master' of github.com:twitter/bower
2012-10-27 14:38:30 +01:00
André Cruz
83661eec48
Quick fix.
2012-10-27 14:38:05 +01:00
André Cruz
07b93ffe60
Generate a resource id everytime the gitUrl is set, fixes list command.
2012-10-27 11:17:00 +01:00
André Cruz
381c5fea77
Remove dot from error message.
2012-10-26 10:49:02 +02:00
André Cruz
9c81c3ce29
Use custom fileExists that returns true if the file exists but cannot be stat'ed.
...
This is needed because fs.exists was returning false values when it should actually return true.
2012-10-24 02:26:31 +01:00
André Cruz
8dc17f64f8
Important fixes to the update command.
...
- Update command now correctly process passed packages
- Fix packages in which the name couldn't be correctly extracted from the remote URL
- Add --force flag, just like the install command
2012-10-24 01:28:18 +01:00
André Cruz
b371dd2cf7
Return early.
2012-10-22 21:44:35 +01:00
André Cruz
a74f6630df
Add tests for cache-clean, unified some return values.
2012-10-20 16:41:19 +01:00
Andre Cruz
708d68aee7
Prevent errors when passing duplicate packages to cache-clean.
2012-10-16 01:01:54 +00:00
André Cruz
3bcd2e08e8
Revert "Ability to disable colors with the --no-colors arg."
...
This reverts commit 008e0d8c8a .
2012-10-15 20:16:48 +01:00
André Cruz
5967acb15e
Add cache-clean command, remove unnecessary code.
2012-10-15 19:27:48 +01:00
André Cruz
c589625b01
Add --no-colors options to the help templates, add missing --no-colors to the uninstall.
2012-10-15 01:44:15 +01:00
André Cruz
a403585e1e
Fix update command on non tagged repos.
2012-10-15 01:37:04 +01:00
André Cruz
008e0d8c8a
Ability to disable colors with the --no-colors arg.
2012-10-15 01:27:33 +01: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
Jacob Thornton
d4626f449c
if dependencies object is not present in json, don't try to warn
2012-09-16 13:13:21 -07: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