2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-12-02 10:15:22 +00:00
Commit graph

152 commits

Author SHA1 Message Date
Derek Cormier ce015ca4f3 fix: support non-json input files in jq 2022-06-17 10:27:18 -07:00
Greg Magolan b3c2884bdf
feat: add mnemonic, progress_message && execution_requirements to run_binary (#161) 2022-06-16 16:58:41 -07:00
Greg Magolan 14f83ab4e8
feat: add out_dirs to run_binary rule and deprecate output_dir (#160) 2022-06-16 16:26:29 -07:00
Derek Cormier 627ac0b82c fix: don't set assignees for bcr pr 2022-06-16 14:03:50 -07:00
Derek Cormier 35adb03d48 chore: create a pull request against our bcr fork on successful release 2022-06-16 12:06:35 -07:00
Derek Cormier 80603fb7eb fix: fix a bug where two copy_to_bin actions couldn't copy the same file 2022-06-16 11:49:09 -07:00
Derek Cormier 3ff61c57e9 fix: fix a bug where write_source_files diff_test fails on windows when
a source is from an external repository
2022-06-16 09:10:30 -07:00
Greg Magolan 6ba7c64c8d
feat: add allow_overwrites attribute to copy_to_directory and disable overwrites as the default behavior on linux and macos (#153) 2022-06-14 10:52:40 -07:00
Greg Magolan 63014de382 chore: cleanup fail msgs with substitutions for cleaner error logs 2022-06-14 06:46:34 -07:00
Alex Eagle 5a39b1fdab chore: warn when copy_to_bin reads from bazel-out 2022-06-13 19:07:40 -07:00
Alex Eagle 562c4b231d feat: add to_output_relative_path
This is useful in rules_js ecosystem where the working directory is bazel-out/arch/bin so many paths need to be relative to there.
2022-06-13 12:55:22 -07:00
Alex Eagle fafdd8610c chore: remove unneeded bazelisk setup 2022-06-11 12:57:49 -07:00
Renovate Bot d19d6efafe chore(deps): update bazelbuild/setup-bazelisk action to v2 2022-06-11 12:57:49 -07:00
Renovate Bot 1fcd85b247 chore(deps): update dependency bazel_skylib to v1.2.1 2022-06-10 17:46:01 -07:00
Renovate Bot 6df5112813 chore(deps): update dependency io_bazel_rules_go to v0.33.0 2022-06-10 17:45:32 -07:00
Renovate Bot 0ec727048b chore(deps): update actions/setup-node action to v3 2022-06-10 17:42:35 -07:00
Alex Eagle 40f130b43b refactor: nicer pattern for inlined maybe 2022-06-10 14:04:49 -07:00
Alex Eagle d8ec2bc0db chore: update generated docs 2022-06-10 13:14:02 -07:00
Renovate Bot fdbbc80fd7 chore(deps): update dependency io_bazel_stardoc to v0.5.1 2022-06-10 13:14:02 -07:00
renovate[bot] 12db1f32f9
chore(deps): update actions/checkout action to v3 (#140)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 13:00:59 -07:00
renovate[bot] f6bc73cb28
chore(deps): update actions/cache action to v3 (#139)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 13:00:44 -07:00
Alex Eagle abc3128fe7
refactor: remove use of maybe() helper (#138)
This allows renovate to understand our dependencies
2022-06-10 12:51:13 -07:00
renovate[bot] bdcff8b3d5
chore(deps): add renovate.json (#135)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 12:49:41 -07:00
Alex Eagle 695a8c4ad4
fix: copy_to_directory repairs read-only file permissions (#134)
When two srcs have the same nested folder, we need to correct the permissions like bazel's sandbox would.

Fixes #133
2022-06-08 15:41:54 -07:00
Derek Cormier 73bfc53660 Use PAT to publish prs to bcr on release 2022-06-07 10:57:21 -07:00
Derek Cormier fbb26dc678 chore: remove hardcoded toolchain versions from workspace snippet 2022-06-06 12:28:06 -07:00
Alex Eagle 14cc74b2cb fix escaping in release snippet 2022-06-06 11:56:40 -07:00
Alex Eagle 15d95b9dc1 fix escaping in release snippet 2022-06-06 11:56:04 -07:00
Alex Eagle 021b24e2df
chore: publish production releases, prep for 1.0 (#130) 2022-06-06 11:28:10 -07:00
Alex Eagle 6585079da0
add bzlmod usage instructions (#129)
fixes #124
2022-06-06 11:19:37 -07:00
Thulio Ferraz Assis 8403b7ac2a
fix: add missing --test_output=errors (#128)
* fix: add missing --test_output=errors

Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>

* fix: missing punctuation in .bazelrc

Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
2022-06-03 11:09:05 -07:00
Greg Magolan 128f7c63fb
fix: improve error message when an invalid label or a file that is not a directory is passed to directory_path (#127) 2022-06-03 00:39:35 -07:00
Derek Cormier 9162a3f552 fix: buildifier lint errors 2022-06-02 18:15:24 -07:00
Alex Eagle f11dea1b7a
chore: nit on error message (#125) 2022-06-01 18:01:15 -07:00
= 7017045707 fix: fix yq windows issues by bumping version 2022-05-31 11:07:14 -07:00
Greg Magolan 9a1edce1aa
fix: set correct suggested_update_target for write_source_files macros with multiple files (#120) 2022-05-25 18:47:32 -07:00
Derek Cormier 4b1a0dff20 fix: fix typo in README 2022-05-24 11:00:41 -07:00
Derek Cormier 231becec2a
chore: improve the readme (#118)
* chore: improve the readme

* squash: readme without tables
2022-05-23 06:11:46 -07:00
Derek Cormier faba95385d fix: fix a bug where copy_to_directory wouldn't copy hidden files inside
of folders
2022-05-19 20:50:43 -07:00
Derek Cormier 147a373568 fix: add mandatory provider for write_source_files
additional_update_targets
2022-05-18 10:50:09 -07:00
Derek Cormier d944c2fbc3 ci: remove committer for auto-bcr 2022-05-17 14:02:54 -07:00
Derek Cormier 6761d9da11
ci: use pat to perform release and allow subsequent workflows to trigger (#112) 2022-05-17 13:48:16 -07:00
Derek Cormier 5c226869a1
fix release token and set committer on bcr workflow (#111)
* ci: use github bot token for release

* ci: set committers and pr assignees in bcr workflow
2022-05-17 11:51:46 -07:00
Alex Eagle ba519a9e1f Revert "fix: use pat for bcr mirror"
This reverts commit ea7a3e4549.
2022-05-17 09:10:06 -07:00
Derek Cormier 97ef0a21fd
Revert "test: change release action to use app token (#99)" (#110)
This reverts commit 0bea5ccc49.
2022-05-17 06:32:50 -07:00
Derek Cormier ea7a3e4549 fix: use pat for bcr mirror 2022-05-16 17:22:30 -07:00
Derek Cormier bbe8047a55 feat: mirror releases to bcr 2022-05-16 16:42:16 -07:00
Derek Cormier 493ba15860 docs: link to docsite in README 2022-05-16 16:39:23 -07:00
Sahin Yort a699ccd4eb
fix: add mnemonic to jq and yq (#106) 2022-05-06 21:01:27 +03:00
Greg Magolan 47114fd4f9
fix: only use ctx.attr.patches if patches param is not specified (#105)
The currently implementation differs from the docstring here and in upstream skylib:

This rule is intended to be used in the implementation function of
a repository rule. If the parameters "patches", "patch_tool",
"patch_args", "patch_cmds" and "patch_cmds_win" are not specified
then they are taken from "ctx.attr".
2022-05-04 10:32:18 -07:00