~db-keen/alexandria/working

« back to all changes in this revision

Viewing changes to doc/HACKING

  • Committer: method
  • Date: 2007-06-18 22:34:38 UTC
  • Revision ID: svn-v4:9992d806-23ff-4cc5-b4c6-abbc17c6a14e:trunk/alexandria:708
Preparing for packaging

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
In order to keep the code nice and clean we have a few requirements you'll
 
2
need to stick to in order to get your patch accepted:
 
3
 
 
4
    - use 4-space tabs for indentation and expand tabs to spaces
 
5
      (if you use VIM, `set ts=4' and `set et') ; 
 
6
 
 
7
    - for code blocks, use { ... } when they can be written into a 
 
8
      single line, otherwise use do ... end ;
 
9
 
 
10
    - when accessing properties of Ruby-GNOME2 objects, always use
 
11
      foo= instead of set_foo ;
 
12
 
 
13
    - when hacking the user interface, make sure your changes don't
 
14
      break the HIG rules (http://developer.gnome.org/projects/gup/hig/) ;
 
15
 
 
16
    - always provide patches in unified form (`cvs diff -u') and with
 
17
      a ChangeLog entry. 
 
18
 
 
19
Be bold.