Commit 980348beb130c99f7741095f8571270730636361

Updated HACKING with dependencies, coding guidelines and notes on external job scripts

Commit diff

HACKING

 
22
33=== Dependencies
44
5Ruby libraries/bindings/gems
6
57* BlueCloth (http://rubyforge.org/projects/bluecloth/)
68* mime-types (http://rubyforge.org/projects/mime-types)
79* oniguruma (http://rubyforge.org/projects/oniguruma)
8** requires the oniguruma C library: (http://www.geocities.jp/kosako3/oniguruma/)
910* textpow (http://rubyforge.org/projects/textpow)
10* chronic
11* rmagick
11* chronic (http://rubyforge.org/projects/chronic)
12* rmagick (http://rubyforge.org/projects/rmagick)
13
14Libraries/applications:
15
16* Git (http://git-scm.org)
17* Oniguruma C library (http://www.geocities.jp/kosako3/oniguruma/)
18* Sphinx (http://sphinxsearch.com/)
19
20(App is deployed on mysql, allthough source should be free of mysql-isms/quirks)
21
1222
1323=== The Hackers digest guide:
1424
3434
3535Consult the mailinglist (http://groups.google.com/group/gitorious) or drop in
3636by #gitorious on irc.freenode.net if you have questions.
37
38
39=== Tasks and other scripts
40
41* script/task_performer runs any tasks in the queue (creating repositories etc)
42* script/graph_generator generates graph.
43* rake ultrasphinx:index runs the search indexer
44
45
46=== Coding style
47
48* Two spaces, no tabs, for indention
49* Don't use and and or for boolean tests, instead always use && and ||
50* MyClass.my_method(my_arg) -- not my_method( my_arg ) or my_method my_arg
51* Unless presedence is an issue; do .. end for multi-line blocks, braces for single line blocks
52* Follow the conventions you see used in the source already
53
54(copied mostly verbatim from dev.rubyonrails.org)
55
toggle raw diff