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
Derek Cormier
2b50f99ab3
refactor: show a more helpful error message in copy_to_bin
2022-05-03 15:46:57 -07:00
Derek Cormier
278090f87e
fix: don't sort versions in bcr metadata.josn
2022-05-02 20:50:51 -07:00
Alex Eagle
8f877b6a84
style: minor nit, use destructuring assignment
2022-05-02 20:37:32 -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
f4d38ac959
fix: fix a bug where bcr action wouldn't follow redirects to artifact
2022-05-02 20:34:46 -07:00
Derek Cormier
91e1086f79
debug: add some logging to debug bcr action
2022-05-02 19:41:10 -07:00
Derek Cormier
0bea5ccc49
test: change release action to use app token ( #99 )
2022-05-02 19:24:08 -07:00
Derek Cormier
fc855df8cf
feat: post a pr to bcr on successful release ( #97 )
...
* feat: post a pr to bcr on successful release
* Change to GH app based auth
Following instructions at https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens
Co-authored-by: Alex Eagle <alex@aspect.dev>
2022-05-02 18:42:29 -07:00
Greg Magolan
58b2c59bb0
refactor: export copy_to_directory_lib in the public API for use downstream in packaging rules ( #96 )
2022-04-29 15:26:24 -07:00
Greg Magolan
9a9a1888e1
chore: normalize @generated by comments ( #93 )
2022-04-29 00:49:15 -07:00
Greg Magolan
f1e10df09c
chore: replace is_windows select pattern with target_platform_has_constraint pattern ( #95 )
2022-04-29 00:36:51 -07:00
Greg Magolan
67e1072e25
chore: use aspect_bazel_lib diff_test ( #94 )
2022-04-29 00:36:41 -07:00
Greg Magolan
ec587d974e
chore: rename all instances of repository_ctx to the preferred rctx ( #92 )
2022-04-29 00:36:25 -07:00
Derek Cormier
6743c0cbcf
feat: make it easier to resolve jq/yq toolchains from a repository rule
2022-04-28 16:30:24 -07:00
Greg Magolan
41ce34470f
feat: add @aspect_bazel_lib_host repository and normalize function names in repo_utils ( #90 )
2022-04-28 14:18:06 -07:00
Alex Eagle
626af72fe8
test: add test coverage for docs rules
2022-04-27 17:34:45 -07:00
Alex Eagle
8138d7f6c3
test: introduce an e2e test asserting that bzlmod works
2022-04-27 17:34:45 -07:00
Greg Magolan
04c0f95136
feat: rename @yq_host and @jq_host to @yq and @jq respectively and export bin() function in index.bzl to get bin label for host platform ( #87 )
2022-04-27 08:08:28 -07:00
Greg Magolan
c2d4481570
feat: add default yq and jq versions ( #86 )
2022-04-23 12:06:40 -07:00
Derek Cormier
cf7b195031
fix: minor yq docs updates and fixes
2022-04-22 13:21:57 -07:00
Greg Magolan
048c32ae8d
feat: add jq_host and yq_host repositories
2022-04-21 18:48:45 -07:00
Greg Magolan
207d219a88
feat: add os_arch_name() function to repo_utils and cleanup yq & jq toolchains for repository names follow this convention ( #82 )
2022-04-21 17:45:33 -07:00
Alex Eagle
0cd42cd03e
Document support option
2022-04-20 11:36:48 -07:00
Derek Cormier
3e4024c785
feat: yq ( #80 )
2022-04-19 21:45:06 -07:00
Derek Cormier
e0af9633ed
chore: fix buildifier errors
2022-04-15 15:44:40 -07:00
Greg Magolan
d59ca6092f
fix: improve execution requirements of all copy files/directory rules for better perf ( #79 )
2022-04-14 10:48:44 -07:00
Greg Magolan
48b6f29367
fix: make tool of run_binary cfg=exec ( #74 )
2022-04-14 10:40:39 -07:00
Greg Magolan
0a9c48a712
feat: add create_windows_native_launcher_script to lib/windows_utils.bzl ( #75 )
2022-04-14 09:01:08 -07:00
Greg Magolan
35b430abcc
feat: add some additional make variable substitutions for common useful values in the context ( #73 )
2022-04-14 07:05:28 -07:00
Greg Magolan
b9fe201464
fix: set --nolegacy_external_runfiles in .bazelrc ( #76 )
2022-04-14 07:02:49 -07:00
Greg Magolan
03528db12b
chore: remove unused file ( #77 )
2022-04-14 07:02:20 -07:00
Greg Magolan
b9bc7a4cea
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
Greg Magolan
6828d92964
refactor: split copy_to_bin_action into copy_file_to_bin_action and copy_files_to_bin_actions ( #71 )
2022-04-13 13:01:17 -07:00
Greg Magolan
62bb04db30
feat: add copy_to_bin_action for use in other rules ( #70 )
2022-04-13 12:40:07 -07:00
Greg Magolan
b2955dcb05
feat: add copy_to_bin rule ( #69 )
2022-04-12 16:31:04 -07:00
Greg Magolan
6e653ca787
feat: add copy_file_action helper function to the public API ( #68 )
2022-04-12 13:58:30 -07:00
Greg Magolan
2e213c2029
feat: add copy_directory_action help to the public API ( #67 )
2022-04-12 03:34:51 -07:00
Greg Magolan
322bbc92df
feat: add repo_utils with fork of @bazel_tools patch function that takes a working_directory argument
2022-04-11 18:15:32 -07:00
Greg Magolan
1421a1d6f4
chore: add upstream @bazel_tools patch utility function prior to forking
2022-04-11 18:15:32 -07:00
Jason Bedard
0f30bf96b7
fix(write_source_files): fix nested directories ( #65 )
2022-04-06 11:25:17 -07:00
Derek Cormier
35b8fd3425
refactor: remove directory functionality from copy_file ( #64 )
2022-04-05 13:38:54 -07:00
Derek Cormier
a23d1b03f7
feat: add copy_directory ( #63 )
2022-04-03 17:52:03 -07:00
Derek Cormier
955e37bf74
update buildifier and fix formatting
2022-04-01 13:33:14 -07:00