Skip to content

A script to create a gource timelapse for all the repos of an organization

Notifications You must be signed in to change notification settings

jlengrand/gource-organization-vizualization

Repository files navigation

Yearly Open-Source Contribution Vizualization and GitHub stats

This set of scripts was used to compile the data needed to create this Tweet.

A screenshot of the Tweet

Prerequisites

To run this script you need to have installed

  • Python 3.6 or higher
  • Gource
  • jq
  • ffmpeg
  • Run some kind of Linux system :).

The scripts also make use of the GitHub Search queries.

Different scripts

Note: These scripts are meant to run on all repositories in the Adyen organization. You will need to update the values to fit your needs

Note2: In my case, those scripts only run on public data, be mindful when running those scripts on your own data :)

clone.sh

This is the first script you want to run. It clones all the repositories in the Adyen organization. You want to change the orgs/adyen/ part of the URL to your own organization.

all-repos.sh

Once you have cloned all the necessary repositories, you can run all-repos to generate your vizualization video. The script:

  • Compiles the history of each repository in the gource format
  • Changes the history to append the project name, to create clusters in the graphs. See this wiki page for more information.
  • Combines the histories in a single file
  • Runs gource to generate the animation. I'm using only last year's data, and specified a custom logo and title. Feel free to change the settings.
  • Finally, it runs ffmpeg to convert the animation to a video.

count-commits.sh

You can also run this script to get various statistics about the organization.

The script :

  • Goes through the clones to count the total number of commits the past year
  • Uses the Github Search API to get the number of issues and pull requests opened and closed in the past year
  • Uses the unique-commiters script to get the number of unique commiters in the history of the organization.

Disclaimer

This repository contains hard coded scripts and are here for reference. Run them at your own risks, I am not responsible for any issue you might encounter :).

If needed, I'll create a more generic version in the future, maybe next year :).

✨🎅🎄Take care everyone, and enjoy the end of the year!🎄🎅✨

LICENSE

None :)

Author

Julien Lengrand-Lambert

About

A script to create a gource timelapse for all the repos of an organization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published