Code Monkey home page Code Monkey logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
[deleted comment]

from gource.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Hi. I thought I'd fixed this by using commit date. I guess not.

--date-order didn't appear to fix this testing against the Linux kernel.

Using this command line to test it:

cat logfile.txt | perl -lne 'chomp; next unless /^\d+$/; print "$_ < $last :
".($last-$_) if $_ lt $last;'

I'm not sure git-log actually has a mode which will sort by the commit timestamp
disregarding all other factors.

Other than a better log command the only ways I see around this are:
- pre sort the log file using a script before giving it to Gource (fairly 
trivial)
- Gource could have a --sort option which has to read and sort the entire log 
before
playing it, which might add a lot of start up time in some cases.

Original comment by [email protected] on 2 Oct 2009 at 2:28

from gource.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Or, Gource could just adjust the top date if the encountered commit date is 
less than
the previous commit date.

Original comment by [email protected] on 2 Oct 2009 at 3:40

from gource.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
I'm getting a similar issue, or maybe even the same one, in a repository that 
has no
branches or (as far as I can see) commits that are not in date order. I have a 
hunch
that the date displayed at the top is somehow losing track when the playback 
speed is
changed using the -/+ keys.

For example, I played back a repo that runs from 2004 to the present day, with
playback sped up quite a bit. It wasn't long before the date at the top had 
gone to
2012 and beyond, while what was actually showing on screen looked more like 
activity
from 2005.

Original comment by [email protected] on 2 Oct 2009 at 1:54

from gource.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Yeah that is a slightly different issue.

Gource does get behind the action if you use a large time increment and busy 
users. I
have added a --max-commit-lag SECONDS option in the development version which 
causes
changes to appear regardless of where the user is if they're more than SECONDS 
old.

I might also cap the time increment at 1 month per second and make + / - 
changed the
increment by 1 day so it's not you encounter without going out of your way to 
make it
happen.

Original comment by [email protected] on 3 Oct 2009 at 12:17

from gource.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
This is now fixed in 0.15.

Gource will stay in sync with the order the log file is in rather than running 
off
into the future.

Original comment by [email protected] on 21 Oct 2009 at 4:24

  • Changed state: Fixed

from gource.

Related Issues (20)

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.