X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fdocs%2Fhacking.pod;h=23ce51e3a619db835fabec1f58fed928f56228aa;hp=396c5623d40cb2364802b3ae26ce2119c4e9484a;hb=9aee669886202be7035e6c6049fc71bc99dd3013;hpb=85e677b86fc37c54e6de2b06340351a28f5a5916 diff --git a/rt/docs/hacking.pod b/rt/docs/hacking.pod index 396c5623d..23ce51e3a 100644 --- a/rt/docs/hacking.pod +++ b/rt/docs/hacking.pod @@ -38,7 +38,9 @@ For example, a bugfix branched from C<4.0-trunk> might be named C<4.0/fail-taint-mode-early>. A feature branched from C when there exists a C<4.0-trunk> but no C<4.2-trunk> might be named C<4.2/rename-LogToScreen>. For consistency, branches should use dashes, -not underscores, to separate words. +not underscores, to separate words. Branches which are destined for +4.2, but which are branched from 4.0 (to provide for easy extraction as +a 4.0 extension) should be named 4.2-on-4.0/branch-name. Branches should be reviewed by another developer before being merged. Reviewers should make sure that the branch accomplishes what it claims @@ -151,8 +153,14 @@ C<#loc_left_pair> is used for declaring that the I of a particular C<< key => value >> pair is translatable. This is of very limited usefulness. -C<#loc_right_pair> does NOT exist. C<#loc> works in such cases since -its parser does not extend beyond the string at the end of a line. +C<#loc_right_pair> does NOT exist. C<#loc> works in such cases since its +parser does not extend beyond the string at the end of a line. However, +if the string is I at the end of the line, C<#loc{word}> declares +that the value associated with the key I (earlier on the same +line) is to be loc'd. This is useful for inline hashes: + + # Note the string "baz" is to be loc'd + foo => { bar => "baz", troz => "zort" }, # loc{bar} =head1 Development tips @@ -170,7 +178,7 @@ can create and drop databases: You'll need to configure RT and make sure you have all the dependencies before running tests. To do this in place without installing: - ./configure.ac --with-my-user-group --enable-layout=inplace --with-devel-mode + ./configure.ac --with-my-user-group --enable-layout=inplace --enable-developer make testdeps make fixdeps