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

Extend repository_impl() to support overriding the repository location key #4577

Merged
merged 1 commit into from
Oct 2, 2018

Conversation

georgi-d
Copy link
Contributor

@georgi-d georgi-d commented Oct 1, 2018

Description:

  • now repository_impl supports overriding the repository location key
    which can be used to simulate repository aliases
  • used the new feature for the protobuf_cc repository
  • it is now posible to override the protobuf repository location on the
    command line and the build to work correctly

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md

Risk Level: low
Testing: tested locally with overriding the protobuf repo on the command line
Docs Changes: NA
Release Notes: NA

… key

- now repository_impl supports overriding the repository location key
which can be used to simulate repository aliases
- used the new feature for the protobuf_cc repository
- it is now posible to override the protobuf repository location on the
command line and the build to work correctly

Signed-off-by: Georgi Dimitrov <gdimitrov@vmware.com>
@htuch htuch changed the title Extend inventory_impl() to support overriding the repository location key Extend repository_impl() to support overriding the repository location key Oct 2, 2018
Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

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

Thanks. I assume native.alias doesn't work for external repositories.

@htuch htuch merged commit befd32f into envoyproxy:master Oct 2, 2018
@georgi-d
Copy link
Contributor Author

georgi-d commented Oct 5, 2018

@htuch It cannot. Here is the bazel issue that discusses it: bazelbuild/bazel#3219

@georgi-d georgi-d deleted the repoOverrideKey branch October 5, 2018 17:29
aa-stripe pushed a commit to aa-stripe/envoy that referenced this pull request Oct 11, 2018
… key (envoyproxy#4577)

- now repository_impl supports overriding the repository location key
which can be used to simulate repository aliases
- used the new feature for the protobuf_cc repository
- it is now posible to override the protobuf repository location on the
command line and the build to work correctly

Signed-off-by: Georgi Dimitrov <gdimitrov@vmware.com>
Signed-off-by: Aaltan Ahmad <aa@stripe.com>
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.

3 participants