André Cruz
19cd6a1bdf
Only use GitHub resolver for public endpoints, fixes #603 .
2013-07-10 07:21:56 +01:00
André Cruz
bfe8323753
Add small note.
2013-07-07 11:33:43 +01:00
André Cruz
f2b86ad3ed
Add specialised GitHub resolver, closes #597 .
2013-07-07 10:22:58 +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
552fd52bd5
Fix parallel usage of .versions in the git resolver.
2013-07-03 14:31:15 +01:00
André Cruz
fe1a635c14
Switch to graceful-fs.
2013-07-01 20:31:28 +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
17f793a4bb
Update semver to deal with pre-releases and builds.
2013-06-23 13:53:00 +01:00
André Cruz
2f16e17ed5
Use LRU cache for the git resolvers runtime cache.
2013-06-23 12:17:53 +01:00
André Cruz
db661f124f
Fix tests.
2013-06-23 01:20:47 +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
23e560b638
Forgot to update to canonical dir in some comments/docs.
2013-06-22 17:15:06 +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
6d3b3e6de2
Add cache clean and list commands.
...
This was an huge commit.
- Allow nested commands
- Switch resolve cache in memory object cache to LRU
- Store non-semver packages in the cache
- Tweak help messages
- Various fixes and tweaks
2013-06-11 00:39:18 +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
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
01d8d0dbec
Minor CS fixes.
2013-05-24 23:03:19 +01:00
André Cruz
27b39c29b8
Fix tests.
2013-05-23 20:02:18 +01:00
André Cruz
cfb3d14028
Initial take on the commands + renderers + cli.
2013-05-23 19:55:59 +01:00
André Cruz
b369fa2c7b
Add test for registry endpoints.
2013-05-17 13:12:46 +01:00
André Cruz
7c96eb0819
Small performance improvement by accepting an optional package meta to avoid re-reading it.
...
Fix tests if previous run left dummy directories.
2013-05-17 11:47:51 +01:00
André Cruz
19e3a2ecc4
Setup rudimentary CLI usage for the demo.
2013-05-13 15:09:16 +01:00
André Cruz
e09a3b8cbf
Huge commit, implement rough working version of the whole resolve process.
2013-05-13 11:09:04 +01:00
André Cruz
adf14f79e0
Fix bug when parsing content-type headers with charset.
2013-05-06 13:05:29 +01:00
André Cruz
16216147bc
Keep var at the top.
2013-05-04 16:59:48 +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
e33e7446ee
Add more tests/improve existent ones.
2013-05-04 16:32:00 +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
6e75f94505
Apply removal of ignored files, add tests.
...
Minor improvements.
2013-05-03 10:07:27 +01:00
André Cruz
e748bcb291
Package repository initial implementation.
2013-05-03 00:09:02 +01:00
André Cruz
409a8c2a77
Add more tests to the resolver factory.
2013-05-02 23:45:49 +01:00
André Cruz
4cc09e49ac
Tweak resolverFactory and other stuff, improve related tests.
2013-05-02 22:42:48 +01:00
André Cruz
5a05f40428
Reuse promises of same source.
2013-05-02 11:38:17 +01:00
André Cruz
007b3644be
Finish UrlResolver tests, fix some bugs.
2013-05-02 11:14:23 +01:00
André Cruz
93eba6ef68
Improve content disposition regexp.
2013-05-01 15:35:05 +01:00
André Cruz
0c7e593370
Fix bug in the hasNew of the GitResolver.
2013-05-01 15:34:15 +01:00
André Cruz
6b7df8fd50
Fix issues with the UrlResolver and add more tests.
2013-05-01 14:43:55 +01:00
André Cruz
4919b9cb48
Finish GitResolver tests, fix associated issues.
2013-05-01 14:05:11 +01:00
André Cruz
3f81e0ab82
Working towards finishing the UrlResolver.
2013-05-01 11:59:33 +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
f29023f11d
Some changes to the resolver API, add more tests.
2013-05-01 09:50:04 +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
36aacba237
Finish FsResolver.
2013-04-29 17:26:53 +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
André Cruz
f11b2f6782
Walk towards finishing FsResolver.
2013-04-29 15:21:33 +01:00
André Cruz
b5054a7a7f
Add static function to clear the internal resolvers cache, fix some issues.
2013-04-28 12:53:44 +01:00
André Cruz
bf61ed6310
Delete version from package meta if resolution is not a semver version.
2013-04-28 10:56:11 +01:00
André Cruz
e52756bf9f
Switch to promise progress events, ability to target specific tags.
2013-04-28 10:48:05 +01:00
André Cruz
421dbc28bd
Small changes.
2013-04-25 18:59:42 +01:00