Skip to content

Instantly share code, notes, and snippets.

@balzer82
Created June 19, 2020 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save balzer82/5650c71bbc15d96f4faa509ba57149b5 to your computer and use it in GitHub Desktop.
Save balzer82/5650c71bbc15d96f4faa509ba57149b5 to your computer and use it in GitHub Desktop.
Visualization of the Development of the Corona Warn App
echo "Make a Gource Video of the Corona Warn App Development Process"
echo "1588432052|Begin of Development" > cwa-caption.txt
for repo in documentation server verification-server verification-portal verification-iam testresult-server app-ios app-android; do
# Clone the Repos
git clone https://github.com/corona-warn-app/cwa-${repo}.git
# Extract the Gource infos
gource --output-custom-log cwa-${repo}.txt cwa-${repo}/
# Add Repo Name in front of path in file
sed "s,/,/cwa-${repo}/," cwa-${repo}.txt > cwa-global-${repo}.txt
done
cat cwa-global-*.txt | sort -n > global-cwa-development.txt
echo "1590823000|Begin of iOS & Android App Development" >> cwa-caption.txt
echo "1592265600|App Release" >> cwa-caption.txt
gource global-cwa-development.txt -1980x1080 \
--title "Visualisierung der Entwicklung der Corona-Warn-App auf Github, made with Gource, CC-BY2.0 Paul Balzer" \
--logo CWA_title.png \
--caption-file cwa-caption.txt --caption-size 40 \
--seconds-per-day 5 \
--date-format "%d.%m.%Y %H:%M" \
--dir-colour B9B8B5 \
--highlight-users --user-scale 5.0 --max-user-speed 100 --user-font-size 20 \
--hide filenames,mouse \
-r 60 \
-o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 10 -threads 0 -bf 0 global-cwa-development.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment