Commit Graph

39 Commits

Author SHA1 Message Date
Adam Stankiewicz
df8e5a16be Fix readdir call on Windows
Sometimes it return ENOENT instead of ENODIR for normal files.

This broke code paths in few places. Also, see:
https://github.com/isaacs/chmodr/pull/8
2015-10-14 16:09:38 +02:00
Adam Stankiewicz
99105fbb57 Try chmod 777 + rimraf as fallback on rimraf in all places 2015-10-14 12:50:41 +02:00
Adam Stankiewicz
ed27e87540 Fix the tests 2015-08-04 06:40:03 +02:00
Adam Stankiewicz
4fc2b5cf76 Add tests and improve resolver interface 2015-08-04 06:21:06 +02:00
Adam Stankiewicz
61a68a9e38 test: Replace dejavu repo with pure (dejavu moved) 2015-02-28 19:52:40 -08:00
Adam Stankiewicz
df71d251f0 Disable SVN testing for unsuppoted hosts (e.g. AppVeyor) 2015-01-11 03:08:41 +01:00
Adam Stankiewicz
06a8f2afab Read .bowerrc from specified cwd, fixes #1301 2014-09-06 02:38:40 +02:00
Tim Monks
192e5af797 Add integration tests for bower commands 2014-07-02 11:16:12 +01:00
Ahmad Nassri
3b98e4962a final working version, with unit tests update README with examples 2014-01-19 13:09:49 -05:00
Kenneth Lee
53f563ec08 added svn+file for local file system checkouts 2014-01-16 20:07:04 +00:00
Kenneth Lee
0c7b09c237 created svn tests in resolver factory 2014-01-16 19:18:27 +00:00
André Cruz
60c522a696 Fix absolute paths ending with / not going through the FsResolver, fixes #898. 2013-10-04 12:38:08 +01:00
André Cruz
d08efcfe3c Fix wrong tests. 2013-08-11 20:57:35 +01:00
André Cruz
ee2640bc43 Close GH-747: Do not use --depth=1 if the server does not support it, fixes #744. 2013-08-10 15:43:54 +01:00
André Cruz
58921f7422 Improve resolver factory tests and add some failing test cases. 2013-08-07 08:56:40 +01:00
André Cruz
15957bc9ac Close GH-716: Add initial packages script that allows creating of packages usable for tests. 2013-08-04 20:41:42 +01:00
André Cruz
1210ea821a Close GH-669: Interpret as local files only if the path is absolute or relative, closes #666. 2013-07-29 21:44:04 +01:00
André Cruz
3b376a3d3d Move homepage guess logic to the appropriate resolver. 2013-07-22 13:57:39 +01:00
André Cruz
0cf8af00b3 Separate logger into its own module. 2013-07-20 20:37:05 +01:00
André Cruz
6e037a4d46 Improve test for #474. 2013-07-18 08:40:04 +01:00
André Cruz
499d9da75f Add test for PR #474. 2013-07-18 01:10:29 +01:00
André Cruz
268a1475f0 Add new test for the resolver factory related with failing when a package is not found in the registry. 2013-07-14 13:38:59 +01:00
André Cruz
a47d5f4f12 Implemented missing test. 2013-07-14 08:50:27 +01:00
André Cruz
e809133c25 Complete some pending tests. 2013-07-13 23:47:50 +01:00
André Cruz
908fa55674 Fix wrong test, add a few more. 2013-07-13 22:23:43 +01:00
André Cruz
ac18199295 Add minor test in the resolver factory tests. 2013-07-13 21:41:44 +01:00
André Cruz
85e55f3be2 Add versions tests for the resolver cache. 2013-07-12 17:39:24 +01:00
Sven Lito
36ad643a5f [tests] fix typo 2013-07-10 14:36:55 +01:00
André Cruz
a314d33dea Improve resolver factory tests. 2013-07-10 07:41:01 +01:00
André Cruz
19cd6a1bdf Only use GitHub resolver for public endpoints, fixes #603. 2013-07-10 07:21:56 +01:00
André Cruz
f2b86ad3ed Add specialised GitHub resolver, closes #597. 2013-07-07 10:22:58 +01:00
André Cruz
fe1a635c14 Switch to graceful-fs. 2013-07-01 20:31:28 +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
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
e09a3b8cbf Huge commit, implement rough working version of the whole resolve process. 2013-05-13 11:09:04 +01:00