-
Notifications
You must be signed in to change notification settings - Fork 330
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
cgrindel/bazel-starlib@v0.14.3 #498
Closed
publish-to-bcr-bot
wants to merge
1
commit into
bazelbuild:main
from
cgrindel:cgrindel/bazel-starlib@v0.14.3-82c3d4ba
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
module( | ||
name = "cgrindel_bazel_starlib", | ||
version = "0.14.3", | ||
) | ||
|
||
bazel_dep( | ||
name = "bazel_skylib_gazelle_plugin", | ||
version = "1.4.1", | ||
dev_dependency = True, | ||
) | ||
|
||
bazel_dep( | ||
name = "rules_go", | ||
version = "0.38.1", | ||
repo_name = "io_bazel_rules_go", | ||
) | ||
bazel_dep( | ||
name = "gazelle", | ||
version = "0.29.0", | ||
repo_name = "bazel_gazelle", | ||
) | ||
bazel_dep(name = "bazel_skylib", version = "1.4.1") | ||
bazel_dep( | ||
name = "stardoc", | ||
version = "0.5.3", | ||
repo_name = "io_bazel_stardoc", | ||
) | ||
bazel_dep( | ||
name = "buildifier_prebuilt", | ||
version = "6.0.0.1", | ||
) | ||
bazel_dep(name = "platforms", version = "0.0.6") | ||
|
||
go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk") | ||
go_sdk.download(name = "go_sdk") | ||
use_repo(go_sdk, "go_sdk") | ||
|
||
go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps") | ||
|
||
# NOTE: We are not loading the Go modules from go.mod, because we are doing | ||
# something a little weird in that we are building an executable from another | ||
# repository. The `go mod tidy` operation does not fill in the indirect deps. | ||
# Instead, we declare the same repos listed in `go_deps.bzl`. | ||
# go_deps.from_file(go_mod = "//:go.mod") | ||
go_deps.module( | ||
path = "github.com/alecthomas/assert", | ||
sum = "h1:smF2tmSOzy2Mm+0dGI2AIUHY+w0BUc+4tn40djz7+6U=", | ||
version = "v0.0.0-20170929043011-405dbfeb8e38", | ||
) | ||
go_deps.module( | ||
path = "github.com/alecthomas/colour", | ||
sum = "h1:nOE9rJm6dsZ66RGWYSFrXw461ZIt9A6+nHgL7FRrDUk=", | ||
version = "v0.1.0", | ||
) | ||
go_deps.module( | ||
path = "github.com/alecthomas/repr", | ||
sum = "h1:8Uy0oSf5co/NZXje7U1z8Mpep++QJOldL2hs/sBQf48=", | ||
version = "v0.0.0-20210801044451-80ca428c5142", | ||
) | ||
go_deps.module( | ||
path = "github.com/alecthomas/template", | ||
sum = "h1:cAKDfWh5VpdgMhJosfJnn5/FoN2SRZ4p7fJNX58YPaU=", | ||
version = "v0.0.0-20160405071501-a0175ee3bccc", | ||
) | ||
go_deps.module( | ||
path = "github.com/alecthomas/units", | ||
sum = "h1:qet1QNfXsQxTZqLG4oE62mJzwPIB8+Tee4RNCL9ulrY=", | ||
version = "v0.0.0-20151022065526-2efee857e7cf", | ||
) | ||
go_deps.module( | ||
path = "github.com/davecgh/go-spew", | ||
sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=", | ||
version = "v1.1.1", | ||
) | ||
go_deps.module( | ||
path = "github.com/ekalinin/github-markdown-toc.go", | ||
sum = "h1:6jRFt5qg61XfXZbP3SDaeTX+1OC1EgbHvRceYDmPAUE=", | ||
version = "v1.2.1", | ||
) | ||
go_deps.module( | ||
path = "github.com/mattn/go-isatty", | ||
sum = "h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y=", | ||
version = "v0.0.14", | ||
) | ||
go_deps.module( | ||
path = "github.com/sergi/go-diff", | ||
sum = "h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=", | ||
version = "v1.2.0", | ||
) | ||
go_deps.module( | ||
path = "github.com/stretchr/testify", | ||
sum = "h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=", | ||
version = "v1.7.0", | ||
) | ||
go_deps.module( | ||
path = "gopkg.in/alecthomas/kingpin.v2", | ||
sum = "h1:CC8tJ/xljioKrK6ii3IeWVXU4Tw7VB+LbjZBJaBxN50=", | ||
version = "v2.2.4", | ||
) | ||
|
||
# Declare all of the go modules that we are going to use to build the ekalinin | ||
# github markdown toc. | ||
use_repo( | ||
go_deps, | ||
"com_github_alecthomas_assert", | ||
"com_github_alecthomas_colour", | ||
"com_github_alecthomas_repr", | ||
"com_github_alecthomas_template", | ||
"com_github_alecthomas_units", | ||
"com_github_davecgh_go_spew", | ||
"com_github_ekalinin_github_markdown_toc_go", | ||
"com_github_mattn_go_isatty", | ||
"com_github_sergi_go_diff", | ||
"com_github_stretchr_testify", | ||
"in_gopkg_alecthomas_kingpin_v2", | ||
) |
13 changes: 13 additions & 0 deletions
13
modules/cgrindel_bazel_starlib/0.14.3/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Index: MODULE.bazel | ||
=================================================================== | ||
--- MODULE.bazel | ||
+++ MODULE.bazel | ||
@@ -1,7 +1,7 @@ | ||
module( | ||
name = "cgrindel_bazel_starlib", | ||
- version = "0.0.0", | ||
+ version = "0.14.3", | ||
) | ||
|
||
bazel_dep( | ||
name = "bazel_skylib_gazelle_plugin", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
bcr_test_module: | ||
module_path: "examples/bzlmod_e2e" | ||
matrix: | ||
platform: ["macos", "ubuntu2004"] | ||
tasks: | ||
run_tests: | ||
name: "Run test module" | ||
platform: ${{ platform }} | ||
test_targets: | ||
- "//..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"integrity": "sha256-C3ipbv9NAFkyFkOnjlTxGrnQ4xmZQpnA8rLr1TJcP0g=", | ||
"strip_prefix": "", | ||
"url": "https://github.com/cgrindel/bazel-starlib/releases/download/v0.14.3/bazel-starlib.v0.14.3.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-zpz66EOWxF4YRMsTFPoj3zGMnIK2/EGqDWclteXF8sE=" | ||
}, | ||
"patch_strip": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"homepage": "https://github.com/cgrindel/bazel-starlib", | ||
"maintainers": [ | ||
{ | ||
"email": "chuck.grindel@gmail.com", | ||
"github": "cgrindel", | ||
"name": "Chuck Grindel" | ||
} | ||
], | ||
"repository": [ | ||
"github:cgrindel/bazel-starlib" | ||
], | ||
"versions": [ | ||
"0.14.3" | ||
], | ||
"yanked_versions": {} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The next version of rules_go will disallow specifying SDK names from non-root modules. rules_go always provides the
go_default_sdk
repo via this extension which you can use without adding a tag. Sorry for the inconvenience, we are still trying to get the API just right.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. Tracking the issue in cgrindel/bazel-starlib#248