-
Notifications
You must be signed in to change notification settings - Fork 360
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
Make it so pin list display the current revision of the pinned repo #6274
base: master
Are you sure you want to change the base?
Conversation
In particular, may the url or revision be empty for a git/hs/darcs kind? |
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.
Thank you for you PR!
You'll find some comments specific to the implementation the implementation.
To complete the PR, it needs also to:
- add a test (we can do it)
- update the list manpage text to inform about the new column, especially that it is the hash of the current state of the source, not the installed one.
- polishing (remove trailing whitespace, indent, 80 columns), but we will do it at the end.
A todo for the dev team: we'll need to add a more exhaustive test to pin, existing one tests only the several kind of pin (vcs/path/version), but not the not synchronised package.
side remark on the code itself: many of the lines of code added by this PR contain a trailing whitespace. It would be nice to avoid them |
Thanks for your review, I'll be working on implementing them |
Co-authored-by: R. Boujbel <[email protected]>
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.
lgtm. Thanks for this contribution!
We'll do the rest (fix the tests)
Implementation of issue #5533
It works, but I'm not sure it's the best way to do it