Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use coreutils toolchain for copy_file action #622

Merged
merged 4 commits into from
Nov 14, 2023

Conversation

dzbarsky
Copy link
Contributor

@dzbarsky dzbarsky commented Oct 12, 2023

Use the coreutils toolchain rather than bash/batch scripts to perform the copy.

Type of change

  • Refactor (a code change that neither fixes a bug or adds a new feature)**

  • Relevant documentation has been updated

  • Suggested release notes are provided below:

  • Breaking change (this change will force users to change their own code or config)
    Might require toolchain registration where previously it wasn't needed, if users did their own toolchain registration instead of calling aspect_bazel_lib_register_toolchains as the docs recommend

Test plan

  • Covered by existing test cases

@dzbarsky dzbarsky force-pushed the zbarsky/coreutils-cp branch 2 times, most recently from 12add9a to 307ea0a Compare October 12, 2023 14:49
.github/workflows/ci.yaml Outdated Show resolved Hide resolved
@gregmagolan
Copy link
Member

Rebased and resolved conflict

@thesayyn
Copy link
Member

thesayyn commented Nov 7, 2023

FYI, there was an issue with darwin arm64 binaries for coreutils. #519

@gregmagolan
Copy link
Member

FYI, there was an issue with darwin arm64 binaries for coreutils. #519

So this PR will break copy_file on M1s until that is resolved?

@thesayyn
Copy link
Member

thesayyn commented Nov 7, 2023

So this PR will break copy_file on M1s until that is resolved?

yes, if you don't have rosetta turned on

@gregmagolan
Copy link
Member

Roger. We'll have to wait until that is resolved then before we can land this one.

@alexeagle alexeagle added the blocked Blocked by another issue label Nov 8, 2023
@dzbarsky
Copy link
Contributor Author

Let's see how they feel about uutils/coreutils#5523

@kormide kormide merged commit 01ca8f9 into aspect-build:main Nov 14, 2023
24 checks passed
kormide added a commit to kormide/bazel-lib that referenced this pull request Nov 15, 2023
alexeagle pushed a commit that referenced this pull request Dec 23, 2023
refactor: use coreutils toolchain for copy_file action
---------

Co-authored-by: Greg Magolan <greg@aspect.dev>
Co-authored-by: Derek Cormier <derek@aspect.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked by another issue
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

5 participants