This commit is contained in:
Roey Darwish Dror
2018-05-31 16:27:23 +03:00
parent b2d7367c8f
commit 1f9b837309
2 changed files with 29 additions and 0 deletions

29
README.md Normal file
View File

@@ -0,0 +1,29 @@
# Topgrade
![Alt Text](doc/screenshot.gif)
Keeping your system up to date mostly involves invoking more than a single package manager. This
usually results in big shell one-liners saved in your shell history. Topgrades tries to solve this
problem by detecting which tools you use and invoke their appropriate package managers.
## Installation
Use `cargo install` to install it from Github. I'll post precompiled binaries in the future.
## Usage
Just invoke `topgrade`. It will invoke the following steps:
* Check if the following paths are tracked by Git. If so, pull them:
* ~/.emacs.d (Should work whether you use [Spacemacs](http://spacemacs.org/) or a custom configuration)
* ~/.zshrc
* [~/.oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
* ~/.tmux
* *Unix*: Invoke [zplug](https://github.com/zplug/zplug) update
* *Unix*: Upgrade tmux plugins with [TPM](https://github.com/tmux-plugins/tpm)
* Invoke Cargo [install-update](https://github.com/nabijaczleweli/cargo-update)
* Upgrade Emacs packages
* *Linux* - Invoke the system package manager:
* *Arch* - Invoke [yay](https://github.com/Jguer/yay) or fall back to pacman
* *Linux* - Run [needrestart](https://github.com/liske/needrestart)
* *macOS* - Upgrade [Homebrew](https://brew.sh/) packages
* *macOS* - Upgrade App Store applications

BIN
doc/screenshot.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 KiB