Skip to content

deps: Dump/interpolate repository_locations -> json#19441

Merged
htuch merged 2 commits intoenvoyproxy:mainfrom
phlax:data-repository_locations
Jan 11, 2022
Merged

deps: Dump/interpolate repository_locations -> json#19441
htuch merged 2 commits intoenvoyproxy:mainfrom
phlax:data-repository_locations

Conversation

@phlax
Copy link
Copy Markdown
Member

@phlax phlax commented Jan 7, 2022

Signed-off-by: Ryan Northey ryan@synca.io

Commit Message:

There are a few tools that require the repository_locations data, currently we are bringing that data into the python by putting the implementation (as opposed to the abstract library) in the envoy repo, this will allow us to instead pass the repo locations data as a file/cli flag, and move the implementation into the upstream tooling

This PR also avoids using the old SourceFileLoader + bzl files method of loading the data, instead loading directly from the write_json rules for the repo files and interpolating

There is a more generic implementation of some of what is required here in #17998

Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@phlax
Copy link
Copy Markdown
Member Author

phlax commented Jan 7, 2022

cc @htuch @kfaseela

@phlax phlax force-pushed the data-repository_locations branch 2 times, most recently from 898db71 to a4f010b Compare January 7, 2022 17:08
Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax phlax force-pushed the data-repository_locations branch from a4f010b to ce7f882 Compare January 7, 2022 18:58
@phlax
Copy link
Copy Markdown
Member Author

phlax commented Jan 7, 2022

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #19441 (comment) was created by @phlax.

see: more, trace.

@repokitteh-read-only repokitteh-read-only bot added the deps Approval required for changes to Envoy's external dependencies label Jan 8, 2022
@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to (bazel/.*repos.*\.bzl)|(bazel/dependency_imports\.bzl)|(api/bazel/.*\.bzl)|(.*/requirements\.txt)|(.*\.patch).
envoyproxy/dependency-shepherds assignee is @htuch

🐱

Caused by: #19441 was synchronize by phlax.

see: more, trace.

Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax phlax force-pushed the data-repository_locations branch from a27aa29 to 0367f88 Compare January 8, 2022 11:44
Copy link
Copy Markdown
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.

LGTM, thanks!

@repokitteh-read-only repokitteh-read-only bot removed the deps Approval required for changes to Envoy's external dependencies label Jan 11, 2022
@htuch htuch merged commit f2d3f52 into envoyproxy:main Jan 11, 2022
joshperry pushed a commit to joshperry/envoy that referenced this pull request Feb 13, 2022
There are a few tools that require the repository_locations data, currently we are bringing that data into the python by putting the implementation (as opposed to the abstract library) in the envoy repo, this will allow us to instead pass the repo locations data as a file/cli flag, and move the implementation into the upstream tooling

This PR also avoids using the old SourceFileLoader + bzl files method of loading the data, instead loading directly from the write_json rules for the repo files and interpolating

There is a more generic implementation of some of what is required here in envoyproxy#17998
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Josh Perry <josh.perry@mx.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.

2 participants