Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to parse git log straight from repo #299

Open
matthiaskrgr opened this issue Jan 29, 2023 · 1 comment
Open

fails to parse git log straight from repo #299

matthiaskrgr opened this issue Jan 29, 2023 · 1 comment

Comments

@matthiaskrgr
Copy link
Contributor

matthiaskrgr commented Jan 29, 2023

Not sure what exactly is happening here, I tried to run it on https://github.com/mozilla/gecko-dev

When I run gource inside the repo, as well as when I generate my own log via git log --pretty=format:user:%aN%n%ct --reverse --raw --encoding=UTF-8 --no-renames --no-show-signature and then run gource on the log file, gource will just terminate with gource: failed to generate log file and not elaborate any further.

Gource v0.53

@acaudwell
Copy link
Owner

Interesting.

Looks like its because the first two commits have a unix timestamp of 0 for some odd reason. Gource is a bit naively assuming its 0 because it failed to parse. It gives up if it can't parse the first commit. If you edit the file and change them to 1, it works.

The validation could be fixed so that it still works here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants