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

fix incompatible errors when building with bazel 0.26+ #1775

Closed
wants to merge 3 commits into from
Closed

fix incompatible errors when building with bazel 0.26+ #1775

wants to merge 3 commits into from

Conversation

lucifer9
Copy link
Contributor

I am not an expert of bazel, just managed to make it work again.

@kslr
Copy link
Contributor

kslr commented Jun 27, 2019

hi @lucifer9

other please submit new pr.
Is this compatible with the lower version of bazel?

@lucifer9
Copy link
Contributor Author

lucifer9 commented Jun 27, 2019

hi @lucifer9

other please submit new pr.
Is this compatible with the lower version of bazel?

Good question 👍
I just tested from 0.18.0 to 0.27.0 and they all worked.

srcs += ctx.files.data
srcs += collect_runfiles(ctx.attr.data)
srcs = depset(transitive = [depset(ctx.files.srcs),depset(ctx.files.data),depset(collect_runfiles(ctx.attr.data))])
# srcs += ctx.files.srcs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can delete these comments

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I'll do that

@@ -104,9 +107,35 @@ func Listen(ctx context.Context, address net.Address, port net.Port, streamSetti

config := tls.ConfigFromStreamSettings(streamSettings)
if config == nil {
return nil, newError("TLS must be enabled for http transport.").AtWarning()
}
// return nil, newError("TLS must be enabled for http transport.").AtWarning()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

H2C has been sent separately, I suggest you re-initiate PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, I'll re-initiate PR.

@lucifer9 lucifer9 closed this Jun 29, 2019
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