rmohr / bazeldnf

Build multi-arch base containers based on RPM with bazel.
Apache License 2.0
30 stars 18 forks source link

RPM rule integrity and mnemonics #62

Closed malt3 closed 1 year ago

malt3 commented 1 year ago

Two small changes:

Add "integrity" as alternative for "sha256" in rpm rule

This is an alternative format for specifying the expected hash. It specifies the expected checksum in Subresource Integrity format of the file downloaded.

Add mnemonics to rpm2tar and tar2files

When using remote cache in Bazel, some IO intensive actions are slower when using the remote cache (vs always redoing the action locally). This behavior can be controlled using the flag --modify_execution_info. See also: https://blog.aspect.dev/bazelrc-flags

rmohr commented 1 year ago

Cool!