Skip to content

Commit

Permalink
Automated rollback of commit 45e1b5c.
Browse files Browse the repository at this point in the history
*** Reason for rollback ***

Performance regression, b/294105788

*** Original change description ***

Implement REPO.bazel

- REPO.bazel is a new file at the root of repos that can only contain a `repo()` call with a bunch of package default arguments (similar to `package()`)
- A new SkyFunction, RepoFileFunction, evaluates a REPO.bazel file and returns the `PackageArgs` object containing those arguments
- PackageFunction for packages in repo `@foo` now depends on RepoFileFunction for `@foo`

Fixes bazelbuild/bazel#18077

PiperOrigin-RevId: 553500673
  • Loading branch information
Googler authored and Copybara-Service committed Aug 3, 2023
1 parent 0716735 commit e956466
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion third_party/bazel/src/main/protobuf/failure_details.proto
Expand Up @@ -1245,7 +1245,6 @@ message PackageLoading {
BUILTINS_INJECTION_FAILURE = 29 [(metadata) = { exit_code: 1 }];
SYMLINK_CYCLE_OR_INFINITE_EXPANSION = 30 [(metadata) = { exit_code: 1 }];
OTHER_IO_EXCEPTION = 31 [(metadata) = { exit_code: 36 }];
BAD_REPO_FILE = 32 [(metadata) = { exit_code: 1 }];
}

Code code = 1;
Expand Down

0 comments on commit e956466

Please sign in to comment.