Skip to content

Commit 14b559b

Browse files
authored
chore: replace bazelbuild with bazel-contrib (#2688)
This was done using `grep | xargs sed`. BCR presubmits require that the list of repositories match where downloads come from Along the way, also update the URL homepages to bazel-contrib and change the email to my personal instead of work email.
1 parent e6f79dc commit 14b559b

File tree

59 files changed

+186
-185
lines changed

Some content is hidden

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

59 files changed

+186
-185
lines changed

.bcr/gazelle/metadata.template.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"homepage": "https://github.com/bazelbuild/rules_python",
2+
"homepage": "https://github.com/bazel-contrib/rules_python",
33
"maintainers": [
44
{
55
"name": "Richard Levasseur",
6-
"email": "rlevasseur@google.com",
6+
"email": "richardlev@gmail.com",
77
"github": "rickeylev"
88
},
99
{
@@ -13,7 +13,8 @@
1313
}
1414
],
1515
"repository": [
16-
"github:bazelbuild/rules_python"
16+
"github:bazelbuild/rules_python",
17+
"github:bazel-contrib/rules_python"
1718
],
1819
"versions": [],
1920
"yanked_versions": {}

.bcr/metadata.template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"homepage": "https://github.com/bazelbuild/rules_python",
2+
"homepage": "https://github.com/bazel-contrib/rules_python",
33
"maintainers": [
44
{
55
"name": "Richard Levasseur",
6-
"email": "rlevasseur@google.com",
6+
"email": "richardlev@gmail.com",
77
"github": "rickeylev"
88
},
99
{

.github/workflows/create_archive_and_notes.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ http_archive(
7272
name = "rules_python",
7373
sha256 = "${SHA}",
7474
strip_prefix = "${PREFIX}",
75-
url = "https://github.com/bazelbuild/rules_python/releases/download/${TAG}/rules_python-${TAG}.tar.gz",
75+
url = "https://github.com/bazel-contrib/rules_python/releases/download/${TAG}/rules_python-${TAG}.tar.gz",
7676
)
7777
7878
load("@rules_python//python:repositories.bzl", "py_repositories")
@@ -90,7 +90,7 @@ http_archive(
9090
name = "rules_python_gazelle_plugin",
9191
sha256 = "${SHA}",
9292
strip_prefix = "${PREFIX}/gazelle",
93-
url = "https://github.com/bazelbuild/rules_python/releases/download/${TAG}/rules_python-${TAG}.tar.gz",
93+
url = "https://github.com/bazel-contrib/rules_python/releases/download/${TAG}/rules_python-${TAG}.tar.gz",
9494
)
9595
9696
# To compile the rules_python gazelle extension from source,

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
# This special value tells pypi that the user identity is supplied within the token
3434
TWINE_USERNAME: __token__
3535
# Note, the PYPI_API_TOKEN is for the rules-python pypi user, added by @rickylev on
36-
# https://github.com/bazelbuild/rules_python/settings/secrets/actions
36+
# https://github.com/bazel-contrib/rules_python/settings/secrets/actions
3737
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
3838
run: bazel run --stamp --embed_label=${{ github.ref_name }} //python/runfiles:wheel.publish
3939
- name: Release

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:

0 commit comments

Comments
 (0)