Skip to content
Snippets Groups Projects
  • Lukas Bulwahn's avatar
    8249cc8d
    improving formatting after automated style check · 8249cc8d
    Lukas Bulwahn authored
    After running oe-stylize.py on all recipes in recipes-ros, this
    commit improves the formatting of some recipes.
    
    To achieve this, I executed these commands in recipes-ros:
    find . -name *.bb | sed 's#\(.*\)#./oe-stylize.py \1 > \1_sanitized#' | sh
    find . -name *.bb | sed 's#\(.*\)#diff -Naur \1 \1_sanitized#' | sh > diffs
    
    Then, I manually inspected the diffs file, and improved the
    recipes.
    
    For the DESCRIPTION line in the addressed recipes, the line width
    of 100 characters was chosen, as the LIC_FILES_CHKSUM line and
    SRC_URI line usually are also around about 100 characters long.
    Hence, choosing a shorter line width, e.g. 80 characters, would
    have only created more line breaks, but not reduced the need to
    use a file viewer with which 100 characters line width can be
    displayed. For the github file and diff viewer and most editors
    on reasonably-sized screens, 100 character line width is no
    problem.
    8249cc8d
    History
    improving formatting after automated style check
    Lukas Bulwahn authored
    After running oe-stylize.py on all recipes in recipes-ros, this
    commit improves the formatting of some recipes.
    
    To achieve this, I executed these commands in recipes-ros:
    find . -name *.bb | sed 's#\(.*\)#./oe-stylize.py \1 > \1_sanitized#' | sh
    find . -name *.bb | sed 's#\(.*\)#diff -Naur \1 \1_sanitized#' | sh > diffs
    
    Then, I manually inspected the diffs file, and improved the
    recipes.
    
    For the DESCRIPTION line in the addressed recipes, the line width
    of 100 characters was chosen, as the LIC_FILES_CHKSUM line and
    SRC_URI line usually are also around about 100 characters long.
    Hence, choosing a shorter line width, e.g. 80 characters, would
    have only created more line breaks, but not reduced the need to
    use a file viewer with which 100 characters line width can be
    displayed. For the github file and diff viewer and most editors
    on reasonably-sized screens, 100 character line width is no
    problem.