Repository navigation
PowerStub v2.1.0
·
7 commits
to main
since this release
PowerStub 2.1.0
- Running a command from a stub in a Git repository now tells you when that repository is behind its remote:
You do not have the latest version of 'DevOps' (3 commit(s) behind). Run 'pstb update DevOps' to get the latest version. - The check never slows commands down. It runs
git fetchin a hidden background process at most every 4 hours per stub, and the result is shown on a later run, once per repository per session. - Set
UpdateCheckIntervalHoursin the config file to change the interval, or to0to turn it off. Setting thePOWERSTUB_NO_UPDATE_CHECKenvironment variable also turns it off. CI jobs and-NonInteractivesessions are never checked. - Nothing changes when Git is not installed, when Git integration is disabled, or for stubs outside a Git repository. Stubs inside and outside repositories can be mixed.
Whats Changed
- fix(release): update repository and package links for PowerStub rename
- feat(git): notify when a stub's repository is behind its remote
- test(git): name the branch in update check fixtures
Full Changelog: v2.0.3...v2.1.0