Skip to content
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

[bzlmod] Stop relying on initialize.release.bzl #1127

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

restingbull
Copy link
Collaborator

No description provided.

In order to simplify the dependency tree for the rules kotlin bootstrap, bzlmod_setup needed to be separated from the release. The reason for this is twofold: kotlin_repositories in development call kt_configure which configures released_rules_kotlin. Since bzlmod_setup is also used to load released_rules_kotlin this become a dependency cycle. Second, we don't want to load released_rules_koltin in the release module, as it is a development dependency. (whoops.)

This also allows dropping a few extra bits of configuration that are unnecessary for the release.
@restingbull restingbull marked this pull request as ready for review March 10, 2024 17:53
@restingbull restingbull merged commit a675511 into master Mar 13, 2024
3 of 4 checks passed
@restingbull restingbull deleted the restingbull/fix-release branch March 13, 2024 02:23
Bencodes pushed a commit to Bencodes/rules_kotlin that referenced this pull request Mar 13, 2024
* [bzlmod] Stop relying on initialize.release.bzl

* [release] Separate bzlmod dev extensions from release extensions

In order to simplify the dependency tree for the rules kotlin bootstrap, bzlmod_setup needed to be separated from the release. The reason for this is twofold: kotlin_repositories in development call kt_configure which configures released_rules_kotlin. Since bzlmod_setup is also used to load released_rules_kotlin this become a dependency cycle. Second, we don't want to load released_rules_koltin in the release module, as it is a development dependency. (whoops.)

This also allows dropping a few extra bits of configuration that are unnecessary for the release.
restingbull added a commit that referenced this pull request Mar 15, 2024
* [bzlmod] Stop relying on initialize.release.bzl

* [release] Separate bzlmod dev extensions from release extensions

In order to simplify the dependency tree for the rules kotlin bootstrap, bzlmod_setup needed to be separated from the release. The reason for this is twofold: kotlin_repositories in development call kt_configure which configures released_rules_kotlin. Since bzlmod_setup is also used to load released_rules_kotlin this become a dependency cycle. Second, we don't want to load released_rules_koltin in the release module, as it is a development dependency. (whoops.)

This also allows dropping a few extra bits of configuration that are unnecessary for the release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants