Skip to content

refactor(pkg): simplify depopts handling#11022

Merged
rgrinberg merged 1 commit intomainfrom
ps/rr/refactor_pkg___simplify_depopts_handling
Oct 21, 2024
Merged

refactor(pkg): simplify depopts handling#11022
rgrinberg merged 1 commit intomainfrom
ps/rr/refactor_pkg___simplify_depopts_handling

Conversation

@rgrinberg
Copy link
Copy Markdown
Member

@rgrinberg rgrinberg commented Oct 18, 2024

The simplification comes from us resolving the depopts formula exactly in the same way as we do for regular deps.

In theory, this is also a bug fix because we are now using the same environment in both depopts and regular deps. However, I was unable to reproduce this as we lack full support for depopts.

Signed-off-by: Rudi Grinberg me@rgrinberg.com

@rgrinberg rgrinberg requested a review from gridbugs October 18, 2024 20:48
@rgrinberg rgrinberg force-pushed the ps/rr/refactor_pkg___simplify_depopts_handling branch 5 times, most recently from 8c8c625 to 52acca5 Compare October 18, 2024 22:45
@rgrinberg rgrinberg force-pushed the ps/rr/refactor_pkg___simplify_depopts_handling branch from 52acca5 to 49fe9f8 Compare October 20, 2024 21:56
In theory, this is also a bug fix because we are now using the same
environment in both depopts and regular deps. However, I was unable to
reproduce this as we lack full support for depopts.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

<!-- ps-id: 9e85f5db-87b7-48e8-aa74-fa67a1c892b0 -->
@rgrinberg rgrinberg force-pushed the ps/rr/refactor_pkg___simplify_depopts_handling branch from 49fe9f8 to 4a255df Compare October 21, 2024 07:36
@rgrinberg rgrinberg merged commit cb2677f into main Oct 21, 2024
@rgrinberg rgrinberg deleted the ps/rr/refactor_pkg___simplify_depopts_handling branch October 21, 2024 07:36
anmonteiro pushed a commit to anmonteiro/dune that referenced this pull request Nov 17, 2024
In theory, this is also a bug fix because we are now using the same
environment in both depopts and regular deps. However, I was unable to
reproduce this as we lack full support for depopts.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants