-
Notifications
You must be signed in to change notification settings - Fork 701
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
Improve cabal update message #9521
base: master
Are you sure you want to change the base?
Conversation
- Mention "global index-state" - Report the head timestamp of the package index
Co-authored-by: brandon s allbery kf8nh <[email protected]> Co-authored-by: Michael Peyton Jones <[email protected]>
I don't really understand the output:
How can it be "up to date" if it refers to a date later than what the global index-state points to? |
Yes, this is the behaviour I was trying (and failed apparently 😂) to make explicit in the message. Running I don't know how to express this any better. |
Hmm, how about something like:
|
Or something along those lines? |
That's why I should not do user facing changes 😂 I am happy with
Should we say something different if the two timestamps are the same (which happens when you just do |
Perhaps something like:
I think that is quite clear |
I never looked into the "marked output" shenanigans, but they could help to ignore the variable potion of the output? |
This is marked as needs review, but it looks like there's some outstanding test tweaks before it can be reviewed and merged? |
This change tries to address #9039 and similar issues.
cabal update
now mentions a "global index-state".cabal update
reports the head timestamp of the package index as well as the set index-state.Example: