Commit Graph

117 Commits

Author SHA1 Message Date
André Cruz
7ab29c5516 Update unzip to resolve issue with some zip files, closes #225.
Also update change log.
2013-02-06 20:49:48 +00:00
André Cruz
36e790d6a9 Fix protocol not being set correctly, closes #230.
Also account for errors when creating temp dirs.
2013-02-01 11:32:57 +00:00
André Cruz
63ecde0ea7 Merge branch 'master' of github.com:twitter/bower 2013-01-31 20:02:47 +00:00
André Cruz
44bfa55bee Finish up conflict resolution logic, #214.
Some refactoring.
2013-01-31 20:02:30 +00:00
André Cruz
6195281e70 Merge pull request #227 from twitter/ignore
Remove ignore paths from .json
2013-01-31 10:57:33 -08:00
David DeSandro
ad359e2659 dot option in glob for ignore 2013-01-31 13:54:54 -05:00
David DeSandro
a8a4f6fd2c push.apply to add json.ignore 2013-01-30 22:40:37 -05: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
David DeSandro
5d45b04b22 fix binding install;
add test for removing ignorables
2013-01-30 11:29:06 -05:00
David DeSandro
3b0d8b37e7 Merge branch 'master' into ignore
Conflicts:
	lib/core/package.js
2013-01-30 11:03:06 -05:00
David DeSandro
d6cb0736d6 use async.forEach in removeLocalPaths 2013-01-30 10:10:44 -05:00
David DeSandro
e2b94620ad refactor removeLocalPaths with forEachPromise helper
sorta kinda cleans it up
2013-01-29 18:14:52 -05:00
David DeSandro
254dab3da7 use glob for path matching
in promise hell
2013-01-29 17:44:40 -05:00
André Cruz
c52ad6fb7c More fixes related with previous commit, #205. 2013-01-29 17:47:11 +00:00
André Cruz
06f6c37add Fix previous commit, #205. 2013-01-29 17:31:19 +00:00
André Cruz
00aaeb9305 Obey local packages .bowerrc config and fallback to generic one, #205. 2013-01-29 17:23:26 +00:00
André Cruz
01bd65f8e6 Slightly better error message. 2013-01-29 14:58:07 +00:00
David DeSandro
913acabdd2 add removeLocalPaths 2013-01-28 17:35:18 -05:00
Brian Donovan
00ea8e8984 Fix typo in error message. 2013-01-02 17:04:00 -08:00
André Cruz
b7bf83c88f Fix previous commit. 2012-12-30 11:52:35 +00:00
André Cruz
05e44d5148 Fixes #185. 2012-12-30 11:40:45 +00:00
André Cruz
88843bf855 Improve error message while reading the json. 2012-12-03 08:33:53 +00:00
André Cruz
d20625c7bb Fix bower not fetching latest commits correctly in some cases. 2012-12-01 01:37:04 +00:00
André Cruz
3a48ba582f Fix error summary not being displayed in some edge cases. 2012-12-01 00:39:46 +00:00
André Cruz
4b134a3bdb Improve last commit, fix tests. 2012-11-30 00:50:14 +00:00
André Cruz
d561299cdf Fix perm issue with downloaded files, fixes #160. 2012-11-29 22:12:54 +00:00
André Cruz
53c48a2dc5 Fix version not being correctly set for local packages, fixes #155 2012-11-23 19:19:01 +00:00
André Cruz
366d7f82cc Oops, fix failing test. 2012-11-23 01:31:37 +00:00
André Cruz
b63ab2be88 Cleanup temp directories even if node dies, closes #140. 2012-11-23 01:11:54 +00:00
André Cruz
66a61acd5c Fix errors not being caught when using file writter. 2012-11-23 00:50:27 +00:00
André Cruz
8bfa518f15 Detect local .git repositories and abort when true.
Also fix error reporting for nested deps.
2012-11-21 22:41:54 +00:00
André Cruz
e80ed8d130 Use async version of chmod. 2012-11-21 00:22:09 +00:00
André Cruz
a5c65afc46 Change temporary folders names. 2012-11-20 21:08:31 +00:00
André Cruz
e021276072 Extract and present errors from the shell (e.g.: git commands). 2012-11-20 20:13:17 +00:00
André Cruz
19b9261e8b Fix http errors while downloading not being interpreted. 2012-11-20 19:02:09 +00:00
André Cruz
3ac918f306 [WIP] Errors improvement. 2012-11-20 09:13:51 +00:00
André Cruz
41e6f0bdbc Mismatch now has its custom template. 2012-11-19 00:39:08 +00:00
André Cruz
3b1642a52f Fix warn template, add missing command types. 2012-11-19 00:15:43 +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
aa30fe885a Uninstall now removes also nested deps if not shared.
The uninstall now warns and halts uninstalling shared packages.
Though it can be forced with the --force flag.
Also fix CS, and fix small bug.
2012-11-18 16:49:25 +00:00
André Cruz
2c7435a33f Oops. 2012-11-18 12:24:48 +00:00
André Cruz
c06d8b271e Move name guessing logic to the package itself. 2012-11-18 11:01:36 +00:00
André Cruz
82c20e8a6b Print warning when the tag differs from the version specified in the json. 2012-11-17 23:12:42 +00:00
André Cruz
04919746e8 Fix little issue with packages + tag scheme. 2012-11-17 22:19:36 +00:00
André Cruz
64b86ccf04 Add path verification to the fetch function.
Now a more suitable message is given in those situations.
2012-11-17 21:25:45 +00:00
André Cruz
4a83227ca8 Fix failing test. 2012-11-17 20:39:21 +00:00
André Cruz
01d2ee079c Fix some bugs related with latest changes, fix CS, add local repo tests. 2012-11-17 20:27:20 +00:00
André Cruz
e9514423ce Remove package.json support, remove console.logs. 2012-11-17 15:35:59 +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
133b1c12a7 CS. 2012-11-12 01:13:35 +00:00