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
4593b652c4
Fix log of errors not rendering the error message/data in the JSON renderer.
2013-06-05 00:29:27 +01:00
André Cruz
49be1638ba
Minor tweaks.
2013-06-03 16:54:09 +01:00
André Cruz
e188047cfb
Fix fail fast mechanism.
2013-06-03 16:49:40 +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
2d0c0d2aad
Reduce nesting and fix analyse not restoring dependants properly in some cases.
2013-06-02 12:04:32 +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
12078f07c6
Add a fail fast mechanism instead of rejecting the whole process on error.
...
This prevent clobbering registry and cache, since when the promise is rejected usually process.exit(1) is called.
2013-06-02 11:47:59 +01:00
André Cruz
c9ef3fa1d7
Allow simultaneous --save and --save-dev flag.
2013-06-01 02:14:21 +01:00
André Cruz
0a724e5a73
Simplify code.
2013-06-01 02:11:18 +01:00
André Cruz
2c9e4aacf2
Not every notification was being extended properly.
...
Standardise variables.
2013-06-01 02:10:58 +01:00
André Cruz
41486d44ee
Tweaks.
2013-05-31 19:11:21 +01:00
André Cruz
7fb326245e
Print update notice.
2013-05-31 18:17:32 +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
81e8b0eb18
Restore also extraneous so they are accounted in the uninstall command.
2013-05-30 22:38:25 +01:00
André Cruz
26da7d5e81
CS.
2013-05-30 22:32:21 +01:00
André Cruz
4064fedf55
Fix install not resolving with the installed object.
2013-05-30 22:17:38 +01:00
André Cruz
a27ad2e353
Better doc.
2013-05-30 22:05:33 +01:00
André Cruz
13aa3914ac
Wrong comment.
2013-05-30 21:59:31 +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
3cf56ff7d5
Change registryName to registry.
2013-05-29 11:44:36 +01:00
André Cruz
70a4ab863d
Add update command and also finish install.
2013-05-29 10:38:39 +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
4d6bcf27e9
Small tweaks.
2013-05-28 11:24:09 +01:00
André Cruz
130e417451
Fix render of errors.
2013-05-28 11:23:48 +01:00
André Cruz
e6f2d9de86
Typo due to search & replace.
2013-05-28 11:23:28 +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
8539298008
Forgot to tweak some more notifications.
2013-05-24 23:44:01 +01:00
André Cruz
f7c3b7c664
Indexed resolvers.
2013-05-24 23:20:54 +01:00
André Cruz
9f2b02d98e
I'm dumb.
2013-05-24 23:10:39 +01:00
André Cruz
fc193b2d24
Oops.
2013-05-24 23:09:23 +01:00
André Cruz
01d8d0dbec
Minor CS fixes.
2013-05-24 23:03:19 +01:00
Mat Scales
26f33b9581
Check that git is installed when instantiating a git resolver
2013-05-24 17:29:16 +01:00
Mat Scales
da87fd7747
Make warnings go out on stderr
2013-05-24 15:38:13 +01:00
André Cruz
479690f011
Remove trailing commas.
2013-05-24 12:33:08 +01:00
André Cruz
2510f21c81
Sum up when exceeds the size of the label.
2013-05-24 12:26:32 +01:00
André Cruz
d6e55dffb0
Auto align cli output in wide mode.
2013-05-24 11:57:56 +01:00
André Cruz
7df0e22664
Add new line at the end of the json renderer.
2013-05-24 11:46:34 +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
aea39080d6
Oops.
2013-05-24 11:13:25 +01:00
André Cruz
ecacdfaf49
Avoid having to deal with circular references when outputting json.
2013-05-24 00:58:43 +01:00
André Cruz
d8719ede12
More CS.
2013-05-24 00:23:05 +01:00
André Cruz
11834a4186
Fix tests.
2013-05-24 00:20:15 +01:00
André Cruz
81381fac75
Fix error render, CS.
2013-05-24 00:19:43 +01:00
André Cruz
9fa91aab36
More tweaks related to notifications, add notifications to remaining resolvers.
2013-05-24 00:03:44 +01:00
André Cruz
2897b66a1c
Remove old code.
2013-05-24 00:03:00 +01:00
André Cruz
ef77ac11ef
Flip label and tag position on large terminals.
2013-05-23 23:43:40 +01:00
André Cruz
382c857a4b
Tweaks to notifications.
2013-05-23 23:43:11 +01:00
André Cruz
c4bfbd3f94
CS fix based on suggestions.
2013-05-23 23:42:24 +01:00