-
Notifications
You must be signed in to change notification settings - Fork 84
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
add missing functionality to build_tar #100
Comments
It'd also be good if we could reuse some of the tests for upstream |
@ixdy is bazel_tools open to using go based tools for core rules? what are the roadblocks for getting our build_tar to replace build_tar.py? |
I haven't asked, but I don't think there's any precedent of having go in core |
we should kill this tool and use the built-in one there is no reason for us to spend our time competing with bazel here. If we are unhappy the performance we should get them to improve the performance, not roll our own replacement |
@fejta the built-in python one is slooooow |
I know, and I'll take slow and functional over high maintenance costs every day of the week |
If I use the python implementation and Another issue is that our implementation is intentionally not quite identical - we don't prepend https://github.com/bazelbuild/bazel/issues/2380 and https://github.com/bazelbuild/bazel/issues/7293 are relevant issues which might solve our problems if addressed, but neither seem to be getting any traction. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Our Go implementation of build_tar has fallen behind some of the features in the upstream Python implementation of build_tar:
--manifest
: JSON manifest of contents to add to the layer--empty_file
: add an empty file--empty_dir
: add an empty dir (Kubernetes would use this, currently we create a dummy archive instead)--empty_root_dir
: this defaults to"./"
upstream; we currently don't support this, but could add it for compatibility (and then set to"kubernetes/"
or""
for our usage, similar to what's being discussed in https://github.com/bazelbuild/bazel/issues/7293)--mtime
: "Set mtime on tar file entries. May be an integer or the value "portable", to get the value 2000-01-01, which is usable with non *nix OSes" (bazelbuild/bazel@25d202f)cc @mikedanese
The text was updated successfully, but these errors were encountered: