Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repository_context.read: drop restriction to current repository
Currently, the read function of the repository context is restricted to the external repository it is supposed to construct. However, external repositories are routinely used for configure-like tasks that inspect a lot of files all over the system and then write a consolidated descripton of the system to the generated repository. In fact, even for simple tasks like authentication for http_downloads, we had to work around that restriction by symlinking the needed file into the current repository before reading it (followed by removing the symlink). So simply drop that restriction. RELNOTES: repository_ctx.read is no longer restricted to files in the repository contructed. Change-Id: I9d5003e00ae2acf9312b7fd65af7a40434933436 PiperOrigin-RevId: 258181706
- Loading branch information