-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
feat: implement chr, ord, and hex #425
Conversation
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.
🌮
Another nit: how did we decide on |
we haven't actually. open to suggestions. |
to get this going; assuming Alex and I agree on |
yes please, let's go with that. Unless you can find some other starlark implementation that already has a name for a module that provides these (but I expect there isn't since they're proposed as builtin keywords) |
true. renamed to strings |
89ee190
to
eccc940
Compare
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [aspect_bazel_lib](https://togithub.com/aspect-build/bazel-lib) | http_archive | minor | `v1.31.2` -> `v1.32.1` | | [aspect_bazel_lib](https://togithub.com/aspect-build/bazel-lib) | http_archive | patch | `v1.32.0` -> `v1.32.1` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>aspect-build/bazel-lib</summary> ### [`v1.32.1`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.32.1) [Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.32.0...v1.32.1) #### Using Bzlmod with Bazel 6: 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_bazel_lib", version = "1.32.1") ``` > Read more about bzlmod: <https://blog.aspect.dev/bzlmod> #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_bazel_lib", sha256 = "e3151d87910f69cf1fc88755392d7c878034a69d6499b287bcfc00b1cf9bb415", strip_prefix = "bazel-lib-1.32.1", url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.32.1/bazel-lib-v1.32.1.tar.gz", ) load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") aspect_bazel_lib_dependencies() ``` Optional toolchains: ```starlark ### Register the following toolchain to use jq load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains") register_jq_toolchains() ### Register the following toolchain to use yq load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains") register_yq_toolchains() ``` #### What's Changed - chore(deps): update dependency bazel to v6.2.0 by [@​renovate](https://togithub.com/renovate) in [aspect-build/bazel-lib#433 - fix(stardoc): stop skipping stardoc w bzlmod by [@​alexeagle](https://togithub.com/alexeagle) in [aspect-build/bazel-lib#440 **Full Changelog**: aspect-build/bazel-lib@v1.32.0...v1.32.1 ### [`v1.32.0`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.32.0) [Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.31.3...v1.32.0) #### Using Bzlmod with Bazel 6: 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_bazel_lib", version = "1.32.0") ``` > Read more about bzlmod: <https://blog.aspect.dev/bzlmod> #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_bazel_lib", sha256 = "f1c181b910f821072f38ee45bb87db6b56275458c7f832c54c54ba6334119eca", strip_prefix = "bazel-lib-1.32.0", url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.32.0/bazel-lib-v1.32.0.tar.gz", ) load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") aspect_bazel_lib_dependencies() ``` Optional toolchains: ```starlark ### Register the following toolchain to use jq load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains") register_jq_toolchains() ### Register the following toolchain to use yq load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains") register_yq_toolchains() ``` #### What's Changed - chore: add trailing newline by [@​thesayyn](https://togithub.com/thesayyn) in [aspect-build/bazel-lib#439 **Full Changelog**: aspect-build/bazel-lib@v1.31.4...v1.32.0 ### [`v1.31.3`](https://togithub.com/aspect-build/bazel-lib/releases/tag/v1.31.3) [Compare Source](https://togithub.com/aspect-build/bazel-lib/compare/v1.31.2...v1.31.3) #### Using Bzlmod with Bazel 6: 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "aspect_bazel_lib", version = "1.31.3") ``` > Read more about bzlmod: <https://blog.aspect.dev/bzlmod> #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_bazel_lib", sha256 = "25d607705a79ae9e8c4be8c770604646799c3e37df047be75a6f2f284d44716d", strip_prefix = "bazel-lib-1.31.3", url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.31.3/bazel-lib-v1.31.3.tar.gz", ) load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") aspect_bazel_lib_dependencies() ``` Optional toolchains: ```starlark ### Register the following toolchain to use jq load("@​aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains") register_jq_toolchains() ### Register the following toolchain to use yq load("@​aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains") register_yq_toolchains() ``` #### What's Changed - chore: update workflows config by [@​kormide](https://togithub.com/kormide) in [aspect-build/bazel-lib#429 - feat: implement chr, ord, and hex by [@​thesayyn](https://togithub.com/thesayyn) in [aspect-build/bazel-lib#425 - feat: introduce expand_template tool by [@​thesayyn](https://togithub.com/thesayyn) in [aspect-build/bazel-lib#436 - fix: remove missing toolchain load by [@​thesayyn](https://togithub.com/thesayyn) in [aspect-build/bazel-lib#437 **Full Changelog**: aspect-build/bazel-lib@v1.31.2...v1.31.3 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/aspect-build/silo). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDUuMiIsInVwZGF0ZWRJblZlciI6IjM1LjEwNS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Type of change
New feature or functionality (change which adds functionality) [FR]: ord, chr, hex #418
Relevant documentation has been updated
Test plan