« Previous | Next » 

Revision 9110fb4a

ID9110fb4aa3519b9798b41d43ef9d2e535594bcc1
Parent ed748771
Child fcd2359a

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