โ Context
Everyday, BOTs and CI are doing more and more things for us.
At the office, to
build a shared an efficient digital culture,
it is important for programmers (DEVs & OPS) to explain to middle and top management how this technology helps to :
- โฟ Maintain existing source code
- ๐ Release software, new features,...
- โคด๏ธ Loop between the two previous activities
Still it remains a bit abstract.
The goal of this short post is to show how, from a source code point of view,
how BOTs are an extension of the team and can (should ?) be considered as "real" programmers...
that help us in our daily missions... and focus on what really matters :
Innovate, learn, create new features as fast as possible to the market... so they can be released (and then maintained).
๐ฅ Movie show
Visual management is a powerful tool to help understand and gain attention on abstract concepts.
So, to put in evidence how BOTs participate to the teamwork, I thought a short movie could do the job.
๐ This is where gource
helps :
Gource
Description
Gource is a visualization tool for source control repositories.
The repository is displayed as a tree where the root of the repository is the centre, directories are branches and files are leaves. Contributors to the source code appear and disappear as they contribute to specific files and directories.
Requirements
Gource's display is rendered using OpenGL and requires a 3D accelerated video card to run.
Using Gource
gource [options] [path]
options:
-h, --help
Help ('-H' for extended help).
-WIDTHxHEIGHT, --viewport WIDTHxHEIGHT
Set the viewport size. If -f is also supplied, will attempt to set
the video mode to this also. Add ! to make the window non-resizable.
--screen SCREEN
Set the number of the screen to display on.
--high-dpi
Request a high DPI display when creating the window.
On some platforms such as MacOS, the window resolution is specified in points instead of pixels.
The --high-dpi flag may
โฆ๐ฟ Enjoy collaboration replay
Within a very simple command line :
gource \
--key \
--highlight-users \
--date-format "%d/%m/%y" \
--hide mouse,filenames \
--file-idle-time 0 \
--max-files 0 \
--background-colour 000000 \
--font-size 25 \
--output-ppm-stream - \
| ffmpeg -y -r 30 -f image2pipe \
-vcodec ppm -i - -b 65536K movie.mp4
We can see :
- how humans and BOTs collaborate
- on what
- on which pace
- on wich parts of the project
- new programmers arrival
๐ Notice that from a code point of view you can't see the difference between BOTs code and human... except that BOTS often modify the same files, according to a same pattern.
๐ Acknowledgments
Thanks a lot to the programmers who played the role of actors in the movie, by order of appearance ๐ :
- ๐จ
@lschaeffer313
- ๐งโโ๏ธ
@Dougniel
- ๐ค
DependaABOT
- ๐ฆพ
semantic-release-bot
Top comments (1)
Security :