David Zbarsky
43f8b3e524
Make build pass with --incompatible_auto_exec_groups ( #963 )
2024-10-15 10:16:11 -07:00
David Zbarsky
4c1267fc27
perf: improve copy_file.bzl progress_message ( #931 )
2024-09-10 10:08:34 -07:00
Derek Cormier
2b38ad5d29
feat: expose toolchains used for copy actions ( #661 )
2023-11-16 07:15:50 -08:00
David Zbarsky
01ca8f9432
Use coreutils toolchain for copy_file action ( #622 )
...
refactor: use coreutils toolchain for copy_file action
---------
Co-authored-by: Greg Magolan <greg@aspect.dev>
Co-authored-by: Derek Cormier <derek@aspect.dev>
2023-11-14 11:03:51 -08:00
Greg Magolan
602b7b8f80
Revert: feat: expose a config_setting for copy execution_requirements ( #606 ) ( #640 )
2023-10-31 15:19:38 -07:00
Alex Eagle
4bfe55711a
feat: expose a config_setting for copy execution_requirements ( #606 )
...
* feat: expose a config_setting for copy execution_requirements
Fixes #604
* chore: add user docs
* chore: improve docs
* chore: better link to copy_file
2023-10-09 13:57:34 -07:00
Alex Eagle
894ba445c4
chore: remove is_windows attributes ( #587 )
...
Fixes some TODOs for 2.0
2023-10-05 16:03:15 -07:00
Jason Bedard
05a92b8b99
fix: show directory being copied to in copy_to_directory progress message ( #345 )
...
* fix: use formatted short_path in copy progress messages
* fix: display destination directory in copy_to_directory progress message
2023-02-05 20:47:02 -08:00
Greg Magolan
7b6c814e27
Add copy_directory binary tool ( #324 )
2023-01-14 15:51:01 -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
65e852f774
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
Greg Magolan
bbfb74c8e6
fix: fix host platform detection on all copy actions which always run locally ( #241 )
2022-09-12 20:45:48 -07:00
David Zbarsky
5edb10a0d8
Cleanup diff_test and copy_file implementations
2022-08-31 12:12:47 -07:00
Derek Cormier
889e736476
fix: fix a bug where the same file couldn't be copied to the same output
...
dir twice on Windows
2022-08-20 11:31:56 -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
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
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
6e653ca787
feat: add copy_file_action helper function to the public API ( #68 )
2022-04-12 13:58:30 -07:00
Derek Cormier
35b8fd3425
refactor: remove directory functionality from copy_file ( #64 )
2022-04-05 13:38:54 -07:00
Greg Magolan
e679a26b42
fix: use -R instead of -r in cp calls so macos & linxu behavior is the same ( #58 )
2022-04-01 00:57:34 -07:00
Greg Magolan
3b93ee0baa
Add DefaultOutputPathInfo provider and update write_source_files to accept it ( #48 )
...
Also update write_source_files to accept DirectoryPathInfo
2022-03-14 17:33:52 -07:00
Greg Magolan
0fd56dc59d
feat: add directory_path rule and DirectoryPathInfo for specifying files within tree artifacts ( #42 )
2022-03-03 16:40:32 -08:00
Greg Magolan
40e25c0b37
fix: use robocopy in copy_file#is_directory and copy_to_directory ( #26 )
...
so we don't hit the file path length limit of xcopy
2022-01-27 04:57:52 -08:00
Greg Magolan
0d2981f288
feat: copy_to_directory copies files and directories to an output directory
2021-11-16 21:30:32 -08:00