Coder Social home page Coder Social logo

gource-live's Introduction

Gource LIVE

Visualize activitiy in a VCS branch (LIVE commits!) by polling the repository for new commits and feeding the log of changes to Gource.

Supported VCS:

  • Git
  • Bazaar
  • Subversion
  • Mercurial

Requirements

Running gource live

  1. Add this project to your PATH environment variable

  2. cd into your project's work tree (= local clone, checkout)

  3. Run gource-live.sh or /path/to/this/project/gource-live.sh

You could also specify the work tree on the command line, for example:

./gource-live.sh /path/to/work/tree

By default this will poll the repository every 5 seconds, and feed the changes to Gource. Run gource-live.sh --help for more options.

Debugging gource live

The script has some helpful flags for debugging.

To see what logs would be piped to Gource, the --feed-only flag is helpful, and it's also practical to set the polling interval to 0 using the -i flag, which will effectively make the feeder script exit after a single run:

./gource-live.sh --feed-only -i 0 /path/to/work/tree

It can be also useful to debug the feeder scripts directly, for example:

./feeders/bzr.sh /path/to/bzr/branch 0

You can run the feeder scripts without any parameters to print the usage help and see what parameters they need, for example:

$ ./feeders/svn.sh 
usage: ./feeders/svn.sh PROJECTDIR INTERVAL [STARTREV|0 RELSTART]

TODO

More feature ideas to do someday.

  • add support for hg (mercurial)

  • bzr and svn could work without a local clone, getting info off the repo url

  • embed sample repos and a harness for easier testing

gource-live's People

Contributors

janosgyerik avatar whitewhidow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gource-live's Issues

Show entire tree when started

Would it be possible to show the entire tree upon start? Instead of just the leaves containing the current changes?
If I have a huge tree it takes a while to recreate it with gource-live.sh -s ... which is a pain when restarting gource or the machine ..

endless loop

first off, did i even merge the 2 branches correctly ?

this is the output im getting now, when trying to visualise the gource-live repo :

1362055941|sam janssens|A|git-live.sh
1362056042|sam janssens|M|README.md
1362056067|sam janssens|M|README.md
1362059252|samjanssens|M|git-live.sh
1362059316|samjanssens|M|README.md
1368004252|whitewhidow|M|README.md
1368454634|Janos Gyerik|M|feeders/feeder-git.sh
1368455339|Janos Gyerik|M|feeders/feeder-svn.sh
1368455511|Janos Gyerik|M|feeders/feeder-bzr.sh
1368474884|Janos Gyerik|M|feeders/feeder-git.sh
1368477192|Janos Gyerik|M|gource-live.py
1368457175|whitewhidow|M|gource-live.py
1368459237|whitewhidow|M|feeders/feeder-git.sh
1368459533|whitewhidow|M|feeders/feeder-git.sh
1368474884|Janos Gyerik|M|feeders/feeder-git.sh
1368477192|Janos Gyerik|M|gource-live.py
1368457175|whitewhidow|M|gource-live.py
1368459237|whitewhidow|M|feeders/feeder-git.sh
1368459533|whitewhidow|M|feeders/feeder-git.sh
1368474884|Janos Gyerik|M|feeders/feeder-git.sh
1368477192|Janos Gyerik|M|gource-live.py
1368457175|whitewhidow|M|gource-live.py
1368459237|whitewhidow|M|feeders/feeder-git.sh
1368459533|whitewhidow|M|feeders/feeder-git.sh
1368474884|Janos Gyerik|M|feeders/feeder-git.sh
1368477192|Janos Gyerik|M|gource-live.py
1368457175|whitewhidow|M|gource-live.py
1368459237|whitewhidow|M|feeders/feeder-git.sh
1368459533|whitewhidow|M|feeders/feeder-git.sh
1368474884|Janos Gyerik|M|feeders/feeder-git.sh
1368477192|Janos Gyerik|M|gource-live.py
1368457175|whitewhidow|M|gource-live.py
1368459237|whitewhidow|M|feeders/feeder-git.sh
1368459533|whitewhidow|M|feeders/feeder-git.sh

it seems to be looping entries ...?

git feed reversed ?

is the git feed reversed? it seems to be outputting the most recent commits first, working its way back in history ..

gource: unsupported log format

When trying to run against the latest version of gource I get

$ python "C:\Program Files (x86)\Gource\gource-live.py"
['C:\\Program Files (x86)\\Gource\\feeders/feeder-git.sh', 'origin', 'master', '5', '']
gource: unsupported log format (you may need to regenerate your log file)
Try 'gource --help' for more information.

Doing --show-feeed yields

Welcome to Git (version 1.8.1.2-preview20130201)


Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
1375196695|Marco Hugentobler|M|src/mapserver/qgis_map_serv.cpp
1375196695|Marco Hugentobler|M|src/mapserver/qgsconfigparser.h
1375196695|Marco Hugentobler|M|src/mapserver/qgsprojectparser.cpp
1375196695|Marco Hugentobler|M|src/mapserver/qgsprojectparser.h
1375198268|Borys Jurgiel|M|python/pyplugin_installer/installer_data.py
1375266054|pcav|M|i18n/qgis_it.ts
1375270966|Marco Hugentobler|M|src/analysis/raster/qgsrastercalclexer.ll
1375270966|Marco Hugentobler|M|src/app/qgsrastercalcdialog.cpp
1375270966|Marco Hugentobler|M|src/app/qgsrastercalcdialog.h
1375281249|Marco Hugentobler|M|src/core/symbology-ng/qgsfillsymbollayerv2.cpp
1375298837|Werner Macho|M|doc/TRANSLATORS
1375298837|Werner Macho|M|i18n/qgis_da_DK.ts
1375298837|Werner Macho|M|i18n/qgis_es.ts
1375298837|Werner Macho|M|i18n/qgis_ko_KR.ts
1375298837|Werner Macho|M|i18n/qgis_nb_NO.ts

Gource-live with multiple repositories

I know how to run gource live and I know how to run normal gource with mulitple repositories, but is there a way to show both, live and multiple repositories?

Thank you and regards

Sven

gource-live.py --remote origin --branch Development | not generating output

Tried running the following:

./gource-live.py --remote origin --branch Development

It was just hanging for a while, so i killed it with CTRL+C wich produced the following

Traceback (most recent call last): File "./gource-live.py", line 53, in <module> gource.communicate() File "/usr/lib/python2.7/subprocess.py", line 751, in communicate self.wait() File "/usr/lib/python2.7/subprocess.py", line 1291, in wait pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0) File "/usr/lib/python2.7/subprocess.py", line 478, in _eintr_retry_call return func(*args) KeyboardInterrupt

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.