SVK Tutorial Feedback

I’m getting some positive feedback on the set of SVK tutorials that I wrote a few weeks back. Thanks to everyone sending comments and commenting on them on your blogs. It’s really encouraging to know that something you have worked through and written down has been helpful to other people in investigating a really useful tool.

Keep the feedback coming.

As an aside, there is a great article on perl.com about SVK that was written by the tools author. Well worth the read.

Ron’s Top 10 Guitar Songs

I thought it would be fun to sit down and figure out what my top 10 guitar songs would be. These are the songs when I listen to them, make me want to just pick up the guitar.

The day that I convince Jonna to move to an island with nothing but a boom box, and a life supply of Ramen noodles, a mix CD with these 10 songs would do it for me.

  1. Mr. Crowley – Randy Rhoads (Ozzy Osbourne – Blizzard of Ozz)
  2. Revelation, Mother Earth – Randy Rhoads (Ozzy Osbourne – Blizzard Of Ozz)
  3. Warm Regards – Steve Vai (Fire Garden)
  4. Far Beyond the Sun – Yngwie Malmsteen (Rising Force)
  5. S.I.N. – Zakk Wylde (Ozzy Osbourne – No More Tears)
  6. Cemetery Gates – “Dimebag” Darrell Abbott (Pantera – Cowboys From Hell)
  7. Race With The Devil on a Spanish Highway – Al Dimeola (Elegant Gypsy)
  8. Touching Tongues – Steve Vai (Sex and Religion)
  9. Hot For Teacher – Edward Van Halen (Van Halen – 1984)
  10. Empire In The Sky – Tony MacAlpine (Edge of Insanity)

Item Notes

#1: The two solos in this song are the best guitar solos ever written, in my opinion.

#5: The outtro solo in this song is one of my favorite Zakk Wylde solos. Don’t know what it is about this one, but it hits you right in the gut.

#9: The solo in Hot For Teacher is, in my opinion, Eddie Van Halens best solo. Eruption is way cool, don’t get me wrong, but this one takes the cake. The rest of the song I could do without, but the solo kicks some butt.

Extreme Fan

I think I’m a pretty big fan of certain musicians and would definitely call myself a movie buff. But after this morning I’m not sure I can really use the word “fan” to describe my love of music or movies.

Reading slashdot this morning, there was an article about a guy who is waiting five months in line at the theater for Star Wars Episode III tickets. Even stranger, the guy is keeping a blog, apparently right from his place in line.

I do not think that I could like anything to the point where I would camp out for 139 days for tickets. If I can’t buy the CD on amazon.com, or can’t buy the tickets somewhere like Ticketmaster or Fandango, chances are you won’t be getting me to listen to your music, see your concert, or watch your movie.

Then again, I might be an extreme. If the line is too long at McDonalds the first thought that comes to mind is “Maybe I’ll eat tomorrow …”.

Steve Vai Real Illusions:Reflections Album and Tour

According to vai.com it looks like the new album is going to be out on February 22, 2005. Additionally, a U.S. Tour starts in March, with the band hitting Chicago on April 13th at the House of Blues.

The band this time around includes:

Steve Vai – Guitar / Vocals
Billy Sheehan- Bass
Tony MacAlpine – Guitar / Keyboards
Dave Weiner – Guitar
Jeremy Colson – Drums

Along with being a huge Vai fan for as far back as I can remember, I’ve also been a huge Tony MacAlpine and Billy Sheehan fan as well, and am really looking forward to the chance to see this incarnation of the band live on stage. All of them are just incredible musicians.

Along with this tour, there is a package you can buy called “The Evo Premium Experience” in which you also get the following along with your regular tickets (taken directly from vai.com):

  • Preferred seating where applicable (in seated venues only.)
  • The opportunity to attend a portion of soundcheck. (Usually no less than 15 minutes.)
  • An intimate pre-show group Q&A/Discussion session with Steve. (Usually no less than 15 minutes.)
  • A special EVO laminate that allows entrance to the portion of soundcheck, Q&A, as well as early entry into the venue where possible.
  • An autographed “Real Illusions: Reflections” CD booklet.
  • An audio CD exclusive to the tour - containing a commentary by Steve Vai on each track of “Real Illusions : Reflections” along with audio snippets, plus a bonus track that does not appear on the album.
  • A Deluxe Tour Program
  • A Special Guitar Pick


Sure its a little extra (ok, a lot extra), but how many times do you really get a chance to watch Steve Vai and Billy Sheehan do a soundcheck together and attend a Q&A session with one of your favorite musicians of all time? If that wasn’t cool enough, add to it having your favorite woman of all time sitting right there with you through the whole thing.

This is one concert that I’m definitely looking forward to, even though the House of Blues isn’t exactly my favorite place to see a concert. The last time I saw Vai at the House of Blues (on the Fire Garden Tour) I wound up way in back watching the concert on the TV screens.

Hopefully, the seats will be a little better this time …

Millennium: The Complete Second Season released.

Millennium - The Complete Second SeasonYesterday we were out at Spring Hill Mall and made our usual obligatory stop at SunCoast when we found Millennium: The Complete Second Season sitting out in the new releases section. We also found The X-Files – The Complete First Season for half off. The X-Files is another one of those shows we really liked, but the DVD sets have just been too expensive to buy.

This comes on the heels of finding Quantam Leap Season 2 in stores as mentioned previously. I think we’re covered as far as the “500 channels and nothing to watch but reality TV” syndrome that we’ve been suffering from lately.

I think the release of old TV favorites is probably my favorite part of the DVD revolution. I find it so cool to be able to sit down whenever I feel like it and pop in one of these shows.

Quantum Leap: The Complete Second Season released on DVD

