Live data from Hacker News

Show HN: Xcnotary – a Mac app notarization helper made with Rust

github.com

11–20 of 32 posts

Re: Show HN: Xcnotary – a Mac app notarization helper made with Rust

#12

(The author.) I had originally written a version of this in Python for my own use, and recently thought of rewriting it in Rust as a learning experience. What I found is that writing a CLI in Rust is a absolute breeze, in part due to excellent documentation and the tooling, and also thanks to various well-maintained crates, such as StructOpt [1] to parse command line arguments of any complexity, or indicatif [2] to s…

Very cool! Tangentially related, I looked into reimplementing `codesign` in Rust while I was at Mozilla. We wanted to see if we could take Apple hardware out of the loop for our release process after we had switched Mac Firefox builds to cross-compile from Linux. I got a bunch of code written and I'm pretty sure I could have made it work if I had gotten the go-ahead to spend time on it but then we heard about notariz…

That sounds like a fun project! I do hope Apple shows more love to the command line tooling in general (even if Mac-only) as the workflow still seems somewhat optimized for clicking one-by-one in Xcode.

Re: Show HN: Xcnotary – a Mac app notarization helper made with Rust

#14
post #13

Very cool work! I just manually implemented this in a python script. Does it support other platforms? Will it run on Linux?

The notarization service is opaque (uses Xcode's "xcrun altool" to submit/read status, instead of something like a REST API...) so unfortunately Mac-only at the moment.

Re: Show HN: Xcnotary – a Mac app notarization helper made with Rust

#17

Thank you for building this. The notarization process is navigable but baroque, especially from the command line. fish shell's notarization script: https://github.com/fish-shell/fish-shell/blob/master/build_t...

It was surprising that they didn't provide an all-in-one blocking command, leaving everyone to write their own version of the submit(); while(true) { poll(); }.

I will need to add support for .pkg to cover more use cases. (Right now the tool specifically checks the input to be an .app bundle and zips it up for submission.)

Re: Show HN: Xcnotary – a Mac app notarization helper made with Rust

#18

Aside: GitHub seems to dislike your animated SVG for some reason, since it won't play unless I open it manually. I think sanitize=true does that; try hosting it somewhere else?

Thanks for the heads up! May I ask what browser you are using? If there are compatibility issues I may just re-render these as GIFs.

How did you generate this animated SVG terminal screen capture?

Re: Show HN: Xcnotary – a Mac app notarization helper made with Rust

#19
post #18

Earlier quoted context omitted.

Thanks for the heads up! May I ask what browser you are using? If there are compatibility issues I may just re-render these as GIFs.

How did you generate this animated SVG terminal screen capture?

asciinema to generate a raw json file, then svg-term to convert it to svg

https://github.com/asciinema/asciinema

https://github.com/marionebl/svg-term-cli

(I ended up moving the SVG assets to GitHub Pages which hopefully fixes the issue others were seeing.)

Post reply on HN