Introducing: The FREE 15 DayCopilot Trial Account

Thursday, August 07, 2008 by Michael H. Pryor

Many of you have taken advantage of the free FogBugz Trial account that we offer at https://try.fogbugz.com.  The trial account gives you a chance to try FogBugz completely risk-free and make sure that it's really a good fit.  We're happy now to offer you a chance to try Fog Creek Copilot the same way.  Developed by the now-famous Aardvark’d interns, Fog Creek Copilot makes it REALLY easy to help your customers, family and friends.  Lots of FogBugz users (us included) already use Copilot to provide remote support for their products.  If you don’t already have an account, you can sign up now for a fifteen-day free trial by going to:

 

https://www.copilot.com/freetrial/

Categories: Copilot
Actions: E-mail | Permalink

FogBugz Leopard and Mampstack

Wednesday, August 06, 2008 by Michael H. Pryor

Stefan from WuffWuffWare.com sent us instructions on getting FogBugz installed with Mampstack and I wanted to make sure they were available in case someone else was attempting the same:

Install BugFogz on Leopard 10.5.4 inside Bitnamis Mampstack

  • The MacOS X machine is a vanilla machine with all the current software updates and a single user called admin
  • WebSharing is off, so we dont interfere with the MAMPStack
  • IP-Adress for that example is 192.168.178.199

INSTALL THE MAMPSTACK FROM BITNAMI

  • Download the current MAMPStack from www.bitnami.com
  • For this documentation we use MAMPStack 1.0-beta-1
  • Install Bitname MAMPStack to /Applications/mampstack-1.0-1
  • Give MAMPStack database a root user password


The for the sake of simplicity:
sudo ln -s /Applications/mampstack-1.0-Beta-1 /Applications/mampstack

Until FogBugz has some settings for the path of PHP:
sudo mv /usr/bin/php /usr/bin/php-orig
sudo ln -s /Applications/mampstack/php/bin/php /usr/bin/php
sudo ln -s /Applications/mampstack/php/bin/pear /usr/bin/pear
sudo ln -s /Applications/mampstack/php/etc/php.ini /etc/php.ini


In /etc/php.ini change:
- Replace all mampstack-1.0-beta-1 with mampstack

In /Applications/mampstack/apache2/conf/httpd.conf change:
- Replace all mampstack-1.0-beta-1 with mampstack
- Listen 80
- ServerName localhost:80

In /Applications/mampstack/ctlscript.sh change:
- Replace all mampstack-1.0-beta-1 with mampstack

In /Applications/mampstack/apache2/scripts/ctl.sh search for 8080 and 
change the message to “httpd started”

Change into /Application/mampstack
cd /Applications/mampstack
sudo ctlscript.sh stop
sudo ctlscript.sh start apache

The apache-Daemon is started as super user, so it can bind port 80 !

In a web browser: go to http://192.168.178.199 and the BitNami Welcome 
message should be shown to you

Now we start mysql with:
cd /Applications/mampstack
./ctlscript.sh start mysql

Be aware, that the server is now only started manually: to make this 
happen at system startup and without being logged in: see below.

INSTALL FOGBUGZ

