-
Notifications
You must be signed in to change notification settings - Fork 455
feat(pkg): autolocking #12653
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
feat(pkg): autolocking #12653
Conversation
c8b556f to
901b00e
Compare
|
I'm excited to see this landing :D I'm reporting on an attempt to use it: I have tried using a build from this branch to build cohttp. I have set is it an instance of #11038 ? |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
2084d26 to
093bdf9
Compare
093bdf9 to
0674ae6
Compare
Leonidas-from-XIV
left a comment
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.
I am very excited to see this finally come to a close. This will unblock a lot of things that we have going forward.
1410922 to
35d5716
Compare
35d5716 to
d2ae81b
Compare
bc2d29f to
b9b4355
Compare
7a4c0e6 to
9f0cd93
Compare
Leonidas-from-XIV
left a comment
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.
I think it's pretty much there, some minor comments about the code but overall seems fine.
19bf821 to
6ab3e62
Compare
Leonidas-from-XIV
left a comment
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.
In my opinion this is ready to merge.
Signed-off-by: Ali Caglayan <[email protected]>
6ab3e62 to
80ffe25
Compare
| in | ||
| let combined_pins = Pin.DB.combine_exn workspace_pins_db project_pins_db in | ||
| Memo.return combined_pins | ||
| >>| resolve_project_pins |
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.
How is this code not shared with the non watch mode locking code? Why would we handle pins differently here?
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.
Not shared on purpose so that we don't break existing code. Will be shared in the future under more scrutiny. Comments added in #12713.
| @@ -0,0 +1,14 @@ | |||
| open Import | |||
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.
Can you move this module into Lock_rules?
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.
Done in #12714
We add support for autolocking. This works when
(pkg enabled)is present in thedune-workspaceand allows users to build package dependencies without having to go throughdune pkg lock.If a lock file is present, it will continue to build using that as is currently the case.
This started as a rough draft of the working parts of #11775 and my branch that built on that. The advantage of this approach is that we don't touch dev tools or
dune pkg lock.