217 Commits

Author SHA1 Message Date
André Cruz
2c992f1ece Fix some minor issues, closes #214. 2013-02-01 00:25:13 +00:00
André Cruz
9ac919b7af Simplify util/save. 2013-02-01 00:22:31 +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
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
ca9cb2f61b Fix tags being added to non-repo packages in update, fixes #197. 2013-01-29 16:12:39 +00:00
André Cruz
a8c72398ba Better error messages for invalid bowerrc files, closes #220. 2013-01-29 15:07:25 +00:00
André Cruz
01bd65f8e6 Slightly better error message. 2013-01-29 14:58:07 +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
David DeSandro
913acabdd2 add removeLocalPaths 2013-01-28 17:35:18 -05:00
André Cruz
9623f44d83 Fix mismatch issue, #214. 2013-01-27 15:27:01 +00:00
Joshua Johnson
1d06f7e93c Fix typo. 2013-01-09 13:27:17 -05:00
Brian Donovan
00ea8e8984 Fix typo in error message. 2013-01-02 17:04:00 -08:00
André Cruz
983a7fa707 Show only discover message if there is packages. 2012-12-31 17:00:36 +00:00
André Cruz
5a5a243486 Fix issue related with endpoints lookups. 2012-12-30 23:11:54 +00: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
64ed10530b Fix some issues and also fix CS. 2012-12-30 11:30:24 +00:00
André Cruz
eb9f6aca03 Merge branch 'master' of github.com:twitter/bower into completion
Conflicts:
	README.md
	lib/commands/register.js
	lib/core/config.js
2012-12-30 11:01:11 +00:00
André Cruz
ae87fd4a32 Some tweaks to the completion.
- Now has a separate cache folder
- Adjust cache clean to also clear the completion cache (and fix some possible issues)
- Add two empty lines to the completion template in case the user does >> ~./bash_profile.sh
2012-12-30 10:53:37 +00:00
André Cruz
9c34adf2dc Merge branch 'completion' of git://github.com/mklabs/bower into completion
Conflicts:
	lib/commands/register.js
2012-12-30 10:28:39 +00:00
Mickael Daniel
b544425667 completion - generic method to complete command options
at command level, attach the `shorthand` Hash to the completion
function. The completion command will then try to complete shorthands
and longer flag based on user input.

completing after just one `-` will complete the list of short flags.

completing after just two `--` will complete the list of longer flags.
2012-12-25 16:03:21 +01:00
Mickael Daniel
8dbffe6fa7 Move completion cache results to ~/.bower/cache/__bowercompletion__
for cache-clean command to be able to clean it.

__bowercompletion__ to avoid potential naming conflicts.
2012-12-25 15:57:07 +01:00
Michael Uzquiano
a122f992ba Fix to config.js file 2012-12-15 17:43:37 -05:00
Michael Uzquiano
a6c6e221f7 Merge branch 'master' of github.com:twitter/bower 2012-12-15 17:31:37 -05: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
1553d67d4b Fix help for the ls command. 2012-12-14 10:59:46 +00:00
André Cruz
549f857aed Fix end event not being fired in the uninstall command. 2012-12-14 10:51:55 +00:00
André Cruz
4fb74b326f Remove unused options. 2012-12-14 10:50:10 +00:00
André Cruz
3dec991e7e Fetch versions only if necessary and if the offline option is not passed. 2012-12-14 10:40:25 +00:00
André Cruz
f9c1e81fb3 Fix error while executing an unknown command, fixes #179. 2012-12-13 09:49:13 +00:00
André Cruz
999519bd94 Typo. 2012-12-10 18:01:12 +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
10d7487f2e Fix previous two commits. 2012-12-10 16:33:25 +00:00
André Cruz
26503f8ee3 Add silent option to the register command. 2012-12-10 16:08:29 +00:00
André Cruz
879f19c70a Fix uninstall removing packages not saved in the component.json, fixes #178.
Also fix possible issues with options in other commands.
2012-12-10 16:03:57 +00:00