Skip to content

Commit 04266f7

Browse files
committed
Update external dependencies
1 parent c7110f5 commit 04266f7

File tree

2 files changed

+29
-15
lines changed

2 files changed

+29
-15
lines changed

README_DOCS.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,21 @@
1010
codeowners(<a href="#codeowners-name">name</a>, <a href="#codeowners-pattern">pattern</a>, <a href="#codeowners-patterns">patterns</a>, <a href="#codeowners-team">team</a>, <a href="#codeowners-teams">teams</a>)
1111
</pre>
1212

13-
1413
A codeowners-rule represents one or many rows in a CODEOWNERS file.
1514

1615
`team` and `teams` are mutually exclusive.
1716
`pattern` and `patterns` are mutually exclusive.
1817

19-
2018
**ATTRIBUTES**
2119

2220

2321
| Name | Description | Type | Mandatory | Default |
2422
| :------------- | :------------- | :------------- | :------------- | :------------- |
2523
| <a id="codeowners-name"></a>name | A unique name for this target. | <a href="https://bazel.build/concepts/labels#target-names">Name</a> | required | |
26-
| <a id="codeowners-pattern"></a>pattern | A pattern of files (eg: '*.bzl') that the team(s) should get ownership of. In the generated CODEOWNERS, the path to this target will be prepended to the pattern. | String | optional | "" |
27-
| <a id="codeowners-patterns"></a>patterns | A list of patterns, one row will be printed per pattern. See docs of <code>pattern</code> for more info. | List of strings | optional | [] |
28-
| <a id="codeowners-team"></a>team | The GitHub team that should get ownership of the matching files. One of team and teams must be set. | String | optional | "" |
29-
| <a id="codeowners-teams"></a>teams | A list of the GitHub teams that should get ownership of the matching files. One of team and teams must be set. | List of strings | optional | [] |
24+
| <a id="codeowners-pattern"></a>pattern | A pattern of files (eg: '*.bzl') that the team(s) should get ownership of. In the generated CODEOWNERS, the path to this target will be prepended to the pattern. | String | optional | `""` |
25+
| <a id="codeowners-patterns"></a>patterns | A list of patterns, one row will be printed per pattern. See docs of `pattern` for more info. | List of strings | optional | `[]` |
26+
| <a id="codeowners-team"></a>team | The GitHub team that should get ownership of the matching files. One of team and teams must be set. | String | optional | `""` |
27+
| <a id="codeowners-teams"></a>teams | A list of the GitHub teams that should get ownership of the matching files. One of team and teams must be set. | List of strings | optional | `[]` |
3028

3129

3230
<a id="generate_codeowners"></a>
@@ -37,17 +35,15 @@ A codeowners-rule represents one or many rows in a CODEOWNERS file.
3735
generate_codeowners(<a href="#generate_codeowners-name">name</a>, <a href="#generate_codeowners-generated_comment">generated_comment</a>, <a href="#generate_codeowners-owners">owners</a>)
3836
</pre>
3937

40-
4138
Creates a GitHub-compatible CODEOWNERS file based on the `owners`.
4239

43-
4440
**ATTRIBUTES**
4541

4642

4743
| Name | Description | Type | Mandatory | Default |
4844
| :------------- | :------------- | :------------- | :------------- | :------------- |
4945
| <a id="generate_codeowners-name"></a>name | A unique name for this target. | <a href="https://bazel.build/concepts/labels#target-names">Name</a> | required | |
50-
| <a id="generate_codeowners-generated_comment"></a>generated_comment | A comment to insert at the top of the generated file | String | optional | "# This file was generated by rules_codeowners / Bazel. Don't edit it directly" |
46+
| <a id="generate_codeowners-generated_comment"></a>generated_comment | A comment to insert at the top of the generated file | String | optional | `"# This file was generated by rules_codeowners / Bazel. Don't edit it directly"` |
5147
| <a id="generate_codeowners-owners"></a>owners | A list of codeowners and generate_codeowners. One generate_codeowners can include another generate_codeowners to achieve nested rules. | <a href="https://bazel.build/concepts/labels">List of labels</a> | required | |
5248

5349

WORKSPACE

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,42 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
55

66
http_archive(
77
name = "bazel_skylib",
8+
sha256 = "cd55a062e763b9349921f0f5db8c3933288dc8ba4f76dd9416aac68acee3cb94",
89
urls = [
9-
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz",
10-
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz",
10+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
11+
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.5.0/bazel-skylib-1.5.0.tar.gz",
1112
],
12-
sha256 = "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728",
1313
)
14+
1415
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
1516

1617
bazel_skylib_workspace()
1718

1819
http_archive(
1920
name = "io_bazel_stardoc",
20-
sha256 = "05fb57bb4ad68a360470420a3b6f5317e4f722839abc5b17ec4ef8ed465aaa47",
21+
sha256 = "62bd2e60216b7a6fec3ac79341aa201e0956477e7c8f6ccc286f279ad1d96432",
2122
urls = [
22-
"https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.2/stardoc-0.5.2.tar.gz",
23-
"https://github.com/bazelbuild/stardoc/releases/download/0.5.2/stardoc-0.5.2.tar.gz",
23+
"https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz",
24+
"https://github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz",
2425
],
2526
)
2627

2728
load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
29+
2830
stardoc_repositories()
31+
32+
load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps")
33+
34+
rules_jvm_external_deps()
35+
36+
load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup")
37+
38+
rules_jvm_external_setup()
39+
40+
load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps")
41+
42+
stardoc_external_deps()
43+
44+
load("@stardoc_maven//:defs.bzl", stardoc_pinned_maven_install = "pinned_maven_install")
45+
46+
stardoc_pinned_maven_install()

0 commit comments

Comments
 (0)