TfsSnarl

by Administrator 2. Januar 2012 07:14

Update:

TfsSnarl is an nTray plugin now. I did some minor tweaks apart from the conversion. I'd suggest to extrect below the nTray folder in a dedicated TfsSnarl folder and add the folder to the search folders in nTray:


<setting name="SearchDirectories" serializeAs="Xml">
  <value>
      <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <string>$(APP)\Modules</string>
          <string>$(APP)\Modules\TfsSnarl</string>
      </ArrayOfString>
  </value>
</setting>

I stumbled upon Snarl last week. In a nutshell it's a messag sink that can receive messages from various applications and display them in a centralized manner. I started off with the Foobar extension that shows which song you are playing and a weather notifier. Though there are not so many extensions available yet, I definitely see some potential here. The very good news is, that extensions are extremely easy to develop. There are examples for some programming languages like c# and python available.

I had the idea to integrate the TFS build notification tool here. I'm not sure at this point whether I will continue working on it, but give it a try if you work with TFS. Before starting make sure to configure the Url of your tfs server in the configuration file TfsSnarl.dll.config:


<applicationSettings>
    <Schommer.Projects.TfsSnarl.Properties.Settings>
        <setting name="Tfs" serializeAs="String">
            <value>http://hrsdustfs:8080/tfs</value>
        </setting>
        <setting name="PollingInterval" serializeAs="String">
            <value>20</value>
        </setting>
    </Schommer.Projects.TfsSnarl.Properties.Settings>
</applicationSettings>

You may optionally change the polling interval as well (in seconds).

There is a folder "Char" where you can put little avatars for the developers. Replace the backslash in the domain notation by an underscore (e.g. MYDOMAIN_UserName). If no avatar is linked to a user, the unknown image is displayed. You may put little icons into the fail/succeed folder that should be displayed when builds fail/succeed.

When builds start or end you will see notifications like this one:

You should disable the tfs build notification tool when running TfsSnarl and add the tool to your autostart folder.

Enjoy :P

TfsSnarl-0.3.zip (171,38 kb)

Tags: , ,

My Stuff | Projects | TFS

Migrating TFS to another Server and Team Foundation Build Notification

by Administrator 14. Dezember 2011 03:12

Either I missed this part when doing the steps to move to another server or it was really not mentioned. Migrating a TFS 2010 intance to another server is quite easy. You basicly make backups of the databases and run some commandline tools to make the new instances your new home. However I noticed that the Build Notification Tool still redirected me to the old server when clicking the window.

I finally found this article that pointed me to the right direction.

Another step in addition to these commandline things Microsoft suggests in it's migration script you have to adjust the url in the TFS administration console:

For some reason this did not work directly but just the next day when I rebooted.

Tags: , ,

TFS

About the author

for comments and suggestions contact:

 

Month List