André Cruz
b22cc1cc04
Fix CS.
2012-10-22 21:46:33 +01:00
André Cruz
00a4923d5f
Not needed anymore.
2012-10-22 08:23:15 +01:00
André Cruz
8fe0abfc4b
Move --force tests from the package to the manager.
2012-10-21 11:48:50 +01:00
André Cruz
f50520e04e
Typo and add some useful comment.
2012-10-20 17:42:25 +01:00
André Cruz
6a6eb75a3b
Change Package constructor slightly, add rudimentary test for the --force flag.
2012-10-20 17:34:41 +01:00
André Cruz
a74f6630df
Add tests for cache-clean, unified some return values.
2012-10-20 16:41:19 +01:00
André Cruz
f0836ba655
Simplified things by adding a .commit property.
2012-10-20 15:35:46 +01:00
André Cruz
64d1d4a1c9
Also use local .bowerrc file.
2012-10-19 08:48:58 +01:00
André Cruz
956dac2c50
Add some useful comments.
2012-10-18 23:38:58 +01:00
André Cruz
97f8efcbb9
Use the lookup name when using the --save option whenever possible.
...
Also fix important bug regarding the checkout process in some edge cases.
2012-10-18 23:19:37 +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
8a4963026a
Merge branch 'master' of git://github.com/twitter/bower into features_fixes
...
Conflicts:
lib/core/config.js
lib/core/package.js
package.json
2012-10-17 08:18:57 +01:00
Jacob Thornton
4a40e755e7
fix config path
2012-10-16 23:31:14 -07:00
Jacob Thornton
59d49166c7
Merge branch 'master' of git://github.com/KarthikDot/bower into KarthikDot-master
...
Conflicts:
README.md
lib/core/config.js
lib/core/source.js
package.json
2012-10-16 23:28:38 -07:00
Jacob Thornton
52e72b466a
move cache to config.js + get tests passing again…
2012-10-16 23:22:37 -07:00
André Cruz
badcde0ef9
Fix install not appearing for local resolved packages.
2012-10-17 01:00:50 +01:00
André Cruz
faa14a079c
Manually revert componentsDirectory option.
2012-10-16 23:32:00 +01:00
André Cruz
b7c3aa59a7
Merge branch 'master' of git://github.com/twitter/bower
...
Conflicts:
test/package.js
2012-10-16 22:53:33 +01:00
Andre Cruz
612084fb57
Fix download() emitting the 'download' event several times.
2012-10-16 02:01:03 +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
24d126e702
Use exists instead of stat whenever possible.
2012-10-15 09:43:02 +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
6823acd0ff
Merge branch 'master' of git://github.com/satazor/bower
...
Conflicts:
lib/core/package.js
2012-10-14 16:01:53 +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
5dbb6d6346
Add install template, fix CS.
2012-10-13 03:19:18 +01:00
André Cruz
8434acf9ed
Doc improvement.
2012-10-12 09:40:31 +02:00
André Cruz
6f169fb3e2
Doc tweak.
2012-10-12 08:00:17 +01:00
André Cruz
a00d930d0f
Fix cache removal if force flag is activated.
2012-10-12 00:39:31 +01:00
André Cruz
03e55cadbb
Merge branch 'master' of git://github.com/twitter/bower
...
Conflicts:
test/package.js
2012-10-12 00:22:57 +01:00
André Cruz
2cad76d6ed
Merge branch 'master' of git://github.com/satazor/bower
...
Conflicts:
lib/commands/install.js
lib/core/package.js
2012-10-12 00:20:01 +01:00
André Cruz
b0bc14a75e
Little code style tweak.
2012-10-11 23:27:59 +01:00
André Cruz
058524ca53
Add -f option to the install command.
2012-10-11 23:16:00 +01:00
André Cruz
0a4a484f3d
Remove unused property, fix CS again.
2012-10-11 20:37:57 +01:00
André Cruz
e8b473b550
Ensure that an unit of work is always present, remove unnecessary if statement.
2012-10-11 19:26:52 +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
David DeSandro
b168f09419
chmod temp folder for accessible file permissions
...
with a test
ref #69 (awww yis)
2012-10-08 08:39:00 -04:00
billy gates
3c85f9d891
Merge pull request #26 from mattn/proxy
...
support proxy.
2012-09-25 13:55:22 -07:00
Manuel van Rijn
f0a9e4c384
Merge branch 'master' into issue-31
...
Conflicts:
test/package.js
2012-09-19 09:11:02 +02:00
♒∆✝
0b5b761a8c
Merge pull request #34 from nnnnathann/rename_fix
...
Fixes renaming between disks problem in linux ( #29 )
2012-09-18 10:36:55 -07:00
Karthik Kastury
b14a1b4ba3
Updated Config.js for better rc integration
2012-09-18 21:23:59 +05:30
Nathan Bleigh
a3022e2e9f
Chained formatting aesthetics
2012-09-17 16:57:03 -05:00
Karthik Kastury
d53a74df23
Bower Config Management now powered by rc
2012-09-17 19:47:30 +05:30
Jacob Thornton
9889e158d1
double check to see that endpoint is indeed a file
2012-09-16 14:34:47 -07:00
Jacob Thornton
40d2c8e1d1
calling replace changes the RegEx.$ getter duh.
2012-09-16 12:48:39 -07:00
Karthik Kastury
eba74f1182
Allow Custom Endpoints
2012-09-14 22:34:54 +05:30
Karthik Kastury
8eeeb2ddd6
Redesigned Bower Config Management to use .bowerrc
2012-09-14 22:34:54 +05:30