This ds
library code needs to follow some guideline NOW. The intention is to follow dss2 guideline. We discussed this topics in Bratislava 2016 meeting, but I don't think we covered everything and my memory is not perfect. It is possible to evolve the guideline later, but we will need to adapt more code or keep the code out of sync.
I would really like to let clang-format
to make all decisions about white spaces. Main motivation is to avoid coding and review time to be wasted on formatting. What cannot be explained to clang-format, that cannot be a rule. We may have to agree on something we don't like or we may patch clang-format if it is important enough. This is an example how clang-format
reformatted code in ds folder: https://git.digitalstrom.org/brano/vdsm/commit/4c5e907fa64cfca1577c4360e8340074275813da
Contrary to what we agreed in Bratislava 2016, unit tests are committed in the same directory as the code being tested.
@chhitz @mtross @jin @mtross @taw @jeanvisagie @pkochanowski