-
Notifications
You must be signed in to change notification settings - Fork 231
pub outdated provides results inconsistent with pub upgrade #2612
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
Comments
Hmm i can see how this is confusing. upgrade counts packages where the current version differs from the latest.
The 21 packages pub upgrade mentions are exactly the 21 packages listed by pub outdated (plus the two overridden), and the ones implied in "Newer versions, while available, are not mutually compatible." @jonasfj wdyt? should we add the count of "packages not at latest" to the outdated output? |
Hmm, yeah, maybe we write something like:
I do like the "Newer versions" phrasing. I'm probably not the best to come up with a better message. |
You suggest of 'while 21...' seems fine. The main idea is to close the loop so a user can see that the two pieces align. |
I have the same message when using pub upgrade/outdated (async, device_info, package_info)... Example: Any idea how can I fix this ? Thanks! |
@mpoirier101 can. you give more details of what you are trying to do, and what happens? (pubspec.yaml, commands run, |
It's been a while.
I moved to a new project since...
Sorry!
*Michel Poirier*
Développeur WEB/Mobile
Sainte-Agathe-des-Monts, QC
[image: LinkedIn]
<http://ca.linkedin.com/in/michelpoirier101>
…On Fri, Aug 6, 2021 at 4:01 AM Sigurd Meldgaard ***@***.***> wrote:
@mpoirier101 <https://github.com/mpoirier101> can. you give more details
of what you are trying to do, and what happens? (pubspec.yaml, commands
run, dart pub --version etc)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2612 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFCG6G5C4L5AQCOTTFPXBXLT3OJGFANCNFSM4P2PIAXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Environment
2.9.0
OS Version Linux 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
Problem
pub upgrade is reporting a different no. of 'newer versions' than pub outdated.
pub upgrade outputs:
pub outdate outputs:
Expected behavior
I would expect that pub outdated would have listed the 21 packages or a least directly mention the count that pub get said were outdated.
e.g.
21 newer versions, while available, are not mutually compatible.
This provides a 'closing of the loop' mentally for a user when comparing these two outputs.
Actual behavior
pub outdated reported that all packages were up to date.
--trace output
pub upgrade trace
pub outdated trace
The text was updated successfully, but these errors were encountered: