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
8 changes: 4 additions & 4 deletions INSTALLING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ first run; a formula build is never quarantined.
**Release archive**, without Homebrew:

```
VERSION=0.4.0
VERSION=0.4.1
ARCH=$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/')
curl -sSLO "https://github.com/avison9/cdclint/releases/download/v$VERSION/cdclint_${VERSION}_darwin_${ARCH}.tar.gz"
tar -xzf "cdclint_${VERSION}_darwin_${ARCH}.tar.gz" cdclint
Expand All @@ -63,7 +63,7 @@ brew install --cask avison9/tap/cdclint
**Release archive** (any distribution, no package manager needed):

```
VERSION=0.4.0
VERSION=0.4.1
ARCH=$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/')
curl -sSLO "https://github.com/avison9/cdclint/releases/download/v$VERSION/cdclint_${VERSION}_linux_${ARCH}.tar.gz"
tar -xzf "cdclint_${VERSION}_linux_${ARCH}.tar.gz" cdclint
Expand All @@ -81,7 +81,7 @@ fleet needs them; goreleaser can produce both.
**Release archive** (PowerShell):

```powershell
$Version = "0.4.0"
$Version = "0.4.1"
$Arch = if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") { "arm64" } else { "amd64" }
$Dir = "$env:LOCALAPPDATA\Programs\cdclint"
New-Item -ItemType Directory -Force $Dir | Out-Null
Expand Down Expand Up @@ -127,7 +127,7 @@ verifies its checksum:
sink: analytics/schema
```

Pin a version with `version: v0.4.0` if you want to control upgrades.
Pin a version with `version: v0.4.1` if you want to control upgrades.

## Docker

Expand Down
Binary file modified docs/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/demo.mp4
Binary file not shown.
19 changes: 12 additions & 7 deletions docs/demo.tape
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
# printf 'FROM ghcr.io/charmbracelet/vhs:v0.10.0\nRUN apt-get update --allow-releaseinfo-change && apt-get install -y --no-install-recommends git curl ca-certificates\n' | docker build -t cdclint-vhs -
# docker run --rm --shm-size=2g -v "$PWD":/vhs -w /vhs cdclint-vhs docs/demo.tape
#
# The downloads and the clone are followed by Wait on the prompt, not a fixed
# Sleep: a slow clone otherwise has the next command typed into its output.
# --shm-size matters: without it Chromium drops about half the frames and
# the video plays at double speed. The safe.directory line is there because
# the container runs as root on files the host owns; for the same reason the
Expand All @@ -25,23 +27,25 @@ Set WindowBar Colorful
Set CursorBlink false

Hide
Type "git config --global --add safe.directory '*' && mkdir -p /tmp/demo && cd /tmp/demo && export PS1='\[\e[1;34m\]$\[\e[0m\] ' && clear"
Type "git config --global --add safe.directory '*' && mkdir -p /tmp/demo && cd /tmp/demo && export PS1='\[\e[1;32m\]root@avison\[\e[0m\]:\[\e[1;34m\]\W\[\e[0m\]# ' && clear"
Enter
Sleep 500ms
Show

Type "# 1. Download a release and check it against the published checksums"
Enter
Type "curl -sSLO https://github.com/avison9/cdclint/releases/download/v0.4.0/cdclint_0.4.0_linux_amd64.tar.gz"
Type "curl -sSLO https://github.com/avison9/cdclint/releases/download/v0.4.1/cdclint_0.4.1_linux_amd64.tar.gz"
Enter
Sleep 3s
Type "curl -sSLO https://github.com/avison9/cdclint/releases/download/v0.4.0/checksums.txt"
Wait /demo# ?$/
Sleep 500ms
Type "curl -sSLO https://github.com/avison9/cdclint/releases/download/v0.4.1/checksums.txt"
Enter
Sleep 2s
Wait /demo# ?$/
Sleep 500ms
Type "sha256sum --check --ignore-missing checksums.txt"
Enter
Sleep 2s
Type "tar -xzf cdclint_0.4.0_linux_amd64.tar.gz -C /usr/local/bin cdclint"
Type "tar -xzf cdclint_0.4.1_linux_amd64.tar.gz -C /usr/local/bin cdclint"
Enter
Sleep 1s
Type "cdclint --version"
Expand All @@ -57,7 +61,8 @@ Type "# 2. Point it at your three schemas: migrations, connector, sink. Here, a
Enter
Type "git clone -q --depth 1 https://github.com/avison9/cdclint && cd cdclint"
Enter
Sleep 4s
Wait /cdclint# ?$/
Sleep 500ms
Type "cdclint --migrations corpus/include-list-typo/migrations --connector corpus/include-list-typo/connector.json --sink corpus/include-list-typo/sink"
Enter
Sleep 1.5s
Expand Down