Commit Graph

3 Commits

Author SHA1 Message Date
Lukas Bulwahn 53796fc4b1 making layout indentation use 4 spaces
The description is not indented after line breaks. All other
information, i.e., the dependencies and SRCURI, are indented with
four spaces after line breaks. Shell scripts are indented with
multiples of four spaces.

In recipes-ros, I located and checked for tabulators and spacing
with these bash commands:

egrep '^ [^ ]+' . --exclude *.patch -R
egrep '^  [^ ]+' . --exclude *.patch -R
egrep '^   [^ ]+' . --exclude *.patch -R
egrep '^    [ ]+[^ ]+' . --exclude *.patch -R

While going through the recipes and manually improving the layout,
I also adjusted the descriptions to use maximal 100 characters
per line.
2014-08-19 09:09:47 +02:00
Lukas Bulwahn 8249cc8dd5 improving formatting after automated style check
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.
2014-08-18 06:51:31 +02:00
Lukas Bulwahn db1da76e6b pluginlib: updating to 1.9.24
Besides updating, this commit improves the DESCRIPTION.
2014-03-17 12:59:57 +01:00