-
-
Save amrnt/248fac28909808ed0632a30bc8633678 to your computer and use it in GitHub Desktop.
Flutter gource visualization commands. Visualizing the commit history with gource.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# gource | |
# https://gource.io/ | |
# flutter | |
# https://github.com/flutter | |
# 1. clone or git pull all repos | |
# 2. build logs | |
gource --output-custom-log log1.txt /Users/branflake2267/git/flutter | |
gource --output-custom-log log2.txt /Users/branflake2267/git/flutter-engine | |
gource --output-custom-log log3.txt /Users/branflake2267/git/flutter-intellij | |
cat log1.txt log2.txt log3.txt | sort -n > combined.txt | |
# 3. create visualization from logs | |
gource combined.txt --bloom-intensity .001 --seconds-per-day 0.001 --auto-skip-seconds 1 --title "Flutter (repos: flutter, flutter-engine, flutter-intellij) 3/18/2017" --hide dirnames,filenames -2560x1440 -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 gource2.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment