<2005 May>

On this page...



Member of...

ASP Insiders

MVP Visual Developer ASP/ASP.NET

Enter CodeZone

Blog Categories



Deutsche Resourcen


Sign In

#  Monday, 02 May 2005

Ben Lowery sent me changes for the SvnPostCommitHook application. From his email: Here's my version of the code.  I updated it to be able to use DotNetOpenMail, as I sometimes have problems using CDO through System.Web.Mail. I also updated it to support a pluggable mail formatter, with a text and an HTML formatter in the current code.  At the moment, it's up to the mailer to decide how mail is sent, but that could be easily pulled out into a config file at some point, as could the format of the html or the css that I'm using.

Change log details:

  • Added abstract base for mailing
  • Moved System.Web.Mail based mailer to CdoMailer
  • Added option to send mail with DotNetOpenMail
  • Added MessageFormatter hierarchy for message formatting
  • Added HtmlMessageFormatter for html change messages
  • Moved text message formatting into TextMessageFormatter
  • Added package batch script to rename exe to post-commit.exe
  • Added Library directory for references
  • Added log4net to the Library directory
  • Made SilentCmdLineApplication::Execute simpler
  • Moved parsing logic into SvnLookOutputParser

SvnPostCommitHookv1.4.zip (417.83 KB)

Monday, 02 May 2005 19:09:01 (W. Europe Daylight Time, UTC+02:00)  #    Comments [0]


For quite some time I own an Arctic Cooling T2 case and really enjoy the new-found silence when working with my computer. However, this silence has been disturbed by my recent acquisition of a Matrox P750 (see Finally) and this little screamer here:

It took exactly half an hour to decide that the noise level is unbearable, so I got myself a Zalman ZM-80D-HP:

I read on a forum that with the P750, There is one slight problem, though, and I am wondering whether this is normal. Instead of everything lining up nicely, so that the heatsinks are all square with the board itself, they are slanted somewhat (I would guess 10 degrees maybe).

Turned out that this is true, thanks to some screwy decision by Matrox to not place the heatsink holes where they are supposed to be:

