Skip to content

Commit

Permalink
chore(rules_python_gazelle_plugin): add latest releases (#1477)
Browse files Browse the repository at this point in the history
* chore(rules_python_gazelle_plugin): add latest releases

* fixup

* update the integrity again

* add bazel version
  • Loading branch information
aignas committed Feb 13, 2024
1 parent 46a8183 commit c1dc567
Show file tree
Hide file tree
Showing 9 changed files with 149 additions and 5 deletions.
21 changes: 21 additions & 0 deletions modules/rules_python_gazelle_plugin/0.30.0/MODULE.bazel
@@ -0,0 +1,21 @@
module(
name = "rules_python_gazelle_plugin",
version = "0.30.0",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "rules_python", version = "0.18.0")
bazel_dep(name = "rules_go", version = "0.41.0", repo_name = "io_bazel_rules_go")
bazel_dep(name = "gazelle", version = "0.33.0", repo_name = "bazel_gazelle")

go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
use_repo(
go_deps,
"com_github_bazelbuild_buildtools",
"com_github_bmatcuk_doublestar",
"com_github_emirpasic_gods",
"com_github_ghodss_yaml",
"in_gopkg_yaml_v2",
)
@@ -0,0 +1,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_python_gazelle_plugin",
- version = "0.0.0",
+ version = "0.30.0",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.5.0")
29 changes: 29 additions & 0 deletions modules/rules_python_gazelle_plugin/0.30.0/presubmit.yml
@@ -0,0 +1,29 @@
# Copyright 2023 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

bcr_test_module:
module_path: "../examples/bzlmod_build_file_generation"
matrix:
platform: ["debian11", "macos", "ubuntu2004", "windows"]
bazel: [6.x, 7.x]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- "//..."
- ":modules_map"
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/rules_python_gazelle_plugin/0.30.0/source.json
@@ -0,0 +1,9 @@
{
"integrity": "sha256-O4tM3Jkbyd74gz0RjkyFDxt0mLPWXVaY7qksNSi4zyw=",
"strip_prefix": "rules_python-0.30.0/gazelle",
"url": "https://github.com/bazelbuild/rules_python/releases/download/0.30.0/rules_python-0.30.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-uOz9S71NSc8+z/I1GcoepF7BmkDFrCzKicZEuau9NIE="
},
"patch_strip": 1
}
21 changes: 21 additions & 0 deletions modules/rules_python_gazelle_plugin/0.31.0/MODULE.bazel
@@ -0,0 +1,21 @@
module(
name = "rules_python_gazelle_plugin",
version = "0.31.0",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "rules_python", version = "0.18.0")
bazel_dep(name = "rules_go", version = "0.41.0", repo_name = "io_bazel_rules_go")
bazel_dep(name = "gazelle", version = "0.33.0", repo_name = "bazel_gazelle")

go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
use_repo(
go_deps,
"com_github_bazelbuild_buildtools",
"com_github_bmatcuk_doublestar",
"com_github_emirpasic_gods",
"com_github_ghodss_yaml",
"in_gopkg_yaml_v2",
)
@@ -0,0 +1,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_python_gazelle_plugin",
- version = "0.0.0",
+ version = "0.31.0",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.5.0")
29 changes: 29 additions & 0 deletions modules/rules_python_gazelle_plugin/0.31.0/presubmit.yml
@@ -0,0 +1,29 @@
# Copyright 2023 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

bcr_test_module:
module_path: "../examples/bzlmod_build_file_generation"
matrix:
platform: ["debian11", "macos", "ubuntu2004", "windows"]
bazel: [6.x, 7.x]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- "//..."
- ":modules_map"
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/rules_python_gazelle_plugin/0.31.0/source.json
@@ -0,0 +1,9 @@
{
"integrity": "sha256-xovcT77CXeW1STuIGc/Id8TqKZwNyxXCRMWgAgjN4xE=",
"strip_prefix": "rules_python-0.31.0/gazelle",
"url": "https://github.com/bazelbuild/rules_python/releases/download/0.31.0/rules_python-0.31.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-lek54NydBI/txXMjO1DQ15VEYqw321ucjdUziPj3olU="
},
"patch_strip": 1
}
12 changes: 7 additions & 5 deletions modules/rules_python_gazelle_plugin/metadata.json
Expand Up @@ -2,14 +2,14 @@
"homepage": "https://github.com/bazelbuild/rules_python",
"maintainers": [
{
"name": "Richard Levasseur",
"email": "rlevasseur@google.com",
"github": "rickeylev"
"github": "rickeylev",
"name": "Richard Levasseur"
},
{
"name": "Thulio Ferraz Assis",
"email": "thulio@aspect.dev",
"github": "f0rmiga"
"github": "f0rmiga",
"name": "Thulio Ferraz Assis"
}
],
"repository": [
Expand All @@ -24,7 +24,9 @@
"0.26.0",
"0.27.0",
"0.27.1",
"0.29.0"
"0.29.0",
"0.30.0",
"0.31.0"
],
"yanked_versions": {}
}

0 comments on commit c1dc567

Please sign in to comment.