Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • bazel/ape
1 result
Show changes
Commits on Source (6)
# `bzlmod` pre-release registries
common --registry https://bcr.bazel.build
common --registry=https://gitlab.arm.com/bazel/toolchain_utils/-/releases/v1.0.0-beta.18/downloads
# Build cache
build --experimental_guard_against_concurrent_changes
......
7.1.2
7.4.0
......@@ -6,7 +6,6 @@ load("//:binaries.bzl", "BINARIES")
actual = "//ape/toolchain/info:{}".format(binary),
deprecation = "The `@ape//:{0}` target is deprecated in favour of the more explicit `@ape//toolchain/info:{0}` and will be removed in a subsequent version.".format(binary),
tags = ["manual"],
visibility = ["//visibility:public"],
)
for binary in BINARIES
]
# [1.0.0-beta.15](https://git.gitlab.arm.com/bazel/ape/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2024-11-20)
### Bug Fixes
- make `@ape//:*` targets private ([1f9ebb2](https://git.gitlab.arm.com/bazel/ape/commit/1f9ebb2549b67f08542e9f2b5f59349a8d000fae))
- switch `toolchain_local_select#map` to lazily fetch labels ([292d222](https://git.gitlab.arm.com/bazel/ape/commit/292d222b42ea54837ff049b9bce1146a96197515))
# [1.0.0-beta.14](https://git.gitlab.arm.com/bazel/ape/compare/v1.0.0-beta.13...v1.0.0-beta.14) (2024-10-30)
### Bug Fixes
......
......@@ -11,6 +11,13 @@ $ (cd e2e; bazelisk test //...)
[bazelisk-install]: https://github.com/bazelbuild/bazelisk?tab=readme-ov-file#installation
# Workflow
- Follow the [contributions guide] to be granted forking permissions.
- [Fork] the project
- Implement the change
- [Create merge request] from fork
# Release
`semantic-release` performs automatic releases of the project.
......@@ -20,24 +27,7 @@ Release channels for `alpha`, `beta` and `stable` releases are used.
The [upstream configuration usage guide][semrel-release-channels-usage] provides information on how to perform a
release.
[semrel-release-channels-usage]:
https://gitlab.arm.com/semantic-release/config-release-channels/-/blob/main/README.md?ref_type=heads#usage
# Upgrading Binaries
The following script can be ran in a POSIX shell:
```console
# Clear out all integrities
sed -i 's|"\([a-z0-9-]\+\)": "sha256.\+",|"\1": "",|g' MODULE.bazel
# Run a fetch and update integrity
for BINARY in $(rg --no-line-number '^ +"([a-z0-9]+)": "",' -or '$1' MODULE.bazel); do
INTEGRITY="$(bazelisk fetch @${BINARY}//:entrypoint 2>&1 | rg -o 'sha256-[^"]+')"
echo "${BINARY}: ${INTEGRITY}"
sed -i "s|\"${BINARY}\": \"\",|\"${BINARY}\": \"${INTEGRITY}\",|" MODULE.bazel
done
# Upload all binaries
for TARGET in $(bazelisk query 'upload:*' | tail -n +2); do
bazelisk run "${TARGET}"
done
```
[semrel-release-channels-usage]: https://gitlab.arm.com/semantic-release/config-release-channels/-/blob/main/README.md?ref_type=heads#usage
[contributions guide]: https://gitlab.arm.com/documentation/contributions#contributions
[Fork]: https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html#create-a-fork
[Create merge request]: https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html#merge-changes-back-upstream
module(
name = "ape",
version = "1.0.0-beta.14",
version = "1.0.0-beta.15",
bazel_compatibility = [
">=7.0.0",
],
......@@ -10,7 +10,7 @@ module(
bazel_dep(name = "rules_curl", version = "1.0.0-alpha.8", dev_dependency = True)
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.17")
bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.18")
bazel_dep(name = "download_utils", version = "1.0.0-beta.2")
download_archive = use_repo_rule("@download_utils//download/archive:defs.bzl", "download_archive")
......@@ -37,7 +37,7 @@ select = use_repo_rule("@toolchain_utils//toolchain/local/select:defs.bzl", "too
select(
name = "zig",
map = {
"arm64-darwin": "@zig-0.11.0-arm64-darwin",
"@zig-0.11.0-arm64-darwin": "arm64-darwin",
},
)
......@@ -88,11 +88,11 @@ pe(name = "ape.pe")
select(
name = "launcher",
map = {
"arm64-linux": "@ape-arm64.elf",
"amd64-linux": "@ape-x86_64.elf",
"amd64-darwin": "@ape-x86_64.macho",
"arm64-darwin": "@ape-arm64.macho",
"windows": "@ape.pe",
"@ape-arm64.elf": "arm64-linux",
"@ape-x86_64.elf": "amd64-linux",
"@ape-x86_64.macho": "amd64-darwin",
"@ape-arm64.macho": "arm64-darwin",
"@ape.pe": "windows",
},
)
......
This diff is collapsed.
# `bzlmod` pre-release registries
common --registry https://bcr.bazel.build
common --registry=https://gitlab.arm.com/bazel/toolchain_utils/-/releases/v1.0.0-beta.18/downloads
# Build cache
build --experimental_guard_against_concurrent_changes
......
7.1.2
7.4.0
......@@ -7,7 +7,7 @@ module(
bazel_dep(name = "bazel_skylib", version = "1.5.0", dev_dependency = True)
bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.9")
bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.18")
bazel_dep(name = "ape", version = "0.0.0")
local_path_override(
module_name = "ape",
......
This diff is collapsed.