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

Move bzl ext #265

Merged
merged 5 commits into from
Aug 20, 2020
Merged

Move bzl ext #265

merged 5 commits into from
Aug 20, 2020

Conversation

comius
Copy link
Collaborator

@comius comius commented Aug 18, 2020

Extending pull request pull/261 with one commit.

This fixes an issue with importing bazel-skylib into
google3. Currently, Glaze (internal Go build file generator) attempts
to generate a target (//gazelle:gazelle) that conflicts with one
that's already declared here.

I think the right solution is actually to move the package into a
subdirectory. In the future (bazel-contrib/bazel-gazelle#5), Gazelle's Go
extension will generate target names similar to what Glaze does, so
the same conflict will happen in open source. I think it's also
logical to have a directory of packages in case more need to be added
in the future, and for the extension to have a package name matching
the language it works with.

This is an incompatible change, but the //gazelle directory isn't part
of a tagged release yet, so hopefully it won't break anyone.

Jay Conrod and others added 3 commits August 4, 2020 15:47
This fixes an issue with importing bazel-skylib into
google3. Currently, Glaze (internal Go build file generator) attempts
to generate a target (//gazelle:gazelle) that conflicts with one
that's already declared here.

I think the right solution is actually to move the package into a
subdirectory. In the future (bazel-contrib/bazel-gazelle#5), Gazelle's Go
extension will generate target names similar to what Glaze does, so
the same conflict will happen in open source. I think it's also
logical to have a directory of packages in case more need to be added
in the future, and for the extension to have a package name matching
the language it works with.

This is an incompatible change, but the //gazelle directory isn't part
of a tagged release yet, so hopefully it won't break anyone.
@comius
Copy link
Collaborator Author

comius commented Aug 18, 2020

cc @juliexxia

@comius
Copy link
Collaborator Author

comius commented Aug 18, 2020

hey, can you merge it in also?

@achew22
Copy link
Member

achew22 commented Aug 18, 2020

I don't think anyone can merge it until it passes tap -- err buildkite

@c-parsons c-parsons merged commit bc97abb into bazelbuild:master Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants