How do I modify the source of FogBugz? - FogBugz Knowledge Exchange most recent 30 from http://fogbugz.stackexchange.com 2013-05-25T13:21:33Z http://fogbugz.stackexchange.com/feeds/question/1810 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://fogbugz.stackexchange.com/questions/1810/how-do-i-modify-the-source-of-fogbugz How do I modify the source of FogBugz? FogBugz FAQ 2010-02-05T19:27:52Z 2012-10-19T17:12:43Z <p>I had made changes in FogBugz 6 for PHP/ASP which I need to reapply in FogBugz 7. How do I do it?</p> http://fogbugz.stackexchange.com/questions/1810/how-do-i-modify-the-source-of-fogbugz/1811#1811 Answer by adambox for How do I modify the source of FogBugz? adambox 2010-02-05T19:38:43Z 2012-10-19T17:12:43Z <p>The best way to make changes to FogBugz 7+ is via the <a href="https://developers.fogbugz.com/" rel="nofollow">Plugin Architecture</a>. This is the best way to make sure your changes will continue to work across updates and that you won't need to keep redoing the work every time FogBugz is updated. It also allows you to use your favorite <a href="http://en.wikipedia.org/wiki/List_of_CLI_languages" rel="nofollow">.NET language</a>, share your feature with others and maybe find the feature you need already made on the <a href="http://www.fogcreek.com/FogBugz/plugins/" rel="nofollow">Plugin Gallery</a>.</p> <p>If you want to change the code directly like you did in version 6 though, you can still do so. All the source code is in <code>your-fogbugz-directory\src-Website</code> as Wasabi (.was) files. The language is similar to VB, so you can tell your IDE (such as Visual Studio) to do syntax highlighting for .was files as if they were VB. Note that we cannot provide technical support for modifications you make to FogBugz.</p> <ol> <li><p>Make your changes</p> <p>For example in notifications of incoming emails to FogBugz, you can have it truncate the message to 6000 characters instead of the default 200: edit line 2715 <em>(well that's the number in FogBugz 7.1.10)</em> of <code>your-fogbugz-directory\src-Website\CBug.was</code></p> <p><strong>Note:</strong> <em>as of FogBugz 8, <a href="http://fogbugz.stackexchange.com/questions/126/can-email-notifications-give-me-the-entire-email-message" rel="nofollow">the message is no longer truncated</a></em></p></li> <li>Open a command prompt as an administrator</li> <li>run <code>cd c:\[your-fogbugz-directory]</code> (<code>/opt/fogbugz/bin</code> on unix/mac)</li> <li>run <code>build.bat</code> (<code>sudo ./build.sh</code> on linux*)</li> </ol> <p>Shazam! You're done!</p> <p>* build.sh is currently broken. Please build on a Windows machine or contact us for help.</p>