3

3

I had made changes in FogBugz 6 for PHP/ASP which I need to reapply in FogBugz 7. How do I do it?

flag

1 Answer

1

The best way to make changes to FogBugz 7+ is via the Plugin Architecture. 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 .NET language, share your feature with others and maybe find the feature you need already made on the Plugin Gallery.

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 your-fogbugz-directory\src-Website 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.

  1. Make your changes

    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 (well that's the number in FogBugz 7.1.10) of your-fogbugz-directory\src-Website\CBug.was

    Note: as of FogBugz 8, the message is no longer truncated

  2. Open a command prompt as an administrator
  3. run cd c:\[your-fogbugz-directory] (/opt/fogbugz/bin on unix/mac)
  4. run build.bat (sudo ./build.sh on linux*)

Shazam! You're done!

* build.sh is currently broken. Please build on a Windows machine or contact us for help.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.