André Cruz
2c992f1ece
Fix some minor issues, closes #214 .
2013-02-01 00:25:13 +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
7337a80550
Add package event that is fired for each installed/uninstalled package.
2012-12-14 14:57:58 +00:00
André Cruz
fa81d7831b
Fix two important issues.
...
- Fix reading invalid component.json in the manager
- Fix --force flag in uninstall in some cases
2012-12-10 17:54:27 +00:00
André Cruz
0466e19456
Fix package not being correctly collected in the error summary.
2012-12-03 08:35:59 +00:00
André Cruz
49e08443b7
Fix failing test, update CHANGELOG.md.
2012-11-21 23:16:13 +00:00
André Cruz
a7612a8828
Catch errors also while installing, fix mute deps.
2012-11-21 22:42:59 +00:00
André Cruz
4dde213a6f
Typos.
2012-11-21 00:21:09 +00:00
André Cruz
069e9b80b6
Capture errors while resolving and present a summary.
2012-11-20 19:05:54 +00:00
André Cruz
3ac918f306
[WIP] Errors improvement.
2012-11-20 09:13:51 +00:00
André Cruz
bc598a334b
Add jshintrc and fix all CS issues related to it.
2012-11-18 20:44:41 +00:00
André Cruz
c06d8b271e
Move name guessing logic to the package itself.
2012-11-18 11:01:36 +00:00
André Cruz
822efbe34c
Huge commit.
...
- Support local path repositories
- Fix various issues with the list command
- If no component.json is detected, bower now creates one if the --save option is true
- Save command now saves in the form of ~tag instead of latest
2012-11-17 15:03:42 +00: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
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