Skip to content

Commit b2fb38b

Browse files
authored
Merge pull request #2025 from tweag/combined-prs-branch
Combined PRs
2 parents b59dc1e + 0efa8e8 commit b2fb38b

File tree

11 files changed

+35
-22
lines changed

11 files changed

+35
-22
lines changed

MODULE.bazel

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bazel_dep(
1717
)
1818
bazel_dep(
1919
name = "protobuf",
20-
version = "3.19.6",
20+
version = "21.7",
2121
repo_name = "com_google_protobuf",
2222
)
2323
bazel_dep(
@@ -34,7 +34,7 @@ bazel_dep(
3434
)
3535
bazel_dep(
3636
name = "bazel_skylib",
37-
version = "1.4.2",
37+
version = "1.5.0",
3838
)
3939
bazel_dep(
4040
name = "rules_proto",
@@ -144,7 +144,7 @@ bazel_dep(
144144
)
145145
bazel_dep(
146146
name = "stardoc",
147-
version = "0.5.4",
147+
version = "0.6.2",
148148
dev_dependency = True,
149149
repo_name = "io_bazel_stardoc",
150150
)

docs/templates/metadata/aspect.vm

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
- name: ${aspectName}
22
type: aspect
3-
summary: ${aspectInfo.getDocString().split("\n").get(0)}
3+
summary: ${aspectInfo.getDocString().replaceFirst("(?s)
4+
.*", "")}

docs/templates/metadata/func.vm

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
- name: ${funcInfo.functionName}
22
type: function
3-
summary: ${funcInfo.docString.split("\n").get(0)}
3+
summary: ${funcInfo.docString.replaceFirst("(?s)
4+
.*", "")}

docs/templates/metadata/provider.vm

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
- name: ${providerName}
22
type: provider
3-
summary: ${providerInfo.docString.split("\n").get(0)}
3+
summary: ${providerInfo.docString.replaceFirst("(?s)
4+
.*", "")}

docs/templates/metadata/rule.vm

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
- name: ${ruleName}
22
type: rule
3-
summary: ${ruleInfo.docString.split("\n").get(0)}
3+
summary: ${ruleInfo.docString.replaceFirst("(?s)
4+
.*", "")}

examples/MODULE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ bazel_dep(
3535
)
3636
bazel_dep(
3737
name = "bazel_skylib",
38-
version = "1.4.2",
38+
version = "1.5.0",
3939
)
4040

4141
non_module_deps = use_extension(":non_module_deps.bzl", "non_module_deps")

haskell/repositories.bzl

+15-6
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ def rules_haskell_dependencies():
4242
http_archive,
4343
name = "bazel_skylib",
4444
urls = [
45-
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
46-
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz",
45+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
46+
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
4747
],
48-
sha256 = "66ffd9315665bfaafc96b52278f57c7e2dd09f5ede279ea6d39b2be471e7e3aa",
48+
sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94",
4949
)
5050

5151
maybe(
@@ -117,10 +117,10 @@ def rules_haskell_dependencies():
117117
maybe(
118118
http_archive,
119119
name = "com_google_protobuf",
120-
sha256 = "87407cd28e7a9c95d9f61a098a53cf031109d451a7763e7dd1253abf8b4df422",
121-
strip_prefix = "protobuf-3.19.1",
120+
sha256 = "75be42bd736f4df6d702a0e4e4d30de9ee40eac024c4b845d17ae4cc831fe4ae",
121+
strip_prefix = "protobuf-21.7",
122122
urls = [
123-
"https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.19.1.tar.gz",
123+
"https://github.com/protocolbuffers/protobuf/archive/refs/tags/v21.7.tar.gz",
124124
],
125125
)
126126

@@ -153,6 +153,15 @@ def rules_haskell_dependencies():
153153
strip_prefix = "zlib-1.3",
154154
urls = ["https://github.com/madler/zlib/archive/v1.3.tar.gz"],
155155
)
156+
maybe(
157+
http_archive,
158+
name = "rules_pkg",
159+
urls = [
160+
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.1/rules_pkg-0.7.1.tar.gz",
161+
"https://github.com/bazelbuild/rules_pkg/releases/download/0.7.1/rules_pkg-0.7.1.tar.gz",
162+
],
163+
sha256 = "451e08a4d78988c06fa3f9306ec813b836b1d076d0f055595444ba4ff22b867f",
164+
)
156165

157166
# For --incompatible_disable_starlark_host_transitions support (default in bazel 7)
158167
# Temporarily overrides the rules_licence that comes with bazel to workaround

rules_haskell_nix/MODULE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ bazel_dep(
2323
name = "platforms",
2424
version = "0.0.8",
2525
)
26-
bazel_dep(name = "bazel_skylib", version = "1.4.2")
26+
bazel_dep(name = "bazel_skylib", version = "1.5.0")
2727

2828
bazel_dep(name = "rules_go", version = "0.41.0", dev_dependency = True, repo_name = "io_bazel_rules_go")
2929

rules_haskell_tests/MODULE.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ bazel_dep(
5757
)
5858
bazel_dep(
5959
name = "bazel_skylib",
60-
version = "1.4.2",
60+
version = "1.5.0",
6161
)
6262
bazel_dep(
6363
name = "rules_java",
@@ -73,7 +73,7 @@ bazel_dep(
7373
)
7474
bazel_dep(
7575
name = "aspect_bazel_lib",
76-
version = "1.36.0",
76+
version = "1.37.0",
7777
)
7878
bazel_dep(
7979
name = "rules_proto",

rules_haskell_tests/WORKSPACE

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2727
# For testing if bzlmod is enabled
2828
http_archive(
2929
name = "aspect_bazel_lib",
30-
sha256 = "cbf473d630ab67b36461d83b38fdc44e56f45b78d03c405e4958280211124d79",
31-
strip_prefix = "bazel-lib-1.36.0",
32-
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.36.0/bazel-lib-v1.36.0.tar.gz",
30+
sha256 = "ce259cbac2e94a6dff01aff9455dcc844c8af141503b02a09c2642695b7b873e",
31+
strip_prefix = "bazel-lib-1.37.0",
32+
url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.37.0/bazel-lib-v1.37.0.tar.gz",
3333
)
3434

3535
load("@os_info//:os_info.bzl", "is_nix_shell", "is_windows")

rules_haskell_tests/non_module_deps.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ def repositories(*, bzlmod):
3131
# module rules_bazel_integration_test requires bazel >= 6.1.0
3232
http_archive(
3333
name = "rules_bazel_integration_test",
34-
sha256 = "567ef30550a90c0dc22a9076743b2b2715b4d7148b4d573bdcc61aaa5d0177b3",
34+
sha256 = "6e65d497c68f5794349bfa004369e144063686ce1ebd0227717cd23285be45ef",
3535
urls = [
36-
"https://github.com/bazel-contrib/rules_bazel_integration_test/releases/download/v0.18.0/rules_bazel_integration_test.v0.18.0.tar.gz",
36+
"https://github.com/bazel-contrib/rules_bazel_integration_test/releases/download/v0.20.0/rules_bazel_integration_test.v0.20.0.tar.gz",
3737
],
3838
)
3939

0 commit comments

Comments
 (0)