rules_hugo icon indicating copy to clipboard operation
rules_hugo copied to clipboard

hugo_repository.sha256 breaks cross-platform compatibility

Open sudoforge opened this issue 6 years ago • 1 comments

  • hugo_repository.sha256 has no default value(s), and thus is offloaded to the user
  • Because there is no map of platform_archive_name:sha, when a user specifies a sha, it is for a specific archive on a specific platform.

sudoforge avatar Jul 20 '19 23:07 sudoforge

What about using select? Wouldn't it work in this case? You can also ignore it entirely and pass your own executable to hugo_site, which might be a workaround (as far as I understand the current implementation of hugo_repository, it wouldn't work properly in a remote execution context involving different OSs either).

Edit: my bad, select doesn't work in the workspace.

Kernald avatar Oct 06 '19 13:10 Kernald