bazel-lib/lib/tests
Alex Eagle a283a8216d feat: add a tar toolchain (#468)
* feat: add a BSD tar toolchain

@thesayyn discovered that it has a feature which should make it a drop-in replacement for pkg_tar
including fine-grained file permissions and symlinks:
https://man.freebsd.org/cgi/man.cgi?mtree(8)

* show example of mtree usage

* feat: introduce tar rule

* cleanup and get test passing

* more cleanup

* chore: add support for compress flags

* chore: add docs

* chore: add docs

* feat: implement linux bsdtar toolchain (#566)

* chore: improve target naming

* WIP: args

* feat: generate mtree spec

Also allow arbitrary args

* refactor: mtree is required

* refactor: style nits

* fix: support mix of source and generated artifacts

* feat: demonstrate strip_prefix

* chore: regen docs

* fix: make host toolchain a fallback toolchain

* fix: include libarchive13.so when installing BSD tar

* chore: buildifier

* fix: aarch64 cpu constraint

* fix(ci): include libarchive13.so when running tar

* chore: add libnettle

* refactor: inputs mutated less

* refactor: remove unneeded substitution arg

* refactor: don't advertise unsupported modes

* fix: hack enough to make it run on my machine

* chore: dynamic libraries included in sh_binary under toolchain

* make sh_binary work

* refactor: drop arm64 for now

* fix toolchain

* fix test

* chore: improve test naming scheme

---------

Co-authored-by: Sahin Yort <thesayyn@gmail.com>
2023-10-03 13:50:55 -07:00
..
assert_archive_contains chore: also accept expected as a list of entries 2023-01-20 16:16:42 -08:00
assert_contains fix: support special chars in assert_contains expected expression (#426) 2023-05-10 16:07:40 -07:00
assert_directory_contains feat: add assert_directory_contains test to testing.bzl (#560) 2023-09-29 09:53:00 -07:00
bazelrc_presets feat: add list utils (#512) 2023-09-21 10:12:47 -07:00
copy_directory chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
copy_directory_bin_action fix: lookup source files from execroot when running diff_test on RBE (#531) 2023-09-21 13:27:08 -07:00
copy_file chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
copy_to_bin chore: set test timeouts to short 2022-08-20 13:58:43 -07:00
copy_to_directory chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
copy_to_directory_action chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
copy_to_directory_bin_action chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
coreutils fix: fix pathing issue in new copy_to_directory binary tool on Windows (#334) 2023-01-16 15:09:18 -08:00
expand_template chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
external_test_repo refactor: remove directory functionality from copy_file (#64) 2022-04-05 13:38:54 -07:00
jq feat: support jq 1.7 toolchain (#520) 2023-10-03 13:50:55 -07:00
run_binary chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
run_binary_expansions ci: add assertion that bcr patches apply (#556) 2023-09-27 10:26:38 -07:00
stamping chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
tar feat: add a tar toolchain (#468) 2023-10-03 13:50:55 -07:00
transitions chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
write_source_files chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
yq chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
BUILD.bazel chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
base64_tests.bzl feat: implement chr, ord, and hex (#425) 2023-05-15 12:15:55 -07:00
expand_make_vars_test.bzl chore: set test timeouts to short 2022-08-20 13:58:43 -07:00
generate_outputs.bzl feat: add executable attribute to write_source_files 2022-12-03 10:46:08 -08:00
glob_match_test.bzl fix: rewrite glob implementation to follow standard glob specs 2023-05-08 07:46:19 -07:00
lists_test.bzl feat: add list utils (#512) 2023-09-21 10:12:47 -07:00
paths_test.bzl feat: add to_rlocation_path and to_repository_relative_path functions to paths.bzl (#362) 2023-02-11 12:36:49 -08:00
strings_tests.bzl chore: run buildifier 2023-06-13 16:28:17 -07:00
utils_test.bzl feat: add `propagate_common_{,test_,binary_}rule_attributes` to lib/utils. (#553) 2023-09-26 14:29:42 -07:00