Commit Graph

276 Commits

Author SHA1 Message Date
André Cruz
2e0353c725 Complete resolve cache tests. 2013-07-13 23:03:40 +01:00
André Cruz
6c17c5a3a2 Also call registry client methods related to eliminate, clear and reset. 2013-07-13 22:17:20 +01:00
André Cruz
2e2263ed58 CS. 2013-07-13 21:42:00 +01:00
André Cruz
4a954853f2 Fix minor order issue in resolve cache list. 2013-07-13 14:06:32 +01:00
André Cruz
5c276c34ea Delete lurking files. 2013-07-13 12:09:31 +01:00
André Cruz
1d2b654021 Fix resolve cache not creating the directory after clearing it. 2013-07-13 10:36:52 +01:00
André Cruz
a44d4bccc2 Refactor some code, minor fixes. 2013-07-13 09:40:11 +01:00
André Cruz
d1001aea1a Use bower-json throughout the code. 2013-07-12 16:22:10 +01:00
André Cruz
a786fa534a Refactor md5 to its own function. 2013-07-12 15:34:05 +01:00
André Cruz
2a0831ab5a Simplify some compatible detection logic. 2013-07-12 15:33:43 +01:00
André Cruz
c6b61b0838 Fix incompatible being set on non-semver versions. 2013-07-12 15:21:51 +01:00
André Cruz
e73e480939 Made areCompatible protected. 2013-07-11 20:39:15 +01:00
André Cruz
8574d50eaa Do not read json from rc. 2013-07-11 19:06:57 +01:00
André Cruz
56679d2a8e Fix passing configuration into commands on programmatic usage, fixes #608. 2013-07-11 07:56:53 +01:00
André Cruz
33d0f1fd94 Fix bug introduced when name is coerced to the registry name. 2013-07-10 20:11:19 +01:00
André Cruz
bb4f09316a Oops, typos related with fix for #605. 2013-07-10 20:09:57 +01:00
André Cruz
6da9a1285c CS. 2013-07-10 19:52:29 +01:00
André Cruz
3b90e24ff8 Copy/remove when rename fails do because of EXDEV, fixes #605. 2013-07-10 19:51:54 +01:00
André Cruz
19cd6a1bdf Only use GitHub resolver for public endpoints, fixes #603. 2013-07-10 07:21:56 +01:00
André Cruz
d0465eccf1 CS. 2013-07-09 23:57:15 +01:00
André Cruz
3aedec3e2d Add init command (not yet implemented). 2013-07-09 23:56:45 +01:00
André Cruz
47a1cce5fa Fix GitHub resolver not trimming .git in the repo name. 2013-07-09 20:42:52 +01:00
André Cruz
ef60fcb9ec Check archive size before extracting, caught invalid archives. 2013-07-09 20:41:54 +01:00
André Cruz
b45a1bd913 Fix usage of trim. 2013-07-09 20:41:23 +01:00
André Cruz
597100d108 Remove unnecessary stuff. 2013-07-09 13:13:43 +01:00
André Cruz
418f97dbba Minor tweaks to the resolver factory. 2013-07-09 13:13:22 +01:00
André Cruz
6a38671e3c Add name validation to the register command. 2013-07-09 13:13:03 +01:00
André Cruz
34a2f1ad65 Add insightful message after registering. 2013-07-07 17:43:16 +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
42b498654b N/A if there's no error stack. 2013-07-07 10:17:58 +01:00
André Cruz
888a4e1c0e Better sentence. 2013-07-07 03:01:04 +01:00
André Cruz
4d8dbefc85 Use the new bower-config module. 2013-07-06 22:46:28 +01:00
André Cruz
9517191e35 Improve clear of runtime cache. 2013-07-06 14:56:13 +01:00
André Cruz
e51827bfcd Add ability to clear runtime cache for long-lived programs to call. 2013-07-06 13:56:54 +01:00
André Cruz
bb76621b7f Add origin to progress messages for compact terminals. 2013-07-06 12:59:56 +01:00
André Cruz
c6746f6f77 Minor fix to a previous commit. 2013-07-06 12:59:34 +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
1bf51a047e Fix bug when cleaning the cache of specific packages. 2013-07-06 11:28:08 +01:00
André Cruz
a7b2fe14b9 Fix some minor issues with * endpoints and prevent some semver errors due to module upgrade. 2013-07-06 10:29:50 +01:00
André Cruz
da8d0f3265 Typos. 2013-07-05 08:23:28 +01:00
André Cruz
9b57d18143 Small improv. 2013-07-05 08:19:05 +01:00
André Cruz
9f0ac51e06 Use a more tolerant regexp when splitting lines. 2013-07-05 08:18:38 +01:00
André Cruz
011a19772d Fix really weird bug that caused local packages to be installed. 2013-07-05 01:46:52 +01:00
André Cruz
d8cef76592 Added prune command, closes #463. 2013-07-05 01:20:28 +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
f7ba6e1121 Minor improvement to the elect suitable. 2013-07-04 23:27:10 +01:00
André Cruz
df19dbc0de Minor bug. 2013-07-04 23:16:39 +01:00
André Cruz
3b3e64e752 Implement removal of invalid links in the cache clean command. 2013-07-04 23:09:24 +01:00
André Cruz
008b807803 Fix json endpoints parsing in some edge cases. 2013-07-03 16:26:03 +01:00