Giter Site home page Giter Site logo

git-tracker's Introduction

USAGE:
------
git-tracker - simple set of python scripts,
which uses git commands for updating your local copies of cloned git repos.


SETTINGS:
git-tracker uses ~/.gitconfig for settings.
After it runs, it checks ~/.gitconfig, and, if there is no "track" section,
then creates it with default values for options.
Here example of "track" section in .gitconfig (see also WARNING 1):
...
[track]
	update = 60
	notify = 10
	pull = false
	uri = /home/ia/devel/src/git
	uri = /home/ia/devel/src/other-cloned-local-git-repo
	uri = ...
...
legend:
* update - time interval (in _minutes_) for checking updates;
* notify - time (_in seconds_) for showing notifications;
if 0, then app doesn't show notifies
* pull - pulling updates, if available. So, if its "false", then app just
shows notification with the latest commit message from updatable repo;
if it's "true", then app pulling updates(see also WARNING 2)
* uri - full path to local cloned git repo; _without_ "/" in the end.


WARNINGS:
* 1. at present time there is no any fool-tolerance checks for "track" settings in gitconfig.
* 2. checking of updates and pulling works _only_ with master branch;
so, if in some repo, which declared in "uri" option, current branch name _is not_ "master",
then probably will be errors during running app.


author
------
Ivan Zorin <[email protected]>


P.S. git icons, commands, and their source code are copyrighted by "git" authors.
See http://git.or.cz for more information about git and copyright info.

git-tracker's People

Contributors

ia avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.