crofty 0.11.0 — apt & dnf on Linux, and an update notice
On Linux, installing and updating crofty was manual, and it was easy to miss a newer release.
Before
- Linux meant downloading a
.deb/.rpmand installing it by hand — and updating meant doing it again. - Package managers don’t silently upgrade a tool, so it was easy to sit on an old build and miss a fix.
After
- A hosted apt/dnf repo: one line to install, and
apt upgrade/dnf updatekeeps it current with the rest of your system. - After a command, crofty prints a one-line update hint when a newer release is
out. It’s quiet (once a day, interactive only), never updates itself, and is
off with
CROFTY_NO_UPDATE_CHECK=1.crofty agent --jsoncarriesupdateAvailableso your assistant sees it too.
# Debian/Ubuntu
echo "deb [trusted=yes] https://apt.fury.io/shirodoromoto/ * *" | sudo tee /etc/apt/sources.list.d/crofty.list
sudo apt update && sudo apt install crofty
# Fedora/RHEL
sudo tee /etc/yum.repos.d/crofty.repo >/dev/null <<'EOF'
[crofty]
name=crofty
baseurl=https://yum.fury.io/shirodoromoto/
enabled=1
gpgcheck=0
EOF
sudo dnf install crofty