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

Support custom compression program #320

Merged
merged 8 commits into from
Apr 21, 2021

Conversation

HackAttack
Copy link
Contributor

Resolves #59

@HackAttack HackAttack requested a review from aiuto as a code owner March 20, 2021 19:06
@HackAttack HackAttack force-pushed the custom-compressor branch 2 times, most recently from c459589 to 7e40c25 Compare March 20, 2021 19:13
pkg/archive.py Outdated Show resolved Hide resolved
@aiuto
Copy link
Collaborator

aiuto commented Apr 7, 2021 via email

@HackAttack HackAttack requested a review from aiuto April 10, 2021 01:12
Copy link
Collaborator

@aiuto aiuto left a comment

Choose a reason for hiding this comment

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

Much nicer. Thanks.

The thing it needs now is some sort of test, or at least an executable example in the /examples tree. Otherwise, this will get inevitably get broken.

pkg/archive.py Show resolved Hide resolved
pkg/docs/reference.md Outdated Show resolved Hide resolved
pkg/pkg.bzl Show resolved Hide resolved
@HackAttack HackAttack requested a review from aiuto April 14, 2021 18:06
Copy link
Collaborator

@aiuto aiuto left a comment

Choose a reason for hiding this comment

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

One last thing, can you add this to .bazelci/test.yaml in the windows section

  • "//tests:test_tar_compression"

@HackAttack HackAttack requested a review from aiuto April 21, 2021 16:25
@HackAttack
Copy link
Contributor Author

Done. Should this be necessary though, since it is a data dependency of archive_test, which is in the list?

@aiuto
Copy link
Collaborator

aiuto commented Apr 21, 2021

Oh.... dang. The name fooled me. "test_tar_compression" is not a test, though it sounds like one.
The whole 'archive_test' is a mess. I should make it several distinct ones, but that is not your problem.
Thanks for adding this.

@aiuto aiuto merged commit 0687a00 into bazelbuild:main Apr 21, 2021
@HackAttack HackAttack deleted the custom-compressor branch April 21, 2021 18:31
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.

pkg_tar gzip would be faster with a concurrent (pigz) mode
2 participants