Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearer identification of missing dependencies #1588

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

mosteo
Copy link
Member

@mosteo mosteo commented Feb 25, 2024

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
27 checks passed
@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