CERN Accelerating science

Puppet librarian and Git

Date published: 
Tuesday, 13 September, 2016
Document type: 
Summer student report
Author(s): 
D. Petruk
To have the most up to date version of the configuration files for the servers, Jens interfaces directly to the Git binaries to synchronize GitLab repositories and Puppet environments. The initial implementation of the Git module, which is responsible for interacting with Git repositories, was built on just creating a new Git process for each operation. The aim of this project was to evaluate all the libraries in the wild for interacting with Git, go for the best and rewrite git.py using it but also to improve error processing and increase test coverage for better future development.