Abstract
Creating software releases is one of the more tedious occupations in the life of a software developer. For this purpose we have tried to automate as many of the repetitive tasks involved as possible from getting the commits to running the software. For this simplification we rely in large parts on free collaborative services available around GitHub: issue tracking, code review (GitHub), continuous integration (Travis-CI), static code analysis (coverity). The dependencies and compilers used in the continuous integration are obtained by mounting CVMFS into a docker container. This enables running any desired compiler version (e.g., gcc 6.2, llvm 3.9) or tool (e.g, clang-format, pylint). To create tags for the software package the powerful GitHub API is used. A script was developed that first collates the release notes from the description of each pull request, commits the release notes file, and finally makes a tag. This moves the burden of writing release notesfrom the package maintainer to the individual developer. The deployment of software releases to CVMFS is handled via GitLab-CI. When a tag is made the software is built and automatically deployed. In this paper we will describe the software infrastructure used for the iLCSoft and iLCDirac projects, which are used by CLICdp and the ILC detector collaborations, and give examples of automation which might be useful for others.
Highlights
Sophisticated simulation and reconstruction software is needed to address the detector and physics issues for the future Compact Linear Collider (CLIC), a high-energy electron– positron accelerator [1]
Our software suite is developed in the linear collider community and consists of: detector geometry description using DD4hep [2,3,4] which is based on Geant [5, 6] and Root [7]; the iLCSoft framework for reconstruction and analysis based on Marlin [8]; the event data model and persistency format LCIO [9, 10]; and the distributed workload and data management tool iLCDirac [11] based on the DIRAC grid middleware [12]
To preserve our agile and pragmatic approach to software development without sacrificing maintainability and code quality, we rely on a number of tools to automate necessary but tedious tasks as much as possible
Summary
Sophisticated simulation and reconstruction software is needed to address the detector and physics issues for the future Compact Linear Collider (CLIC), a high-energy electron– positron accelerator [1]. Our software suite is developed in the linear collider community and consists of: detector geometry description using DD4hep [2,3,4] which is based on Geant [5, 6] and Root [7]; the iLCSoft framework for reconstruction and analysis based on Marlin [8]; the event data model and persistency format LCIO [9, 10]; and the distributed workload and data management tool iLCDirac [11] based on the DIRAC grid middleware [12]. The Travis-CI can run the configured tasks for each push, pull request, or as a weekly cron job
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have