-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add rich file metadata to poetry.lock #1183
Conversation
1fcb3d5
to
5fae999
Compare
38f0aa0
to
c7a5cc4
Compare
c7a5cc4
to
ecbd919
Compare
Here is a demo of how this metadata can be used: https://github.com/adisbladis/poetry2nix/tree/patched-poetry |
@sdispater Could I get a comment on if this is something that you'd like to incorporate? Then I can fix the conflicts. |
Not a maintainer but I think your approach is entirely reasonable. Quickly glanced at your diff and noticed (maybe) some bugs. |
What bugs did you notice? |
There is a slight logic bug (I think) with your new |
@sdispater Is this something that could possibly be merged before 1.0? Since I'm making changes to the lock format itself this needs to go in before 1.0. |
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.
While I agree with the general idea, I think this information should still reside in the metadata
section of the lock file as a files
property instead of hashes
.
Since #1460 this can be closed. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This is so files can be distinguished based on their meta attributes.
My proposed solution to #1172.
metadata.hashes
is still around though I'd like to start seeing that as deprecated and only for backwards compatibility.