From 00562986d1044ae7e92b8763f98c988749142ace Mon Sep 17 00:00:00 2001 From: "Lukacs T. Berki" Date: Fri, 7 Jun 2024 11:45:17 +0000 Subject: [PATCH 1/2] Update Stardoc to 0.6.2. In doing so, make tests pass with `--experimental_sibling_repository_layout`. --- MODULE.bazel | 2 +- WORKSPACE.bazel | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index abad350..d5d2672 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -14,7 +14,7 @@ bazel_dep(name = "rules_license", version = "0.0.4") # work with bzlmod enabled. This defines the repo so load() works. bazel_dep( name = "stardoc", - version = "0.5.6", + version = "0.6.2", dev_dependency = True, repo_name = "io_bazel_stardoc", ) diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 4f36512..49dbbc6 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -15,13 +15,22 @@ maybe( http_archive( name = "io_bazel_stardoc", - sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb", + sha256 = "62bd2e60216b7a6fec3ac79341aa201e0956477e7c8f6ccc286f279ad1d96432", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz", - "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz", + "https://github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz", ], ) +load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") +stardoc_repositories() + +load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps") +stardoc_external_deps() + +load("@stardoc_maven//:defs.bzl", stardoc_pinned_maven_install = "pinned_maven_install") +stardoc_pinned_maven_install() + http_archive( name = "rules_license", sha256 = "6157e1e68378532d0241ecd15d3c45f6e5cfd98fc10846045509fb2a7cc9e381", @@ -31,9 +40,6 @@ http_archive( ], ) -load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") - -stardoc_repositories() http_archive( name = "rules_python", From c78f47179dbeb6ae088c5aef68e5a1566750e1cc Mon Sep 17 00:00:00 2001 From: "Lukacs T. Berki" Date: Fri, 7 Jun 2024 12:19:01 +0000 Subject: [PATCH 2/2] run buildifier --- WORKSPACE.bazel | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 49dbbc6..963155e 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -23,12 +23,15 @@ http_archive( ) load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") + stardoc_repositories() load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps") + stardoc_external_deps() load("@stardoc_maven//:defs.bzl", stardoc_pinned_maven_install = "pinned_maven_install") + stardoc_pinned_maven_install() http_archive( @@ -40,7 +43,6 @@ http_archive( ], ) - http_archive( name = "rules_python", sha256 = "a644da969b6824cc87f8fe7b18101a8a6c57da5db39caa6566ec6109f37d2141",