« Previous | Next » 

Revision a41a1eec

IDa41a1eec182ac93bf2eaa52ddb53c80d0a9157a2
Parent bced76fd
Child 7bd8ce44

Added by Santi Raffa almost 7 years ago

Add code style document to documentation

The Ganeti code style has been stored on the project wiki at:

https://code.google.com/p/ganeti/wiki/StyleGuide
https://code.google.com/p/ganeti/wiki/HaskellStyleGuide

This commit combines the two pages into an .rst file with minimal
formatting and language changes. Note that the style guide introduced
in this commit does not fit the code base in a number of ways,
including:

  • Some Haskell files have lines longer than 78 characters
  • Some Haskell files have trailing whitespace
  • Some Python docstring initial sentences lack punctuation at the end

The decision to either change the offending lines to fit the guidelines,
to change the guidelines to fit the codebase or to simply ignore the
discrepancies is left for other commits to solve.

Signed-off-by: Santi Raffa <>
Signed-off-by: Petr Pudlak <>
Reviewed-by: Petr Pudlak <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences