Commit Graph

29 Commits

Author SHA1 Message Date
Synchronization Acknowledgement cc956d8589
fix(tar): append slash to top-level directory mtree entries (#852)
* fix(tar): append slash to top-level directory mtree entries

bsdtar's mtree format has a quirk wherein entries without "/" in their
first word are treated as "relative" entries, and "relative" directories
will cause tar to "change directory" into the declared directory entry.
If such a directory is followed by a "relative" entry, then the file
will be created within the directory, instead of at top-level as
expected. To mitigate, we append a slash to top-level directory entries.

Fixes #851.

* chore: golden files have BINDIR placeholder

---------

Co-authored-by: Alex Eagle <alex@aspect.dev>
2024-07-02 09:27:06 -07:00
Greg Magolan 516a5fe725
feat: add is_bazel_7_or_greater utility (#714) 2024-01-07 16:42:57 -08:00
Greg Magolan 5aaa785b96
chore: test against bazel 7.0.0 (#713) 2024-01-07 16:12:05 -08:00
Sahin Yort 33bc4443fd
fix: create windows launcher for bats (#704) 2023-12-21 14:27:21 -08:00
Greg Magolan 13aefd6538
fix: isolate rules_lint dev dependency usage into its own Bazel package (#687) 2023-12-11 07:34:26 -08:00
Greg Magolan bb64a79dc3
chore: bring in aspect_rules_lint and add format task to Aspect Workflows (#681) 2023-12-07 23:34:24 -08:00
Derek Cormier 5bd6e5fdd4
fix(ci): fix bzlmod issues and enable on ci (#658) 2023-11-15 15:07:03 -08:00
Greg Magolan a69b16bfcf
chore: update buildifier targets used by Aspect Workflows (#629) 2023-10-18 15:49:34 -07:00
Alex Eagle e640c0db0f
chore: check gazelle on CI (#586) 2023-10-05 15:50:42 -07:00
Alex Eagle e00ea2b977
chore: update pre-commit buildifier (#563)
It needs to match the one CI runs in
https://github.com/aspect-build/bazel-lib/actions/runs/6357283303/job/17268197322
2023-09-29 14:42:33 -07:00
Marc Redemske 45986f000d
feat: add list utils (#512)
* feat: add list utils

* chore: add docs for lists

* fixes accoding to review

---------

Co-authored-by: Alex Eagle <alex@aspect.dev>
2023-09-21 10:12:47 -07:00
Jason Bedard a0fab595e2 chore: disable buildifier on windows 2023-06-14 09:15:17 -07:00
Jason Bedard 7b382c9ff1 ci: enable buildifier check on ci 2023-06-13 16:28:17 -07:00
Derek Cormier dda3bbda86 chore: depend on skylib release artifact 2023-02-19 16:55:31 -08:00
Greg Magolan fde705ba8c
feat: make bazel-lib the source-of-truth for Aspect recommended bazelrc settings (#369) 2023-02-16 16:59:21 -08:00
Greg Magolan ec13ec9a69
feat: improve performance of copy_to_directory by moving glob match & copying to a golang binary (#308) 2023-01-03 09:42:20 -08:00
Greg Magolan 4ad1dc2398
chore: run gazelle for golang (#305) 2023-01-01 15:37:00 -08:00
Greg Magolan 8e230b0721
feat: add bazel_version value to host_repo repository rule (#246) 2022-09-16 11:51:48 -07:00
Derek Cormier c1e7aa1181 fix: fix a bug where multiple files were not written at the root package 2022-08-16 11:20:55 -07:00
Jesse Schalken f2e5f4675f fix: diff_test not working for files in directories starting with "external"
Example "external-dependencies/foo.txt"
2022-07-07 16:31:00 -07:00
Derek Cormier 400ff189b3 fix: fix a bug where yq failed to build in the root package 2022-05-02 20:35:59 -07:00
Derek Cormier 955e37bf74 update buildifier and fix formatting 2022-04-01 13:33:14 -07:00
Jason Bedard a2e228dde0
fix(write_source_files): fix writing to workspace root (#53) 2022-03-30 17:04:35 -07:00
Alex Eagle 1c5fb6370b
refactor: simplify release (#13)
Fixes #12
2021-12-11 11:27:39 -08:00
Alex Eagle 905cbb582f release: update instructions 2021-11-11 07:02:50 -08:00
Alex Eagle c891bbcf52 release: don't require manual edits to version.bzl
Instead the release process should key off the git tag
2021-11-11 06:57:46 -08:00
Alex Eagle 03eaca91f1 Add unittest 2021-11-08 07:22:47 -08:00
Alex Eagle bf35529fc9 Initial commit 2021-11-08 06:46:16 -08:00
Alex Eagle 394f900560 Initial commit 2021-11-08 06:20:26 -08:00