Keep track of outdated packages using a variety of package managers.
I, like many other developers, use various package managers to install and manage packages. I have a cronjob that runs every night thats supposed to keep all these packages up to date, but sometimes I'd like to know what's going to be updated when the job runs. Inspired by Polybar widgets on Linux, this plugin for Bitbar will display the combined number of outdated for a number of package managers. Another inspiration was the meta package manager plugin, unfortunately I could not get this to work and decided to rewrite the core functionality myself. This project shares no code but I did make sure to support all of the same package managers.
- Support for
- Brew
- Brew Cask
- Node Package Manager
- Atom Package Manager
- Mac App Store
- Gem
- PIP
- Quickly enable and disable managers to check in one string at the top of the document
- Custom icons to display along side outdated packages list
- Customizable state for 0 outdated packages
- Easy to add support for new package managers down the line
- Dropdown breaks down the outdated packages for every package manager enabled
- Package manager dropdown displays list of outdated packages for that manager
-
Brew
-
Brew Cask
-
Mac App Store
-
Gem
-
Node
-
APM
-
PIP
- pip
- pipupgrade technically not needed as terminal command dont work right now. See Known Issues.
- Drag and drop the Packages.6h.sh file into your Bitbar plugins folder
- Run
chmod +x Package.6h.sh
to allow execution of the file. - By default this plugin is set to run every 6 hours. You can rename the file to change that. Check the Bitbar wiki for more information. Keep in mind, this is very network intensive, so don't run it too often.
- Edit $USE, add or remove package managers as you see fit.
- Edit $ICON and $ZERO to customize, or leave it as is.
- Pip doesn't show up in dropdown despite output being formatted perfectly when script is executed in the terminal. Perhaps this is a Bitbar issue?
- Terminal commands not executing when clicked.
- Add option to upgrade specific package in second-level dropdown menu.
- Add color options based on number of outdated packages?
A: Thats are my other project, Yabai-Spaces plugin for Bitbar. Check it out!
Feel free to make changes and republish as you see fit, but please give credit in the form of a link to this page!