Commit Graph

95 Commits

Author SHA1 Message Date
Andre Cruz
708d68aee7 Prevent errors when passing duplicate packages to cache-clean. 2012-10-16 01:01:54 +00:00
Andre Cruz
760ef7a13a Fix CS. 2012-10-16 01:01:53 +00:00
André Cruz
be6a424c1c Change --no-colors to --no-color. 2012-10-15 20:19:41 +01:00
André Cruz
be79b7028c Merge branch 'no-colors' of git://github.com/sindresorhus/bower into improv_fixing 2012-10-15 20:17:35 +01: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
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
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
f220ee5302 Fix broken ls command. 2012-10-15 01:23:58 +01:00
André Cruz
a1c16a3bae Add vendor to the gitignore. 2012-10-14 20:12:11 +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
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
6bd00a0e8e Tweak tests so they don't break in the future. 2012-10-13 14:22:15 +01: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
billy gates
a134950f85 Merge pull request #85 from twitter/chmod-tmp-dir
Chmod temp folder
2012-10-11 10:00:42 -07: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
David DeSandro
ed13cab994 remove leftover assert in test 2012-10-08 08:52:57 -04: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
Sindre Sorhus
77fb081b93 Make it possible to disable colors
Fixes #76
2012-10-05 13:53:06 +02:00
Jacob Thornton
5d9257d908 0.2.0 + proxy support v0.2.0 2012-09-25 13:56:07 -07:00
billy gates
3c85f9d891 Merge pull request #26 from mattn/proxy
support proxy.
2012-09-25 13:55:22 -07:00
billy gates
3b1a2045b5 Merge pull request #36 from manuelvanrijn/issue-31
Handle redirect for downloads and fixes downloading the file currupted
2012-09-20 16:58:08 -07:00
Manuel van Rijn
0763fe0775 fixed another multiple var statement 2012-09-20 13:44:07 +02:00
Manuel van Rijn
158a894804 changed back to var's 2012-09-20 09:03:49 +02:00
Manuel van Rijn
6bcaa4fc8d fix tests 2012-09-19 09:24:35 +02:00
Manuel van Rijn
f0a9e4c384 Merge branch 'master' into issue-31
Conflicts:
	test/package.js
2012-09-19 09:11:02 +02:00
♒∆✝
020303910e Merge pull request #63 from josh/spec-main-array
Spec: Only be one file per type in the main array
2012-09-18 14:02:08 -07:00
Jacob Thornton
9a898a287b 0.1.3 2012-09-18 10:37:35 -07: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
Joshua Peek
406ada8ca6 Specify that there should only be one file per type in the main array 2012-09-17 18:47:08 -05:00
Nathan Bleigh
a3022e2e9f Chained formatting aesthetics 2012-09-17 16:57:03 -05:00
Paul Irish
d8cc04b1fe add --save to readme 2012-09-17 09:58:26 -07:00
Paul Irish
7141983133 adding sindre's listing to readme 2012-09-16 19:36:33 -07:00
Jacob Thornton
aaeabb6200 0.1.2 v0.1.2 2012-09-16 14:37:48 -07:00