purplecat: Hand Drawn picture of a Toy Cat (programming)
purplecat ([personal profile] purplecat) wrote in [site community profile] dw_dev_training2012-05-07 07:40 pm

Including changes to config files in patches

Still working on Bug 2152. The bug involves allowing people to have multiple stickies and the number they can have depends upon their account type. Adding this feature is going to involve a new config setting where someone sets the numbers of stickies allowable for each account type. However I've done the whole protect your configs from updates thing which means the new config settings aren't showing up in the patch files I create.

Should I just document the extra settings needed in the files? especially since the actual numbers associated with each account type aren't particularly important to the code and should probably be decided upon by the powers that be separately from the actual patch? or should I include some default values in the patch and, if so, what is the best way to go about getting these picked up by cvsreport.pl -d?
alierak: (Default)

[personal profile] alierak 2012-05-07 11:29 pm (UTC)(link)
I would say include them in the patch; config settings should have defaults for new installs, at least. It sounds like you would need to apply your changes under cvs/dw-free/etc to have them show up in the patch (but changes here won't show up in your running dreamhack, so don't bother doing this until you're making a patch I guess).