Skip to content

Conversation

manuelnaranjo
Copy link

@manuelnaranjo manuelnaranjo commented Mar 6, 2025

Trying to add a diff hermetic toolchain based on
https://github.com/uutils/diffutils

Closes: #529

@manuelnaranjo manuelnaranjo changed the title diff_test: adding a hermetic toolchain feat(diff_test): adding a hermetic toolchain Mar 6, 2025
Copy link
Collaborator

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thank you!

What's left to do here? Why is it only a Draft?

@manuelnaranjo
Copy link
Author

I didn't fully test if IIRC, I think it lacks -r which would need to be implemented on starlark/shell

@alexeagle
Copy link
Collaborator

I got stuck trying to decide if https://gitlab.arm.com/bazel/rules_diff fully covers this use case or not.

@manuelnaranjo
Copy link
Author

I got stuck trying to decide if https://gitlab.arm.com/bazel/rules_diff fully covers this use case or not.

When I did the contribution I think I tried to research the differences and can't remember why I didn't go that way, most likely it's because ir wasn't in the BCR yet. Also I'm not 100% sure you want bazel-lib to depend on it, maybe it's best to vendor the binaries once again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR]: Allow diff_test to specify diff toolchain
2 participants