Skip to content

New alr with --versions for version-related info of dependencies#464

Merged
mosteo merged 2 commits intoalire-project:masterfrom
mosteo:feat/versions
Jul 8, 2020
Merged

New alr with --versions for version-related info of dependencies#464
mosteo merged 2 commits intoalire-project:masterfrom
mosteo:feat/versions

Conversation

@mosteo
Copy link
Copy Markdown
Member

@mosteo mosteo commented Jul 6, 2020

This new switch focuses on version-related information for crates in the solution: which constraints were found for each dependency, which version was used to fulfill them, and what's the latest known version for a crate (hence pointing to possible wanted updates).

Example of output (from the included test):

CRATE      DEPENDENCY      SOLVED  LATEST 
hello      ^1              1.0.1   4.0.0  
libhello   (^1.0) & (~1.0) 1.0.1   2.0.0  
superhello *               1.0.0   1.0.0  
unobtanium *               missing unknown
wip        *               /fake   unknown
xxx        (root)          0.0.0   unknown

The 2nd column info is shown when adding a new dependency, but cannot be obtained again at a later time. The 4th column info is new and would require individual queries with alr show to be obtained.

@mosteo mosteo force-pushed the feat/versions branch 2 times, most recently from 47cf6ed to 009f278 Compare July 6, 2020 14:56
@mosteo mosteo marked this pull request as ready for review July 6, 2020 15:17
@mosteo mosteo requested a review from Fabien-Chouteau July 6, 2020 15:17
This new version focuses on showing: which constraints were found for each
dependency, which version was used to fulfill them, and what's the latest
existing version for a crate (hence pointing to possible wanted updates).
@mosteo mosteo merged commit 28c756a into alire-project:master Jul 8, 2020
@mosteo mosteo deleted the feat/versions branch July 8, 2020 13:36
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.

2 participants