Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

`bugsplat` is a command line for [BugSplat](https://www.bugsplat.com) crash reporting, for people and coding agents. It reads crash reports and crash groups, finds the symbol files a crash needs on your disk, and uploads them.

**The first release is not out yet.** Until it is, the npm package and the release binaries below don't exist, and you [build from source](#build-from-source).

## Install

```bash
Expand Down
5 changes: 2 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ npm is the primary way to install the CLI: `npm install -g @bugsplat/cli`.
- The `bugsplat` command that npm adds is a Node.js script that starts the downloaded binary and passes its arguments, output, and exit code through. You need Node.js 14.18 or later to install the package and every time you run `bugsplat`. On an Apple silicon Mac, `bugsplat --version` took about 0.15 seconds through the script and about 0.02 seconds when we ran the binary directly.
- Unpacking uses the system `tar` on macOS and Linux and PowerShell's `Expand-Archive` on Windows. We ship `.tar.gz` archives because `tar` in slim container images, such as `node:22-slim`, cannot unpack `.tar.xz`.
- The package has one dependency, `detect-libc`.
- The package's README is this repository's `README.md`, so the "first release is not out yet" notice has to come out of the README before the first publish.
- The package's README is this repository's `README.md`.

A machine without Node.js can use the archive for its platform from the GitHub Release. The archive holds the `bugsplat` binary, which runs without Node.js.

Expand Down Expand Up @@ -69,7 +69,7 @@ Both scripts set `BUGSPLAT_TOKEN_STORE=file` and a temporary `BUGSPLAT_CONFIG_DI

## The Linux build image

`bugsplat symbols dump` and `upload --dump-syms` use Sentry's `symbolic`, whose Swift demangler is C++17. Every build of `bugsplat` therefore needs a C++ compiler for its target. The macOS and Windows runners have one. For the two Linux targets the compiler has to target musl, and Ubuntu packages none: `musl-tools` has only `musl-gcc`, for C.
`bugsplat symbols dump` and `upload --dump-syms` use the `symbolic` crates, whose Swift demangler is C++17. Every build of `bugsplat` therefore needs a C++ compiler for its target. The macOS and Windows runners have one. For the two Linux targets the compiler has to target musl, and Ubuntu packages none: `musl-tools` has only `musl-gcc`, for C.

The two Linux targets are built in a container of [rust-musl-cross](https://github.com/rust-cross/rust-musl-cross), which has GCC 12.4.0 and musl 1.2.5 built with [musl-cross-make](https://github.com/richfelker/musl-cross-make), including `g++` and a static `libstdc++`. The images are set under `[dist.github-custom-runners]` in `dist-workspace.toml`, one for each target, and each runs on a runner of its own architecture:

Expand Down Expand Up @@ -106,7 +106,6 @@ Each of these needs a person with access we do not give to automation.
2. **Choose who publishes to npm.** That person needs permission to publish packages in the `@bugsplat` organization on npmjs.com. See "Publishing to npm".
3. **Agree on the version.** `Cargo.toml` says `0.1.0`.
4. **Sign the macOS binaries.** See "macOS signing and notarization". The certificate has to come from our Apple Developer account.
5. **Update the README.** Remove the "first release is not out yet" notice. The npm command and the build-from-source section both stay.

## Publishing to npm

Expand Down
Loading