tursodatabase/turso-cli

Forced automatic upgrade experience sucks

Open

#706 创建于 2023年10月25日

在 GitHub 查看
 (4 评论) (1 反应) (0 负责人)Go (50 fork)github user discovery
bugdeveloper experiencehelp wanted

仓库指标

Star
 (302 star)
PR 合并指标
 (PR 指标待抓取)

描述

I was doing turso db shell autocomplete, but it was just hanging forever.

I then ran turso db list and the output looked like this:

penberg@vonneumann limbo % turso db list
NAME            URL
testing          libsql://testing-penberg.turso.io
Updating to the latest version
Casks/a/affine.rb already exists, no checkout
Casks/b/batchoutput-pdf.rb already exists, no checkout
Casks/b/brickstore.rb already exists, no checkout
error: could not restore untracked files from stash
Updated 4 taps (tursodatabase/tap, redpanda-data/tap, homebrew/core and homebrew/cask).
==> New Formulae
azion-cli           haiti               snyk-cli            three-body
==> New Casks
batchoutput-pdf
==> Outdated Formulae
abseil              gh                  libuv               pycparser
asciinema           glib                libx11              pygments
assimp              gmp                 libxcb              python@3.10
awscli              gnutls              llvm                python@3.11
boost               grpcurl             luajit              python@3.9
brotli              harfbuzz            luajit-openresty    qemu
c-ares              hugo                maven               six
cairo               jpeg-turbo          mysql-client        sphinx-doc
capstone            jq                  nghttp2             sqld
ccloud              k6                  node                sqlite
cffi                krb5                node@16             turso
cmake               libevent            oniguruma           unbound
deno                libfido2            openjdk             unixodbc
docutils            libnghttp2          openjdk@11          vault
erlang              libpng              openssl@1.1         wabt
esbuild             libpq               openssl@3           wxwidgets
flyctl              libpthread-stubs    p11-kit             zlib
freetype            libssh              protobuf
gettext             libtiff             pscale
==> Outdated Casks
ngrok

You have 74 outdated formulae and 1 outdated cask installed.
You can upgrade them with brew upgrade
or list them with brew outdated.
==> Upgrading 1 outdated package:
tursodatabase/tap/turso 0.86.3 -> 0.87.0
==> Fetching tursodatabase/tap/turso
==> Downloading https://github.com/tursodatabase/homebrew-tap/releases/download/
==> Downloading from https://objects.githubusercontent.com/github-production-rel
######################################################################### 100.0%
==> Upgrading tursodatabase/tap/turso
  0.86.3 -> 0.87.0


Welcome to Turso!

If you are a new user, please sign up with turso auth signup; otherwise login
with turso auth login. When you are authenticated, you can create a new
database with turso db create. You can also run turso help for help.

For a more comprehensive getting started guide, open the following URL:

  https://docs.turso.tech/tutorials/get-started-turso-cli

==> Caveats
zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions
==> Summary
🍺  /opt/homebrew/Cellar/turso/0.87.0: 6 files, 18.5MB, built in 8 seconds
==> Running `brew cleanup turso`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /opt/homebrew/Cellar/turso/0.86.3... (6 files, 18.5MB)
Removing: /Users/penberg/Library/Caches/Homebrew/turso--0.86.3.tar.gz... (5.6MB)

Let's make sure that the forced auto-upgrade does not screw up the developer experience like this. For example, autocomplete should never trigger it. Also, the output of auto-upgrade should be silent by default, and the actual command people wanted to run should run after the update.

贡献者指南