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)
7.x
7.1.2
# [1.0.0-beta.7](https://git.gitlab.arm.com/bazel/ape/compare/v1.0.0-beta.6...v1.0.0-beta.7) (2024-05-22)
### Bug Fixes
- correct `ape-m1.c` upstream URL ([db0cb83](https://git.gitlab.arm.com/bazel/ape/commit/db0cb83293d1ef9df91882e71dfba8007dd2a7ad))
- rolled back `pigz` version ([6d098c8](https://git.gitlab.arm.com/bazel/ape/commit/6d098c8a6b80b86eda05c25996927e207c9878d8))
### Features
- add `chmod`/`cp`/`dd`/`echo`/`gzip`/`mkdir`/`mv`/`printf`/`rm`/`uname` ([b312d30](https://git.gitlab.arm.com/bazel/ape/commit/b312d30110dda67426e6db2e124a1c316340ec2b))
# [1.0.0-beta.6](https://git.gitlab.arm.com/bazel/ape/compare/v1.0.0-beta.5...v1.0.0-beta.6) (2024-05-07)
### Bug Fixes
......
module(
name = "ape",
version = "1.0.0-beta.6",
version = "1.0.0-beta.7",
bazel_compatibility = [
">=7.0.0",
],
......@@ -49,7 +49,7 @@ download_file(
output = "ape-m1.c",
urls = [
"https://gitlab.arm.com/api/v4/projects/bazel%2Fape/packages/generic/cosmos.zip/3.3.1/ape-m1.c",
"https://raw.githubusercontent.com/jart/cosmopolitan/3.3.3/ape/ape-m1.c",
"https://raw.githubusercontent.com/jart/cosmopolitan/3.3.1/ape/ape-m1.c",
],
)
......@@ -211,7 +211,7 @@ export = use_extension("@toolchain_utils//toolchain/export:defs.bzl", "toolchain
"paste": "sha256-d37G1PptmT8DvFYb0A51tHRAONW3k2xq4y8pFnbR/FA=",
"patch": "sha256-dUVoOS8qaaVAsTlHp5DnupNPB02ZBfVBYUNoFEQVfY4=",
"pathchk": "sha256-qjcLXvmgW3bbARJqpE5PF1LdaVrvnQZVsmBFgTM5/JY=",
"pigz": "sha256-pvWipO8MGunU157lNj5pkNwMwDYSUFjtx7nWoNxBDw8=",
# "pigz": "sha256-pvWipO8MGunU157lNj5pkNwMwDYSUFjtx7nWoNxBDw8=",
"pinky": "sha256-cCtYw56s7y1pYOCm/PNgp1Y+pgf8K0UjVVsikUIoJQE=",
"pledge": "sha256-eaFRVXB2hGp2o9lYNSP+bb+sxOQ04bqCU2mDEmSIRN0=",
"pr": "sha256-Cd292alJ/36s1BOyfPj+SDDCuMGsgduzsjHspANOguU=",
......@@ -286,3 +286,67 @@ export = use_extension("@toolchain_utils//toolchain/export:defs.bzl", "toolchain
"zstd": "sha256-UQRCbSiHGWmBr2qsbnsCGQjIyhZG2ilfx9Iyxv6KbzQ=",
}.items()
]
# Some upstream binaries have the `.ape` extension
[
(
download_file(
name = "cosmos-{}".format(binary),
executable = True,
integrity = integrity,
output = binary,
urls = [
"https://gitlab.arm.com/api/v4/projects/bazel%2Fape/packages/generic/cosmo.zip/3.3.1/{}".format(binary),
"https://cosmo.zip/pub/cosmos/v/3.3.1/bin/{}.ape".format(binary),
],
),
ape_entrypoint(
name = binary,
binary = "@cosmos-{}//:{}".format(binary, binary),
),
export.symlink(
name = "ape-{}".format(binary),
target = "@{}".format(binary),
),
)
for binary, integrity in {
"chmod": "sha256-wr8yeoXHPf1zaytyG67uZFGXXr2P/EQfBDX2BXSEzg8=",
"cp": "sha256-uGcAdLFNsJ2iRWGfWkNvDDy8tq8ZuILOxPSsYAbRRWQ=",
"dd": "sha256-YcnILuHRDjt0KO1eK92RWERJ/kINYz984lmfSZxubFU=",
"echo": "sha256-Fq/mSx5iToZAUnUol34WY2hpxCJQniM6ZiKtxAzfAMM=",
"gzip": "sha256-fLhh2zULCabpmmthArIDpQvaYKc3LPPSCct4+/6wBSw=",
"mkdir": "sha256-mt2EcyVG4+Pg7C0HXbGd5IIRtoZ+LEqX9c/kq8DcsQw=",
"mv": "sha256-jB7HYOKnprY6cyRiHpToKrGKW4cPID7gVUXWYi1tmlM=",
"printf": "sha256-lES1AJ1YXEsQN8At0yZvM5w0JGsJbfN8jGeb+n3i688=",
"rm": "sha256-pqJTHikQR3b1pSwEcvMaS4SVmHqqUP2k6jCeKSUtDI8=",
"uname": "sha256-C3SggIVtotuyaYo/xQchyv0p8cQnXlyRyVAfnnDA+QU=",
}.items()
]
# TODO: remove these when we upgrade to 3.3.1+
# `pigz` is here because `3.3.1` decompression fails
[
(
download_file(
name = "cosmos-{}".format(binary),
executable = True,
integrity = integrity,
output = binary,
urls = [
"https://gitlab.arm.com/api/v4/projects/bazel%2Fape/packages/generic/cosmo.zip/3.2.4/{}".format(binary),
"https://cosmo.zip/pub/cosmos/v/3.2.4/bin/{}".format(binary),
],
),
ape_entrypoint(
name = binary,
binary = "@cosmos-{}//:{}".format(binary, binary),
),
export.symlink(
name = "ape-{}".format(binary),
target = "@{}".format(binary),
),
)
for binary, integrity in {
"pigz": "sha256-KReMrcHfifpjgxeb/k4WNl6ZtgJwfDIf9mTbcEldR0w=",
}.items()
]
This diff is collapsed.
......@@ -42,6 +42,7 @@ alias(
"clang-format": ["--version"],
"cmp": ["--version"],
"comm": ["--version"],
"cp": ["--version"],
"csplit": ["--version"],
"ctags": ["--version"],
"curl": ["--version"],
......@@ -49,6 +50,7 @@ alias(
# "dash": ["-c", "exit"],
"datasette": ["--version"],
"date": ["--version"],
"dd": ["--version"],
"df": ["--version"],
"diff": ["--version"],
"diff3": ["--version"],
......@@ -56,6 +58,7 @@ alias(
"dircolors": ["--version"],
"dirname": ["--version"],
"du": ["--version"],
"echo": ["--version"],
# "emacs": ["--version"],
"emacsclient": ["--version"],
"env": ["--version"],
......@@ -70,6 +73,7 @@ alias(
# "greenbean": ["--help"],
"grep": ["--version"],
"groups": ["--version"],
"gzip": ["--version"],
"head": ["--version"],
"id": ["--version"],
"install": ["--version"],
......@@ -85,10 +89,12 @@ alias(
"lua": ["-v"],
"make": ["--version"],
"md5sum": ["--version"],
"mkdir": ["--version"],
"mkfifo": ["--version"],
"mknod": ["--version"],
"mktemp": ["--version"],
"mktemper": ["test-XXXXXXXXXXXXX"],
"mv": ["--version"],
"nano": ["--version"],
"nesemu1": ["--version"],
"nice": ["--version"],
......@@ -106,6 +112,7 @@ alias(
"pledge": ["--version"],
"pr": ["--version"],
"printenv": ["--version"],
"printf": ["--version"],
"printimage": ["-?"],
"ptx": ["--version"],
"pwd": ["--version"],
......@@ -114,6 +121,7 @@ alias(
"readlink": ["--version"],
"realpath": ["--version"],
# "redbean": ["--help"],
"rm": ["--version"],
"rmdir": ["--version"],
"rsync": ["--version"],
"runcon": ["--version"],
......@@ -152,6 +160,7 @@ alias(
"tsort": ["--version"],
"tty": ["--version"],
# "ttyinfo": ["--version"],
"uname": ["--version"],
# "unbourne": ["--version"],
"unexpand": ["--version"],
"uniq": ["--version"],
......
......@@ -14,12 +14,14 @@ BINARIES = (
"cat",
"chcon",
"chgrp",
"chmod",
"chown",
"chroot",
"cksum",
"clang-format",
"cmp",
"comm",
"cp",
"csplit",
"ctags",
"curl",
......@@ -27,6 +29,7 @@ BINARIES = (
"dash",
"datasette",
"date",
"dd",
"df",
"diff",
"diff3",
......@@ -34,6 +37,7 @@ BINARIES = (
"dircolors",
"dirname",
"du",
"echo",
"emacs",
"emacsclient",
"env",
......@@ -48,6 +52,7 @@ BINARIES = (
"greenbean",
"grep",
"groups",
"gzip",
"head",
"id",
"install",
......@@ -63,10 +68,12 @@ BINARIES = (
"lua",
"make",
"md5sum",
"mv",
"mkfifo",
"mknod",
"mktemp",
"mktemper",
"mkdir",
"nano",
"nesemu1",
"nice",
......@@ -84,6 +91,7 @@ BINARIES = (
"pledge",
"pr",
"printenv",
"printf",
"printimage",
"ptx",
"pwd",
......@@ -92,6 +100,7 @@ BINARIES = (
"readlink",
"realpath",
"redbean",
"rm",
"rmdir",
"rsync",
"runcon",
......@@ -130,6 +139,7 @@ BINARIES = (
"tsort",
"tty",
"ttyinfo",
"uname",
"unexpand",
"uniq",
"unlink",
......
7.x
7.1.2
This diff is collapsed.