Quantum Leap - The Complete Second SeasonQuantum Leap – The Complete Second Season was released recently to DVD. This was my favorite show "back in the day", and I would make sure I was home to watch it every Wednesday. I just didn’t know what to do when it switched to Friday’s and was on at the same time as Americas Most Wanted – my other favorite show at the time.

Boy, this reminds me of the time when watching TV was actually something you looked forward to doing. I’m SO tired of reality TV shows at this point. It’s all you find these days …

SVK – Distributed Version Control – Part III

Introduction

Last week we explored using a local branch and keeping it in sync with the main repository. We also explored the incremental synchronization of local mirrors on our machine. This week we will be merging our changes back into the main repository and wrapping up our discussion of SVK for now.

Notation

Some of the lines in the command are truncated because they are too long. I have used the ‘_’ character as a line continuation character. If you see this character, look at the next line.

Merging From Your Local Branch To The Mirror

At the end of our last article, we had finished the work that we wanted to do and now we would like to merge our changes into the main repository so that others can access our changes. The assumption is that we have performed all of the due dillegence that software developers perform when they finalize a change and are ready to have those changes activated in the main repository, including keeping our local branch up to date with the main repository using the repository synchronization techniques outlined in previous articles and merging them into our local branch to keep our workarea current.

The time has finally come where everyone who uses the main repository gets to see the changes we have been working on.

When merging to a mirrored tree in SVK, we use the smerge command just like we would in our previous work, only this time the source and destination are switched. We are now merging to the mirror, however the process looks the same. The really cool thing about SVK however, is that when you perform a merge to a mirrored path, you not only update your mirror, but the repository that the mirror points to is also updated simultaneously.

So lets do it. Before actually performing the merge, connect to the network and sync your local repository.


svk sync //bieberlabs/trunk
Syncing http://subversion.bieberlabs.com/svn/bieberlabs/trunk
rbieber:/~>

Now that we are synced up, we will perform an svk smerge -C command to make sure we have no conflicts.


rbieber:/~>svk smerge -C //bieberlabs/new-feature-x _
//bieberlabs/trunk
Auto-merging (0, 409) /bieberlabs/new-feature-x _
to /bieberlabs/trunk (base /bieberlabs/trunk:408).
Checking locally against mirror source _
http://subversion.bieberlabs.com/svn/bieberlabs/trunk.
U website/index.php
D website/familypictures
New merge ticket: fd3a5cf1-f4e9-0310-b907-bd1e11f8034a: _
/bieberlabs/new-feature-x:409
rbieber:/~>

Some things to notice. Previously we saw quite a few changes coming from the mirrored repository to our local branch, including the re-adding of a photos directory with 68 pictures in the main repository. None of these changes are being merged back to the mirror. SVK is keeping track of the merges we have made from the main repository to our local branch and filtering them out (or skipping them) for us.

It winds up that with all the activity between the main repository and the local branch, the final result is that the only changes made by us in this whole process were the deletion of a directory, and modifications to our index.php file — and SVK knows that. We didn’t have to spend a lot of our valueable time towards an impossible schedule to figure it out!

Now that we know there are no conflicts (it’s nice to live in a perfect world!) we can actually perform a real merge to the mirror. We do this by substituting (in this case) the -C option with the -l option to get an initial log message that reflects each of our individual commits so we know what changes have been made through the time we have been developing on our local branch.


rbieber:/~>svk smerge -l //bieberlabs/new-feature-x //bieberlabs/trunk
Auto-merging (0, 409) /bieberlabs/new-feature-x to _
/bieberlabs/trunk (base /bieberlabs/trunk:408).
Waiting for editor...
Merging back to mirror source _
http://subversion.bieberlabs.com/svn/bieberlabs/trunk.
U website/index.php
D website/familypictures
New merge ticket: fd3a5cf1-f4e9-0310-b907-bd1e11f8034a: _
/bieberlabs/new-feature-x:409
Merge back committed as revision 24.
Syncing http://subversion.bieberlabs.com/svn/bieberlabs/trunk
Retrieving log information from 24 to 24
Committed revision 420 from revision 24.
rbieber:/~>

As you can see from the above messaging, a few things have happened during the actual merge:

  1. We were prompted for a log message. Even though this is prepopulated, you have to add something to it to let the tool know you want to continue with the merge, just like SVN and CVS.
  2. Our changes were merge to the mirrored path as we specified.
  3. Our changes were then merged from the mirrored repository to the main repository — automatically exposing them in the main repository for other developers to subsequently pull down.
  4. Our mirror was automatically resynced to be current.

Just to verify that our changes made it to the repository, we can go to our local installation of ViewCVS to verify the commit:

ViewCVS Screenshot

In Conclusion

In the last three articles, we have the basic areas of distributed, activity based development necessary to get someone new to SVK productive. I hope that as we have walked through the use of this tool, I have illustrated the huge gains you can receive from beginning to use it.

There are obvious areas in which I have neglected to cover from a conceptual level like conflict resolution, however this process under SVN is covered quite extensively in the Resolving Conflicts chapter of the SVN book written by the Subversion developers. There are also other commands and types of merges that SVK can perform that I will leave to the reader to explore.

SVK is a very powerful tool. The main disadvantage of it is that is written in PERL, and therefore can be difficult to install, and slow to start up. However, these disadvantages are far outweighed by the advantages that the tool brings to the table.

The ability to work while disconnected from a central repository and the automatic merge tracking features of SVK are of incredible value to anyone wanting to give flexibility and true distributed capabilities to their development staff. I highly recommend that you take the time to explore this tool and explore for yourself the new capabilities and flexibility, not to mention just plain time savings SVK brings to the table.

Back to part II | Start Over at Part I