60 Commits

Author SHA1 Message Date
André Cruz
212c4c3a71 Close GH-667: Filter symlinks when copying/extracting. Fixes #665 2013-07-29 22:00:37 +01:00
André Cruz
e1a443177e Close GH-675: Upgrade to the new bower-json api.. Fixes #668 2013-07-29 21:57:35 +01:00
André Cruz
635eec013c CS. 2013-07-28 03:14:44 +01:00
André Cruz
39f3571383 Minor tweaks to last PR. 2013-07-28 03:05:16 +01:00
MrDHat
571b34c990 Close GH-671: Disable use of sudo. Fixes #498. 2013-07-28 02:36:24 +01:00
André Cruz
c06b9d696e Close GH-664: Fix for some windows users. Fixes #626 2013-07-27 15:21:14 +01:00
André Cruz
adee5cec2b Improve can extract function. 2013-07-24 09:12:20 +01:00
André Cruz
ec33766803 Switch endpoint parser to its own module. 2013-07-16 09:17:50 +01:00
André Cruz
e94cb6a4b6 Use the filename first, fallback to mime type afterwards, fixes #619. 2013-07-15 19:50:02 +01:00
André Cruz
a786fa534a Refactor md5 to its own function. 2013-07-12 15:34:05 +01:00
André Cruz
8574d50eaa Do not read json from rc. 2013-07-11 19:06:57 +01:00
André Cruz
ef60fcb9ec Check archive size before extracting, caught invalid archives. 2013-07-09 20:41:54 +01:00
André Cruz
915c8d7afa Detect old versions of git that do not support --b tag when cloning. 2013-07-06 11:59:00 +01:00
André Cruz
ca76d41f9a Report progress for remote git resolvers that take too long to clone. 2013-07-04 23:58:35 +01:00
André Cruz
008b807803 Fix json endpoints parsing in some edge cases. 2013-07-03 16:26:03 +01:00
André Cruz
7becb19da4 Implement check of newer versions in the list command.
Also:
- Fix some errors not being emitted when a command failed.
- Update semver module; no need to check .valid against null.
2013-07-03 14:37:28 +01:00
André Cruz
3e4ca5ceb9 Fix json to decomposed endpoint transformation. 2013-07-01 23:49:18 +01:00
André Cruz
fe1a635c14 Switch to graceful-fs. 2013-07-01 20:31:28 +01:00
André Cruz
d2494fb97d Allow latest targets, map to '*'- 2013-06-25 22:25:48 +01:00
André Cruz
f9f8f7aebd Implement link command.
Also:
- CS fixes
- Remove options argument from commands that do not have them
- Use console.trace instead of err.stack (more reliable)
2013-06-24 23:19:59 +01:00
André Cruz
4c3802878a Another huge commit.
- Add info command
- Fix list --paths
- Fix search with no name
- Fix conflict detection when uninstalling
- Mix tweaks and fixes
2013-06-23 01:14:08 +01:00
André Cruz
83b6820458 Huge commit.
- Add search command
- Cache clean now clears the registry cache
- Fix error when accessing an unknown deep command in the cli
- Change from 'roaming' to 'path' in the config
- Change from 'canonicalPackage' to 'canonicalDir'
- Fix dev dependencies of nested packages being fetched
- Ignore invalid installed packages
- Various cache fixes and improvements
- Fix .bower.json being deleted if a package specified ignorables
- Use fstream instead of ncp to solve the EMFILE errors
2013-06-22 17:04:50 +01:00
André Cruz
92b7668067 Add list command, some other fixes and improvements.
- Fix cache clean command
- Lots of improvements and fixes of the Manager
- Only save json if the contents changed
- Add nom like tree to installed/updated packages
- Fix help usages.
2013-06-15 21:43:01 +01:00
André Cruz
68454492e9 Add conflict resolve, presenting choices to the user.
This commit also contains:
- Simplified Manager and Project
- Add warning when an extraneous package is found.
- Fix a lot of bugs in the overall resolve process
- Made templates rendering synchronous
-
2013-06-05 00:50:23 +01:00
André Cruz
afd01cc40c Change from promise progress events to hierarchical logger.
This is an huge commit, contains other small tweaks/fixes.
2013-06-03 16:31:19 +01:00
André Cruz
e811236973 Print only the stack trace when verbose or the error has no code (usually something strange). 2013-06-02 11:49:01 +01:00
André Cruz
0a724e5a73 Simplify code. 2013-06-01 02:11:18 +01:00
André Cruz
57a9b313c4 Finish the help command and help usages for the implemented commands.
Introduce templating based on handlebars.
Minor tweaks.
2013-05-31 16:18:00 +01:00
André Cruz
20ba998383 Implement the uninstall command.
Made also some tweaks to the render stuff.
2013-05-30 21:57:05 +01:00
André Cruz
d62ccfd234 Change name separator of the endpoint (can't use pipe duh). 2013-05-29 10:36:57 +01:00
André Cruz
454436905c Huge commit.
- Changed way renderers work
- Move worker to a separate module
- Improve loglevel
- Minor tweaks
- Fix tests
2013-05-27 22:59:13 +01:00
André Cruz
005b3356f2 Several things changed.
- Make force and offline part of config, clearing all the options mess in the architecture
- Fix some bugs with the renderer
- Parse cli options
2013-05-26 13:47:13 +01:00
André Cruz
c4cbfd352e Move stdout/stderr logic to the renderers to allow for greater flexibility. 2013-05-24 11:14:14 +01:00
André Cruz
cfb3d14028 Initial take on the commands + renderers + cli. 2013-05-23 19:55:59 +01:00
André Cruz
87d0e1d886 Revised and improved code for the upper resolve layer. 2013-05-22 14:36:19 +01:00
André Cruz
d2290d509f Copy now uses ncp to copy if there is no ignore filter, which is must faster. 2013-05-13 15:07:41 +01:00
André Cruz
e09a3b8cbf Huge commit, implement rough working version of the whole resolve process. 2013-05-13 11:09:04 +01:00
Sindre Sorhus
083cb9cc9a Replace util/osJunk with junk module 2013-05-05 01:53:42 +02:00
André Cruz
8069e5568b Changes to new code style. 2013-05-04 16:56:31 +01:00
André Cruz
0682df3801 Merge branch 'rewrite' of github.com:bower/bower into rewrite
Also improve codebase.

Conflicts:
	lib/resolve/resolverFactory.js
	lib/util/copy.js
	test/resolve/resolverFactory.js
2013-05-04 16:54:22 +01:00
André Cruz
e5c4391900 Fix some bugs. 2013-05-04 16:32:31 +01:00
Nicolas Gallagher
de0eca7890 Code style consistency
Some very minor changes to improve code style consistency.
2013-05-03 09:01:19 -07:00
André Cruz
2d292000a8 Oops. 2013-05-03 10:11:26 +01:00
André Cruz
6e75f94505 Apply removal of ignored files, add tests.
Minor improvements.
2013-05-03 10:07:27 +01:00
André Cruz
007b3644be Finish UrlResolver tests, fix some bugs. 2013-05-02 11:14:23 +01:00
André Cruz
96f2e150a1 Oops. 2013-05-01 11:58:47 +01:00
André Cruz
a38af3a31c Do not take OS junk files into account when counting files. 2013-05-01 11:57:06 +01:00
André Cruz
3a93600195 Implement renaming to index in the FsResolver, fix minor issues. 2013-04-30 19:22:47 +01:00
André Cruz
2530c577dc Fix some bugs when extracting archives, add some tests. 2013-04-29 17:09:54 +01:00
André Cruz
9ead37845e Fix some issues with the extraction step. 2013-04-29 16:06:48 +01:00