That way, the whole construction looks weird at best (no, I haven't been drinking while composing this monstrosity), although it is fully functional:

Fully functional meaning "Ah, the silence is back!"

Categories: this
Monday, 02 May 2005 11:34:50 (W. Europe Daylight Time, UTC+02:00)  #    Comments [0]


#  Thursday, 28 April 2005
You can now download the latest and greatest release of #develop. It features NAnt integration, Help 2.0 support, great XML editing experience, PInvoke import lookup, #report, Web References and more. Some of the cool stuff can be watched as feature videos.
Thursday, 28 April 2005 19:45:29 (W. Europe Daylight Time, UTC+02:00)  #    Comments [0]


I'll be off to Vienna tomorrow for the regional get-together. Camera is charging right next to me...
Categories: Community | this
Thursday, 28 April 2005 15:36:27 (W. Europe Daylight Time, UTC+02:00)  #    Comments [0]


I couldn't resist any longer, I had to upgrade from two to three monitors on my desk:

Categories: this
Thursday, 28 April 2005 15:26:57 (W. Europe Daylight Time, UTC+02:00)  #    Comments [0]


#  Wednesday, 27 April 2005

Saw this over at OSNews.com: OpenMFG, the makers of open source ERP software, have released OpenRPT, a report writer for ad-hoc Web-based reporting. It creates graphical, embeddable reports, similar to the commercial software Crystal Reports or Microsoft Access report designer, but runs on on Linux, Mac OS X, and Windows. It supports graphs, integrated barcodes, label printing, and watermarks and report definitions can be stored in a PostgreSQL database as XML, or exported to individual files.

Looks worth checking out.

Wednesday, 27 April 2005 08:19:48 (W. Europe Daylight Time, UTC+02:00)  #    Comments [0]


#  Tuesday, 26 April 2005

After owning the ER6 isolator earphones for some time now, I decided to get myself Etymotic's mobile phone headset too. Wow! That is quite a change from the various headsets I have owned so far (including the Logitech Mobile Freedom Bluetooth headset).

Where do you get Etymotic products in Europe? The shop I found is 4YourEars. Good prices, quick shipping.

Categories: this
Tuesday, 26 April 2005 14:36:59 (W. Europe Daylight Time, UTC+02:00)  #    Comments [0]


In the second installation of my SVK article series, I'm taking my Subversion repository offline on my notebook, do some work, reconnect and merge my changes with the central Subversion repository.

To work with SVK, you don't need the Subversion service (svnserve) running. Another bonus is that SVK doesn't create the (dreaded, I might say) .svn folders, which (a) roughly double the disk size of your project, (b) get you into hot water with VS.NET, which is why there is a TortoiseSVN build that names the .svn folders differently. But I digress.

First, we have to create a local copy (the one created in the previous article is directly linked to the remote repository):

svk cp //SharpDevelop/trunk //SharpDevelop/local

This will also prompt you in Notepad for a commit message. Alternatively, you could have passed the commit message as part of the cmd line:

svk cp -m "initial import" //SharpDevelop/trunk //SharpDevelop/local

Now, check out the local branch to a directory on disk (note: this directory will be auto-created).

svk checkout //SharpDevelop/local c:\workingcopy

You will be positively surprised how fast this is. And there are no .svn directories in sight. So let's change a file and commit it back to our local repository:

svk commit -m "v2.06 note" readme.txt

This file is only changed in the local repository, not the remote one. But this is the intention of working offline (during travel, at home, you name it).

How do we get the changes back into the central repository? First, sync the trunk with the remote repository:

svk sync //SharpDevelop/trunk

If you have multiple repositories on your computer that you want to sync in one go, use:

svk sync -a

So, let's see if our changes conflict with changes in the central repository:

svk smerge -C //SharpDevelop/local //SharpDevelop/trunk
Auto-merging (0, 1900) /SharpDevelop/local to /SharpDevelop/trunk (base /SharpDevelop/trunk:1897).
Checking locally against mirror source svn://glumpatweri.emailgwiax.com/Fidalgo/trunk.
U   SharpDevelop/setup/readme.txt
New merge ticket: 4c8874e7-0e9e-2041-95c6-598e77699a82:/SharpDevelop/local:1900

If there are no problems (as is the case here), go ahead and perform the merge:

svk smerge //SharpDevelop/local //SharpDevelop/trunk

You are again prompted for the commit message, however, this time remember this is for the total of your changes (unless you use -I). Depending on your Subversion setup, you will be prompted to provide a password:

Password for 'Administrator':

Well, most likely you are not known by this account in Subversion... simply press Enter, and you will be prompted for a different username. A tad counterintuitive at first, but it works. The change is now in the central repository.

There is one thing left to do - merge the changes from the trunk (which you synced previously) into the local copy:

svk smerge //SharpDevelop/trunk //SharpDevelop/local

And finally update your checked out working directory:

svk up c:\workingcopy

Now that wasn't too bad at all. Especially given the fact that you were working offline from a central repository. Oh, and the procedure is for real: revision 1909 in the #develop repository resulted from me writing this step list.

Categories: Subversion
Tuesday, 26 April 2005 12:57:07 (W. Europe Daylight Time, UTC+02:00)  #    Comments [2]


#  Monday, 25 April 2005

Beauty is not tonights topic, neither a talking mirror - Subversion repository mirrors are. There are a couple of ways to mirroring your repository, one being SVN::Mirror. With my pronounced distaste for the make install dance, I was on the prowl for some solution with a more Windowsy touch to it.

Not too long into Google-Fu I stumbled across SVK, which has (a) a WIN32 setup, (b) loads of features which will be the topic of future blog posts:

  • Trans-backend mirror and sync for Subversion, CVS, Perforce (not on Windows currently if I gather correctly)
  • All operations can be performed while offline. Now that is way cool if you are working while travelling!

SVK uses Subversion FSFS for local storage, which means prior to installing SVK you need to install Subversion. With both packages on your machine, you can start exploring. All you need is a command prompt and Windows Explorer.

svk depot --init

This will initialize the // (default) depot. Create c:\svkroot, we will relocate the default repository there next.

svk depot --relocate // c:\svkroot

I am not really interested in hosting a read-only copy of a Subversion repository in my user profile. Thus for this relocation to proceed, you also need to copy the contents of C:\Documents and Settings\Administrator\.svk\local (which is a bare bones SVN repository) into the c:\svkroot directory.

svk mirror svn://glumpatweri.emailgwiax.com/Fidalgo/trunk //SharpDevelop/trunk

Now the mirroring can begin - svk mirror is used to set up a link to an existing Subversion repository.

svk sync //SharpDevelop/trunk

Depending on the repository, grab a cup of coffee. This sync operation will take some time. Oh, and for keeping a mirrored repository in sync with the master, create a scheduled task with this command.

svnserve -d -r c:\svkroot

Testing, testing. Fire up svnserve and use TortoiseSVN to check out the read-only mirror:

Done. You have successfully mirrored a Subversion repository. Read-only. Working offline and other features of SVK will be covered later.

Monday, 25 April 2005 19:40:50 (W. Europe Daylight Time, UTC+02:00)  #    Comments [0]


#  Tuesday, 19 April 2005
Cool. The WSUS Wiki just saved my day - I got the error SelfUpdate Tree is not working, which quite unsurprisingly cropped up thanks to a rather looked down setup of IIS...
Categories: Administration
Tuesday, 19 April 2005 13:34:03 (W. Europe Daylight Time, UTC+02:00)  #    Comments [0]


© Copyright 2017 Christoph Wille

newtelligence dasBlog 2.3.9074.18820
Subscribe to this weblog's RSS feed with SharpReader, Radio Userland, NewsGator or any other aggregator listening on port 5335 by clicking this button.   RSS 2.0|Atom 1.0  Send mail to the author(s)

Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.