-
Notifications
You must be signed in to change notification settings - Fork 28
add snapshot diff previous link and time to snapshot date #340
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
Conversation
(the time may actually be when the snapshot build started)
Added %Z (timezone) to the time format |
Only add previous diff link if there is a previous previous snapshot |
Fix previous diff to use/be off previous snapshot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I think the type of prevprevSnapName
should change, otherwise looks good.
Okay updated - still a bit ugly, but maybe the best we can do. I have a convention of prefixing Maybe variables with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last change requested, then it's good to go. :) I don't need to re-review it anymore.
allowing navigating back to earlier consecutive diffs Arguably we could also navigate name1 and name2 separately Thanks to @chreekat for reviewing and improving the code (commercialhaskell#340)
These 3 commits are unrelated but small and self-contained, so I thought easier to just combine in one PR:
github.com/fpco/
withmygithub.libinneed.workers.dev/commercialhaskell/
Compiles fine but untested (since I don't have a local db setup)