bazel-lib/lib
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
..
private feat: add a tar toolchain (#468) 2023-10-03 13:50:55 -07:00
tests feat: add a tar toolchain (#468) 2023-10-03 13:50:55 -07:00
BUILD.bazel feat: add a tar toolchain (#468) 2023-10-03 13:50:55 -07:00
base64.bzl feat: add base64 encode & decode utility functions (#292) 2022-11-25 17:00:02 -08:00
bazelrc_presets.bzl fix: add missing **kwargs to write_aspect_bazelrc_presets (#379) 2023-02-22 12:17:00 -08:00
copy_directory.bzl feat: hardlink generated files in copy_to_directory and copy_directory instead of copying (#321) 2023-01-16 17:19:13 -08:00
copy_file.bzl feat: add copy_file_action helper function to the public API (#68) 2022-04-12 13:58:30 -07:00
copy_to_bin.bzl fix: add copy_file_to_bin_action and copy_files_to_bin_actions to //lib:copy_to_bin.bzl (#72) 2022-04-13 13:55:41 -07:00
copy_to_directory.bzl chore: cleanup copy_to_directory docs and expose attr docstrings via lib for use downstream (#330) 2023-01-15 13:24:15 -08:00
diff_test.bzl feat: add executable attribute to write_source_files 2022-12-03 10:46:08 -08:00
directory_path.bzl Add DefaultOutputPathInfo provider and update write_source_files to accept it (#48) 2022-03-14 17:33:52 -07:00
docs.bzl feat: add doc helpers (#2) 2021-11-10 06:34:00 -08:00
expand_make_vars.bzl chore: run buildifier 2023-06-13 16:28:17 -07:00
expand_template.bzl feat: expand_template allows inline template content (#533) 2023-09-20 18:32:05 -07:00
extensions.bzl feat: add a tar toolchain (#468) 2023-10-03 13:50:55 -07:00
glob_match.bzl chore: turn on more basic precommit checks 2023-02-17 11:00:00 -08:00
host_repo.bzl feat: add @aspect_bazel_lib_host repository and normalize function names in repo_utils (#90) 2022-04-28 14:18:06 -07:00
jq.bzl feat: support jq 1.7 toolchain (#520) 2023-10-03 13:50:55 -07:00
lists.bzl feat: add list utils (#512) 2023-09-21 10:12:47 -07:00
output_files.bzl feat: replace default_info_files with output_files which adds output_group attribute (#50) 2022-03-15 17:36:22 -07:00
params_file.bzl fix: formatting for new docsite (#302) 2022-12-28 08:03:18 -08:00
paths.bzl feat: add to_rlocation_path and to_repository_relative_path functions to paths.bzl (#362) 2023-02-11 12:36:49 -08:00
platform_utils.bzl fix: don't generate @aspect_bazel_lib_local_config_platform repository as it is a leaky abstraction for rule consumers and not just rule authors (#243) 2022-09-13 21:58:08 -07:00
repo_utils.bzl chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
repositories.bzl feat: add a tar toolchain (#468) 2023-10-03 13:50:55 -07:00
run_binary.bzl feat: add run_binary with output directory support & improved makevar expansion (#57) 2022-03-31 20:04:35 -07:00
stamping.bzl Update stamping.bzl 2023-04-18 13:27:19 -07:00
strings.bzl chore: run buildifier 2023-06-13 16:28:17 -07:00
tar.bzl feat: add a tar toolchain (#468) 2023-10-03 13:50:55 -07:00
testing.bzl chore: update pre-commit buildifier (#563) 2023-09-29 14:42:33 -07:00
transitions.bzl Add platform_transition_binary rule (#289) 2022-12-14 11:21:08 -08:00
utils.bzl feat: add `propagate_common_{,test_,binary_}rule_attributes` to lib/utils. (#553) 2023-09-26 14:29:42 -07:00
windows_utils.bzl feat: add create_windows_native_launcher_script to lib/windows_utils.bzl (#75) 2022-04-14 09:01:08 -07:00
write_source_files.bzl docs: clarify write_source_files output constraint (#498) 2023-08-23 12:32:56 -07:00
yq.bzl feat: yq supports stamping 2023-06-15 16:50:26 -07:00