Skip to content

Publish [email protected] #4795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions modules/gazelle_cc/0.1.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""Bazel Gazelle extension for rules_cc"""

module(
name = "gazelle_cc",
version = "0.1.0",
)

bazel_dep(name = "rules_go", version = "0.53.0")
bazel_dep(name = "gazelle", version = "0.42.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")

go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(version = "1.24.0")
17 changes: 17 additions & 0 deletions modules/gazelle_cc/0.1.0/attestations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"mediaType": "application/vnd.build.bazel.registry.attestation+json;version=1.0.0",
"attestations": {
"source.json": {
"url": "https://github.com/EngFlow/gazelle_cc/releases/download/v0.1.0/source.json.intoto.jsonl",
"integrity": "sha256-7DXjxjKe43gTaqInWkklLUsprE862ssq/WLIrhzBQpo="
},
"MODULE.bazel": {
"url": "https://github.com/EngFlow/gazelle_cc/releases/download/v0.1.0/MODULE.bazel.intoto.jsonl",
"integrity": "sha256-UYjNj69YiBInS/1jQwrQTRPkH/Y1RJG62LEYozr0hz4="
},
"gazelle_cc-v0.1.0.tar.gz": {
"url": "https://github.com/EngFlow/gazelle_cc/releases/download/v0.1.0/gazelle_cc-v0.1.0.tar.gz.intoto.jsonl",
"integrity": "sha256-aUVoA4PIkgcm6w0Qd22SdjBcoatfmsymWWbnVmLfQUI="
}
}
}
13 changes: 13 additions & 0 deletions modules/gazelle_cc/0.1.0/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,8 +1,9 @@
"""Bazel Gazelle extension for rules_cc"""

module(
name = "gazelle_cc",
+ version = "0.1.0",
)

bazel_dep(name = "rules_go", version = "0.53.0")
bazel_dep(name = "gazelle", version = "0.42.0")
17 changes: 17 additions & 0 deletions modules/gazelle_cc/0.1.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
bcr_test_module:
module_path: "example/bzlmod"
matrix:
platform: ["debian10", "macos", "ubuntu2004"]
bazel: [7.x, 8.x, rolling, last_green]
tasks:
run_tests:
name: "Build and test the example module"
platform: ${{ platform }}
bazel: ${{ bazel }}
shell_commands:
# Generate the BUILD files for the test module using Gazelle
- bazel run //:gazelle
build_targets:
- //...
test_targets:
- //...
9 changes: 9 additions & 0 deletions modules/gazelle_cc/0.1.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-jpkORUsGxSnjgyOeBpKh8XsAPj56Wg+WfuX2rrQAEFo=",
"strip_prefix": "gazelle_cc-0.1.0",
"url": "https://github.com/EngFlow/gazelle_cc/releases/download/v0.1.0/gazelle_cc-v0.1.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-ud9nDvTfWF3NxuP/3SXNJ/m/MFdX5Iw0MtpYbS8olm8="
},
"patch_strip": 1
}
24 changes: 24 additions & 0 deletions modules/gazelle_cc/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"homepage": "https://github.com/EngFlow/gazelle_cc",
"maintainers": [
{
"name": "Jay Conrod",
"email": "[email protected]",
"github": "jayconrod",
"github_user_id": 164791
},
{
"name": "Wojciech Mazur",
"email": "[email protected]",
"github": "WojciechMazur",
"github_user_id": 19353690
}
],
"repository": [
"github:EngFlow/gazelle_cc"
],
"versions": [
"0.1.0"
],
"yanked_versions": {}
}
Loading