Skip to content

Commit 2005b45

Browse files
committed
chore: replace bazelbuild with bazel-contrib
This was done using `grep | xargs sed`.
1 parent e6f79dc commit 2005b45

File tree

55 files changed

+177
-177
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+177
-177
lines changed

BZLMOD_SUPPORT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In general `bzlmod` has more features than `WORKSPACE` and users are encouraged
1111

1212
## Configuration
1313

14-
The releases page will give you the latest version number, and a basic example. The release page is located [here](/bazelbuild/rules_python/releases).
14+
The releases page will give you the latest version number, and a basic example. The release page is located [here](/bazel-contrib/rules_python/releases).
1515

1616
## What is bzlmod?
1717

@@ -53,7 +53,7 @@ better supported.
5353
the toolchains rules_python registers**.
5454

5555
NOTE: Regardless of your toolchain, due to
56-
[#691](https://github.com/bazelbuild/rules_python/issues/691), `rules_python`
56+
[#691](https://github.com/bazel-contrib/rules_python/issues/691), `rules_python`
5757
still relies on a local Python being available to bootstrap the program before
5858
handing over execution to the toolchain Python.
5959

CHANGELOG.md

Lines changed: 101 additions & 101 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ the [GitHub `gh` tool](https://github.com/cli/cli)
3030
(More advanced users may prefer the GitHub UI and raw `git` commands).
3131

3232
```shell
33-
gh repo fork bazelbuild/rules_python --clone --remote
33+
gh repo fork bazel-contrib/rules_python --clone --remote
3434
```
3535

3636
Next, make sure you have a new enough version of Python installed that supports the

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ other minor changes bump the patch digit.
3232
To find if there were any features added or incompatible changes made, review
3333
[CHANGELOG.md](CHANGELOG.md) and the commit history. This can be done using
3434
github by going to the url:
35-
`https://github.com/bazelbuild/rules_python/compare/<VERSION>...main`.
35+
`https://github.com/bazel-contrib/rules_python/compare/<VERSION>...main`.
3636

3737
## Patch release with cherry picks
3838

WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ local_repository(
107107
# which we need to fetch in order to compile it.
108108
load("@rules_python_gazelle_plugin//:deps.bzl", _py_gazelle_deps = "gazelle_deps")
109109

110-
# See: https://github.com/bazelbuild/rules_python/blob/main/gazelle/README.md
110+
# See: https://github.com/bazel-contrib/rules_python/blob/main/gazelle/README.md
111111
# This rule loads and compiles various go dependencies that running gazelle
112112
# for python requirements.
113113
_py_gazelle_deps()
@@ -118,7 +118,7 @@ interpreter = "@python_3_11_9_host//:python"
118118
#####################
119119
# Install twine for our own runfiles wheel publishing.
120120
# Eventually we might want to install twine automatically for users too, see:
121-
# https://github.com/bazelbuild/rules_python/issues/1016.
121+
# https://github.com/bazel-contrib/rules_python/issues/1016.
122122
load("@rules_python//python:pip.bzl", "pip_parse")
123123

124124
pip_parse(

docs/api/rules_python/python/config_settings/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ Determines if relative symlinks are created using `declare_symlink()` at build
266266
time.
267267

268268
This is only intended to work around
269-
[#2489](https://github.com/bazelbuild/rules_python/issues/2489), where some
269+
[#2489](https://github.com/bazel-contrib/rules_python/issues/2489), where some
270270
packaging rules don't support `declare_symlink()` artifacts.
271271

272272
Values:

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
# Insert after the main extension
105105
extensions.insert(1, "readthedocs_ext.external_version_warning")
106106
readthedocs_vcs_url = (
107-
"http://github.com/bazelbuild/rules_python/pull/{}".format(
107+
"http://github.com/bazel-contrib/rules_python/pull/{}".format(
108108
os.environ.get("READTHEDOCS_VERSION", "")
109109
)
110110
)
@@ -133,7 +133,7 @@
133133

134134
# --- Extlinks configuration
135135
extlinks = {
136-
"gh-path": (f"https://github.com/bazelbuild/rules_python/tree/main/%s", "%s"),
136+
"gh-path": (f"https://github.com/bazel-contrib/rules_python/tree/main/%s", "%s"),
137137
}
138138

139139
# --- MyST configuration

docs/extending.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Extending the core rules is most useful when you want all or most of the
2323
behavior of a core rule.
2424
:::
2525

26-
Follow or comment on https://github.com/bazelbuild/rules_python/issues/1647
26+
Follow or comment on https://github.com/bazel-contrib/rules_python/issues/1647
2727
for the development of APIs to support custom derived rules.
2828

2929
## Creating custom rules

docs/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ your MODULE.bazel file:
1818

1919
```starlark
2020
# Update the version "0.0.0" to the release found here:
21-
# https://github.com/bazelbuild/rules_python/releases.
21+
# https://github.com/bazel-contrib/rules_python/releases.
2222
bazel_dep(name = "rules_python", version = "0.0.0")
2323

2424
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
@@ -39,13 +39,13 @@ using Bzlmod. Here is a simplified setup to download the prebuilt runtimes.
3939
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4040

4141
# Update the snippet based on the latest release below
42-
# https://github.com/bazelbuild/rules_python/releases
42+
# https://github.com/bazel-contrib/rules_python/releases
4343

4444
http_archive(
4545
name = "rules_python",
4646
sha256 = "ca77768989a7f311186a29747e3e95c936a41dffac779aff6b443db22290d913",
4747
strip_prefix = "rules_python-0.36.0",
48-
url = "https://github.com/bazelbuild/rules_python/releases/download/0.36.0/rules_python-0.36.0.tar.gz",
48+
url = "https://github.com/bazel-contrib/rules_python/releases/download/0.36.0/rules_python-0.36.0.tar.gz",
4949
)
5050

5151
load("@rules_python//python:repositories.bzl", "py_repositories")

docs/pypi-dependencies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ In some cases you may not want to generate the requirements.bzl file as a reposi
7171
while Bazel is fetching dependencies. For example, if you produce a reusable Bazel module
7272
such as a ruleset, you may want to include the requirements.bzl file rather than make your users
7373
install the WORKSPACE setup to generate it.
74-
See https://github.com/bazelbuild/rules_python/issues/608
74+
See https://github.com/bazel-contrib/rules_python/issues/608
7575

7676
This is the same workflow as Gazelle, which creates `go_repository` rules with
7777
[`update-repos`](https://github.com/bazelbuild/bazel-gazelle#update-repos)
@@ -180,7 +180,7 @@ buildozer command:
180180
buildozer 'substitute deps @old//([^/]+) @new//${1}' //...:*
181181
```
182182

183-
[requirements-drawbacks]: https://github.com/bazelbuild/rules_python/issues/414
183+
[requirements-drawbacks]: https://github.com/bazel-contrib/rules_python/issues/414
184184

185185
### Entry points
186186

0 commit comments

Comments
 (0)