Now we continue with the installation instructions of fogbugz at:
  1. PHP requirements
    http://www.fogcreek.com/FogBugz/docs/60/topics/setup/MacSystemRequirements.html

    create that test.php file in /Applications/mampstack/apache2/htdocs

    The page http://192.168.178.199 should display the required content.

    You might have to add a php after <? to make it work)
    also the echo -r - stuff should return the required value in the shell
  2. CURL requirements: Curl is installed (on my machine with curl 7.16.3
  3. The MONO framework: Download it from the given web page and install it

FIX THE FOGBUGZ INSTALLATION

Now download FogBugz from your order. I used version 6.1.30 for Macintosh.

Try to install it.

The install will fail. Now we have to fix that following the instructions in
http://www.fogcreek.com/FogBugz/docs/60/topics/setup/MacWhatSetupDoes.html

  • Go to /Library/WebServer/fogbugz.install
    • cd /Library/WebServer/fogbugz.install
    • sudo ./install.sh and answer the questions of PEAR for installation with y
    • the automatic restart of apache and the changes to /etc/apache2/httpd.conf will fail: We have to fix that manually
    • you have to stop the web sharing with sudo apachectl stop
  • Edit /Applications/mampstack/apache2/conf/httpd.conf and add the following line:
    • Include "/opt/fogbugz/Accessories/fogbugz.conf"
  • Make fogutil.so available:
    • mkdir /Applications/mampstack/php/lib/php/extensions
    • cp /opt/fogbugz/Accessories/fogutil.php5.2-mac-dynamic.so /Applications/mampstack/php/lib/php/extensions/fogutil.so
  • Fix the permissions a little. In my case:
    • sudo chmod -R admin /opt/fogbugz
    • sudo chmod u+x /opt/fogbugz
    • sudo chmod -R o-wx /opt/fogbugz/Website
    • sudo chmod -R u-w /opt/fogbugz/Website
    • sudo chmod -R o-wx /opt/fogbugz/Accessories
    • sudo chmod 554 /opt/fogbugz/Accessories/fogbugzmaintd
    • sudo chmod 444 /opt/fogbugz/Accessories/fogbugzmaintd.php
    • sudo chmod 664 /opt/fogbugz/Accessories/application.data
  • And then, because I am not a unix guru, and I just want this to work:
    • sudo chmod -R a+rwx /opt/fogbugz/Website
    • sudo chmod -R a+w /opt/fogbugz/Accessories
    • sudo chmod o+x /opt/fogbugz/Accessories
  • Restart apache via: sudo /Applications/mampstack/ctlscript.sh restart apache
  • Go to a browser and open http://192.168.178.199/fogbugz/install1.php
    • If this returns an error: the systems web server is runnung you have to stop that via sudo apachectl stop
    • If this returns an error: “Forbidden”, then the permissions are not set correctly
  • Follow the instructions, which should succeed
  • Fogbugz showed me an arror with my PHP settings about:
    • max_allowed_packet
    • Add the following line in /Applications/mampstack/mysql/my.cnf after
      [mysqld]

      max_allowed_packet=50M

MAKE IT STARTING AT SYSTEM STARTUP TIME

a.) Create a file as super user at /Library/LaunchDaemons/com.bitnami-apache.service.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Label</key>
        <string>com.bitnami-apache.services</string>
        <key>LaunchOnlyOnce</key>
        <true/>
        <key>OnDemand</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
                <string>/Applications/mampstack/apache2/scripts/ctl.sh</string>
                <string>start</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>UserName</key>
        <string>root</string>
</dict>
</plist>


b.) Create a file as super user at /Library/LaunchDaemons/com.bitnami-mysql.service.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>com.bitnami-mysql.services</string>
        <key>Program</key>
        <string>/Applications/mampstack/mysql/bin/mysqld</string>
        <key>ProgramArguments</key>
        <array>
                <string>--user=admin</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>Umask</key>
        <integer>7</integer>
        <key>UserName</key>
        <string>admin</string>
        <key>WorkingDirectory</key>
        <string>/Applications/mampstack/mysql</string>
</dict>
</plist>


c.) Create a file as super user at /Library/LaunchDaemons/com.bitnami-fogbugz.service.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Label</key>
        <string>com.bitnami-apache.services</string>
        <key>LaunchOnlyOnce</key>
        <true/>
        <key>OnDemand</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
                <string>/Applications/mampstack/apache2/scripts/ctl.sh</string>
                <string>start</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>UserName</key>
        <string>root</string>
</dict>
</plist>


d.) Load the files into launchd via:
sudo launchd load -w /Library/LaunchDaemons/com.bitnami-apache.service.plist
sudo launchd load -w /Library/LaunchDaemons/com.bitnami-mysql.service.plist
sudo launchd load -w /Library/LaunchDaemons/com.bitnami-fogbugzd.service.plist


Categories: FogBugz
Tags: , ,
Actions: E-mail | Permalink

SPF for FogBugz On Demand

Monday, August 04, 2008 by Michael H. Pryor
Some of our customers have been asking us how to configure their domain's SPF records so that our FogBugz On Demand servers can safely handle email for them.    Since we are using SPF ourselves, all that anyone has to do is use the 'include' directive against the 'fogcreek.com' domain.  Here is an example to get you going:

v=spf1 mx include:fogcreek.com -all
Actions: E-mail | Permalink

Intense Visual Studio Integration

Tuesday, July 29, 2008 by Michael H. Pryor

A year ago, we built a small addin that allows you to look at your FogBugz cases inside of Visual Studio.  One of the things that bothered me was that if we had written some code that made reference to a bug or a case in the source code, there was no way to have Visual Studio turn that into a link to our FogBugz install.  I spent a week or two looking into how one would do that with a VS Addin, but it became clear that you needed a deep level of understanding into the innards of Visual Studio if you wanted to write something that parsed the text in the editing window and did fun things with it.

I contacted Whole Tomato, a customer of ours, and makers of Visual Assist X.  Visual Assist X is an addin that talks to Visual Studio in a way that I would have needed to do in order to make:

// This fix is because of Case 123

turned into

// This fix is because of Case 123

I don't even remember what IInterface I needed to implement, but it looked like it would take me a month to do something that those guys could have done in a week.  So we talked about and went back and forth on it, and finally a few months ago, they had some free cycles to make it happen.   Behold, SourceLinks.  (It's free and comes bundled with our Visual Studio plugin).

 

