Skip to content

Clearer identification of missing dependencies#1588

Merged
mosteo merged 1 commit into
alire-project:masterfrom
mosteo:feat/separate-missing
Feb 26, 2024
Merged

Clearer identification of missing dependencies#1588
mosteo merged 1 commit into
alire-project:masterfrom
mosteo:feat/separate-missing

Conversation

@mosteo

@mosteo mosteo commented Feb 25, 2024

Copy link
Copy Markdown
Member

When a complete solution is printed (alr show|with --solve), the "external" section is now named "missing" (which is what it actually meant).

When a diff is shown that contains missing dependencies, a new section is appended containing separately all missing dependencies, labeled as such:

$ alr -f with hello unobtanium
Requested changes:

   ✓ hello      ^1.0.2 (add)
   ✓ unobtanium *      (add)

Changes to dependency solution:

   New solution is incomplete.
   +        hello      1.0.2 (new)
   Missing:
   +❗      unobtanium *     (new,missing:unknown)

This should eliminate any ambiguity about what is actually missing.

Fixes #646
Fixes #685

When a complete solution is printed (`alr show|with --solve`), the "external"
section is now named "missing" (which is what it actually meant).

When a diff is show that contains missing dependencies, a new section is
appended containing separately all missing dependencies, labeled as such:
```
$ alr -f with hello unobtanium
Requested changes:

   ✓ hello      ^1.0.2 (add)
   ✓ unobtanium *      (add)

Changes to dependency solution:

   New solution is incomplete.
   +        hello      1.0.2 (new)
   Missing:
   +❗      unobtanium *     (new,missing:unknown)
```
@mosteo mosteo marked this pull request as ready for review February 25, 2024 18:53
@mosteo mosteo merged commit 7084a58 into alire-project:master Feb 26, 2024
@mosteo mosteo deleted the feat/separate-missing branch February 26, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incomplete solution message not very clear to me alr show does not show which dependencies are unresolved

2 participants