Commit Graph

30 Commits

Author SHA1 Message Date
André Cruz
d020acca22 Fix detection of unsuitable resolutions. 2013-06-07 13:37:04 +01:00
André Cruz
e704733743 Read, use and update persistent resolutions.
Add --save-resolutions to deal with this.
Also:
  - Adjust logging when using compact
  - Minor code adjustments.
2013-06-07 13:05:07 +01:00
André Cruz
79522194f1 Inform the user when a conflict was resolved with a configured resolution. 2013-06-06 01:05:55 +01:00
André Cruz
aadc9e64d8 Update doc and add TODO. 2013-06-06 00:27:03 +01:00
André Cruz
2eea258b9b Save and use resolutions to resolve conflicts. 2013-06-06 00:12:07 +01:00
André Cruz
1fdb5373c9 Fix adjustment made to targets and improve walk tree. 2013-06-05 18:35:38 +01:00
André Cruz
0ebe5ff55a Several fixes.
- Throw an error when trying to update a package that is not installed
- Do not add duplicate packages to the resolved list
- Make conflict resolution serial instead of parallel
- Fix some dumb mistakes
2013-06-05 08:55:32 +01:00
André Cruz
ef610ab7de Sort of picks must be done by the Manager, otherwise indexes are messed up.
Little code simplification on the Project.
2013-06-05 01:13:15 +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
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
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
2c9e4aacf2 Not every notification was being extended properly.
Standardise variables.
2013-06-01 02:10:58 +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
4d6bcf27e9 Small tweaks. 2013-05-28 11:24:09 +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
01d8d0dbec Minor CS fixes. 2013-05-24 23:03:19 +01:00
André Cruz
479690f011 Remove trailing commas. 2013-05-24 12:33:08 +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
cfb3d14028 Initial take on the commands + renderers + cli. 2013-05-23 19:55:59 +01:00
André Cruz
9f6bf62efc Some other tweaks to the API. 2013-05-22 22:58:04 +01:00
André Cruz
7b0b53a96d Some real minor tweaks. 2013-05-22 15:03:15 +01:00
André Cruz
87d0e1d886 Revised and improved code for the upper resolve layer. 2013-05-22 14:36:19 +01:00
André Cruz
febc3b7936 README typos. 2013-05-14 22:27:27 +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