They even one upped me.  Not only can you hyperlink your case comments, you can hyperlink any source code text to wherever you want using pattern matching.  So "Case 123" can link to your FogBugz Case 123, "Customer #123" can link to your internal sales databas, "source //trunk/repo/file.cs" can link to your source control repo.

And then, oddly enough, they wrote an addin for their addin.  The SourceLinks Addin calls back to your service for tooltip messages to display when you hover over that link.  For FogBugz you can hover over the "Case 123" part and a special piece will log into your FogBugz server on the backend using the API and display pertinent info about your case to you.  If you were really daring, they made it possible that you could implement your very own callback plugin for whatever service you wanted (salesforce.com for example could show you customer info when you hovered over a customer name in your source code).   The FogBugz one is built in for you.

I would have though a generic tool like this would have existed long ago, but I never could find anything like it.  Here's my post from October 2005 in a failed attempt to find one.

Let me know if you find other cool uses for the SourceLinks Addin.  It was designed very flexibly to allow you to do pretty much anything (with FogBugz or even some other piece of software).

So thank you Whole Tomato.  You guys rock!

 

Actions: E-mail | Permalink

Full Screen Wiki Editing

Monday, July 28, 2008 by Joel Spolsky

Frustrated by wasted screen real estate when you're editing Wiki articles in FogBugz?

Try Chas's Greasemonkey script.

Full Screen Wiki Editing in FogBugz

Categories: FogBugz
Actions: E-mail | Permalink

Review of FogBugz

Wednesday, June 11, 2008 by Joel Spolsky

Carson McComas reviews FogBugz: "Its genius is in its maturity. It is mature, seasoned, and polished software that makes tracking multiple issues with difficult sticky elements not just easy, but enjoyable. You know software is great if you still love it, and use it heavily after several months. Now I can't live without it."

Carson's site is at WorkHappy.net.

Categories: FogBugz
Actions: E-mail | Permalink

C# wrapper for the FogBugz API

Wednesday, June 11, 2008 by Eric Nehrlich

One of our customers wanted to use the FogBugz API from C#, but the API was only available via a REST interface.  So they wrote a C# wrapper around the FogBugz API to let them do what they wanted, and was gracious enough to share it with us.  You can download it from this link, which also includes a description of how it works.

Categories: FogBugz
Tags:
Actions: E-mail | Permalink

Fluid

Wednesday, June 11, 2008 by Joel Spolsky

If you're a Macintosh user, check out Fluid, which lets you create custom icons in the dock for websites you visit a lot.

Indiekid created a high-res fluid icon for FogBugz:

Categories: FogBugz
Actions: E-mail | Permalink

Git Integration

Thursday, May 08, 2008 by Michael H. Pryor

John Reilly has created integration between Git and FogBugz, which is available for download.

 

 

Categories: FogBugz
Tags:
Actions: E-mail | Permalink

Rails plugin for FogBugz

Thursday, April 24, 2008 by Eric Nehrlich
One of our customers, Caio Chassot, wrote a plugin for Rails that will let a Rails app submit bugs directly to a FogBugz installation by using BugzScoutCheck it out!
Categories: FogBugz
Tags:
Actions: E-mail | Permalink

WorkingOn is still working on FogBugz

Monday, April 21, 2008 by Michael H. Pryor

Daniel Schaffer has a new version of his FogBugz add on out. Check out WorkingOn v 1.3...

 


Categories: FogBugz
Actions: E-mail | Permalink

Team Foundation Server Integration

Thursday, April 17, 2008 by Michael H. Pryor

I posted earlier on Lou Franco's integration between FogBugz and TFS.  It looks like he's made a lot of progress...

  1. Part I: Syncing TFS with FogBugz
  2. Part II: Log Files
  3. Part III: Diff Files

 

Categories: FogBugz
Tags:
Actions: E-mail | Permalink

ProjectLocker and FogBugz Integration

Friday, April 11, 2008 by Michael H. Pryor

 

ProjectLocker now integrates with FogBugz! 

Categories: FogBugz
Actions: E-mail | Permalink

6.1.23 for PHP version of FogBugz released (replaces 6.1.19)

Friday, April 11, 2008 by Michael H. Pryor

If you are using 6.1.19 PHP FogBugz, please upgrade to 6.1.23 which is now available at https://shop.fogcreek.com

 

 

Categories: FogBugz
Actions: E-mail | Permalink

Installing FogBugz on Joyent Accelerator

Monday, April 07, 2008 by Eric Nehrlich
One of our customers worked with us to get FogBugz installed on Joyent Accelerator.  This was a tricky install because Solaris has some quirks that are unlike Linux, but we eventually worked through all of the issues.  Afterwards, our customer was kind enough to document the necessary steps in a KnowledgeBase article on installing FogBugz 6.0 on a Joyent Accelerator.  Check it out for some tips and tricks on installing FogBugz in such an environment.
Categories: FogBugz
Tags: ,
Actions: E-mail | Permalink