Skip to content
Snippets Groups Projects
  1. Feb 08, 2021
    • Administrator's avatar
      Check if the last line is terminated by a <newline> character · d3b39189
      Administrator authored
      According to the Posix standard a line of a text is defined as follows:
      
      3.206 Line
      A sequence of zero or more non- <newline> characters plus a terminating
      <newline> character.
      
      The test checks if this is valid for all newly added or changed text files.
      
      I stumbeled over the issue when adding a new header file the list of header
      files used to generate a ROOT dictionary.
      The previous last file of the list did not have a proper file ending and
      attaching the new header file results in a ROOT dictionary source code with
      the following line
      
      '#endif#ifdef'
      
      which could be properly parsed and compiled by the compiler but results in an
      error at run time when loading the library.
      
      To avoid such problems in future the test was added.
      d3b39189
  2. Jan 22, 2021
    • Administrator's avatar
      Add test to check the file format · 32557215
      Administrator authored
      Only files with unix style file endings should eneter the repository.
      Add a CI stage which fails if the file type of a changed file is dos.
      Add a script which executes the actaul test.
      32557215
  3. Dec 03, 2020
  4. Dec 01, 2020
  5. Jul 14, 2020
    • Administrator's avatar
      Fix the code checker · d0f2a773
      Administrator authored
      Only run the piplines when there is a MR to the master branch.
      Properly connect the official CbmRoot repository for the format checker
      such that the differing source files can be found.
      Add a shell script to do this.
      d0f2a773
  6. Jul 10, 2020
Loading