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

webassemblyjs tool suite: init at 1.7.8 #45225

Merged
merged 1 commit into from Oct 17, 2018
Merged

Conversation

Ekleog
Copy link
Member

@Ekleog Ekleog commented Aug 17, 2018

Motivation for this change

Couldn't test wasmrun for not having a WASM file that can be run at hand, but it looks like it's at least basically working :)

All other binaries are either OK or had bugs reported upstream because they really didn't look like packaging issues.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@Ekleog Ekleog changed the title webassemblyjs tool suite: init at 1.7.5 webassemblyjs tool suite: init at 1.7.8 Oct 14, 2018
@Ekleog
Copy link
Member Author

Ekleog commented Oct 14, 2018

For ease of review: the operations done for this PR are addition of the lines in all-packages.nix and node-packages-v8.json, and running ./generate.sh.

Copy link
Member

@infinisil infinisil left a comment

Choose a reason for hiding this comment

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

LGTM :)

@@ -1872,7 +1872,7 @@ let
packageName = "strip-ansi";
version = "3.0.1";
src = fetchurl {
url = "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz";
url = "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz";
Copy link
Member

Choose a reason for hiding this comment

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

Oh actually, this is weird, why did it switch to http? Can you maybe run ./generate.sh again with the latest master version?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not coming back :'( It did get two updates though, so I did a push -f

@Ekleog
Copy link
Member Author

Ekleog commented Oct 15, 2018

Intuitively the HTTPS isn't that important, though, as it's going to (I guess) be built by hydra, which has no need for confidentiality, and it's protected by sha*sum anyway :)

@infinisil
Copy link
Member

@Ekleog Well the hashes were probably obtained from the http URL to begin with

@infinisil infinisil merged commit 3743f8a into NixOS:master Oct 17, 2018
@Ekleog
Copy link
Member Author

Ekleog commented Oct 17, 2018

Indeed, but HTTPS more or less only tells that some third-party over the internet saw you over a HTTP connection (at least with Let's Encrypt, some other CAs have different requirements), so basically what we're doing by pinning hashes and making contributor+ofborg review them is basically as secure as HTTPS, with the exception that there's no Certificate Transparency logs for hashes we insert :)

Anyway, thank you for the review!

@Ekleog Ekleog deleted the webassemblyjs branch October 17, 2018 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants