This repo contains both the code for calculating your bus factor and the slides from the presentation.
Install R and the RStudio graphical user interface then start RStudio.
Windows users:
Mac users:
Linux users:
- R binary packages or search your package manager (e.g.
r-base
in ubuntu) - RStudio binaries
Once you've got R and Rstudio running, you can open up the two files in the code directory:
- bus-factor.r provides the functions required to extract and aggregate the authorship data and calculate the bus factor;
- plot.r provides an example of how to call those functions and plot a chart showing the relative contribution of different authors.
You'll need to point the function at a git repository. You may find R's getwd
and setwd
commands useful for navigating your file system.
The slides are build with the Shower Framework with an extra gulp task for converting haml to html.
To rebuild the slides:
cd slides
npm install
gulp prepare
Optionally you can use gulp watch
to have them automatically rebuilt every time you save the index.haml
or css/extra.css
files.
Shower is released under the MIT License.
This talk is based upon an article I wrote for Linux Voice Magazine.
The code and slides are made available under a Creative Commons Attribution Sharealike License (CC-BY-SA).