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

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

Merged
merged 2 commits into from Jul 8, 2020

Conversation

mosteo
Copy link
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 Jul 6, 2020
@mosteo mosteo marked this pull request as ready for review Jul 6, 2020
@mosteo mosteo requested a review from Fabien-Chouteau Jul 6, 2020
doc/user-changes.md Show resolved Hide resolved
doc/user-changes.md Show resolved Hide resolved
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 Jul 8, 2020
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.

None yet

2 participants