LArSoft

Logo

Software for Liquid Argon time projection chambers

View My GitHub Profile

Using git repositories

LArSoft has specific guidelines for git code repositories.

Directory Structure

Optional Subdirectories

Inappropriate Files

Large files

Some files (e.g. xml descriptions) can become quite large. The LArSoft git repositories will reject files which deemed to be too large. The definition of “too large” may change over time.

Binary files

Occasionally some binary (e.g., root) files are needed by the code. It is inappropriate to include binary files in code management systems. If these files are stable and change rarely, they may be candidates for inclusion in larsoft_data. If these files are specific to one experiment, their distribution should be handled by that experiment. If these files change frequently or are larger than 20M or so, it will be better to use dcache and ifdhc. Requests to add files to larsoft_data should be sent to the LArSoft Team.

Other inappropriate files

Backup files created by editors, sed scripts, etc. should never be added to the repository. Files which are automatically generated should not be added to the repository. Care should be taken when adding new directories to make sure only the actual code is added.