Skip to content

Script to show tray icon indicating if specified local repositories are up to date with remote

Notifications You must be signed in to change notification settings

piotrgredowski/are_repos_up_to_date

Repository files navigation

Are repos up to date?

This script will check if current commits of specified local repos are the same as on remote.

Requirements on Linux

  • python>=3.6
  • python3-pip
  • sudo
  • git

Additional requirement on OSX

  • pygobject3

Installation

Prepare yaml file with repos to watch:

## repos.yaml

- path: /path/to/1/repo # Default branch is 'master'
- path: /path/to/2/repo
  branch: develop       # You can specify other branch

You can install it with one command but it will require to enter root password.

Place this repository in some cozy place from where it can be started.

install.sh script will work only on Linux and OSX and create systemd (launchd on OSX) service, enable it and start. In consequence check_repos.py will check for repositories indicated in repos.yaml file.

NOTE: Python packages has (as far as I know) to be installed globally, not in virtualenv. Why? Because of using gi by pystray.

./install.sh

About

Script to show tray icon indicating if specified local repositories are up to date with remote

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published