File: HACKING

package info (click to toggle)
fantasdic 1.0beta7-5
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,220 kB
  • ctags: 1,103
  • sloc: ruby: 11,828; xml: 1,480; makefile: 58; ansic: 52; sh: 23
file content (19 lines) | stat: -rw-r--r-- 771 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
In order to keep the code nice and clean we have a few requirements you'll
need to stick to in order to get your patch accepted:

    - use 4-space tabs for indentation and expand tabs to spaces
      (if you use VIM, `set ts=4' and `set et') ; 

    - for code blocks, use { ... } when they can be written into a 
      single line, otherwise use do ... end ;

    - when accessing properties of Ruby-GNOME2 objects, always use
      foo= instead of set_foo ;

    - when hacking the user interface, make sure your changes don't
      break the HIG rules (http://developer.gnome.org/projects/gup/hig/) ;

    - always provide patches in unified form (`cvs diff -u') and with
      a ChangeLog entry. 

Please do not commit without my permission (mblondel@svn.gnome.org).