This tool pulls commit data from a remote source (e.g. Github, Bitbucket etc) and outputs a file which can be ingested by gource.
This makes it easier to generate multi-repo Gource outputs based on a team workspace/organisation.
pip install remote-gource
TODO.
The Gource log format looks like the following.
<unix_timestamp>|<committer_name>|<[M]odified/[A]dded/[D]eleted>|<path_to_touched_file>
By default, Gource only understands a single branch on a single repo. In order to render "multiple repos", we can concatenate the logs (detailed above) from each repo/branch and transform each line by prepending the repo name to the file path. This emulates one big "virtual" repo with the real repos being subfolders.
On top of this, we can use the --hide root
option to render each subfolder separately (without a connecting node).
Config is stored at $XDG_CONFIG_HOME/remote-gource/config.yaml
. See the default config for the general structure.
- Create an app password here. Make sure you grant read access to "Workspace membership" and "Projects".
- Fill out the
client_id
,client_secret
andworkspace
fields in your config file.
Not supported yet.