﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Inland Empire .NET User's Group Forums / Inland Empire .NET User's Group / Speaker and Presentation Topic Suggestions  / What do you want to see in the SVN demo? / Latest Posts</title><generator>InstantForum.NET v4.1.3</generator><description>Inland Empire .NET User's Group Forums</description><link>http://forums.iedotnetug.org/forums/</link><webMaster>forums@iedotnetug.org</webMaster><lastBuildDate>Fri, 21 Nov 2008 10:28:24 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: What do you want to see in the SVN demo?</title><link>http://forums.iedotnetug.org/forums/Topic199-62-1.aspx</link><description>There are two typical setups for Subversion.&lt;OL&gt;&lt;LI&gt;svnserve server (light weight simple tcp/ip server)&lt;/LI&gt;&lt;LI&gt;Apache&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The creators of Subversion took advantage of a lot of the built-in technology of Apache.  (I believe one of the main contributors actually worked on the WebDAV protocol and plug-in for Apache).  As such there is no current IIS equivalent.  I don't see why there couldn't be but I can't find one anywhere.&lt;/P&gt;&lt;P&gt;There is a svn-iis project (&lt;A href="http://www.svniis.org/"&gt;http://www.svniis.org&lt;/A&gt;) but it really just just using IIS as a public face to Apache.&lt;/P&gt;&lt;P&gt;We actually don't use Apache at this moment at my work.  we only have 3 devlopers internally and don't have any problems with security.  We all can access each other's projects without any issue.  We also don't do any development offsite.  So, using the basic svnserve server is fine for us.&lt;/P&gt;&lt;P&gt;I'll look at trying to show both servers during the demo, but as it is I have a lot to fit into 30 minutes!&lt;/P&gt;&lt;P&gt;&lt;div class="Quote"&gt;&lt;b&gt;Edneeis (6/18/2008)&lt;/b&gt;&lt;hr noshade size="1" class="hr"&gt;I'd like to know more about accessing it via the web and is there any IIS hosted solutions for SVN.&lt;/div&gt;</description><pubDate>Fri, 20 Jun 2008 10:59:37 GMT</pubDate><dc:creator>MattPenner</dc:creator></item><item><title>RE: What do you want to see in the SVN demo?</title><link>http://forums.iedotnetug.org/forums/Topic199-62-1.aspx</link><description>I figure I'll just answer some of this now.  &lt;img align="absmiddle" src="http://forums.iedotnetug.org/forums/Skins/LiquidViolet/Images/EmotIcons/Smile.gif" border="0" title="Smile"&gt;  Lots of questions though!  This is great!&lt;P&gt;One of the best resources is the &lt;b&gt;SVN Book&lt;/b&gt;: &lt;A href="http://svnbook.red-bean.com/"&gt;http://svnbook.red-bean.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;div class="Quote"&gt;What is a typical day of a developer using svn&lt;/div&gt;&lt;/P&gt;&lt;P&gt;There really isn't a typical day, but a typical process (can be used several times a day).&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If you're working on a new project then check out the head.&lt;BR&gt;Otherwise Update your working copy to the head.&lt;/LI&gt;&lt;LI&gt;Solve any conflicts (if any).&lt;/LI&gt;&lt;LI&gt;Write your code.&lt;/LI&gt;&lt;LI&gt;Update your working copy to get the latest changes (if any).&lt;/LI&gt;&lt;LI&gt;Solve any conflicts (if any).&lt;/LI&gt;&lt;LI&gt;Commit your changes.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;That about it.  The mantra I always here is commit small and commit often.  If you have 4 small features you're working on, commit each one individually as you complete them. &lt;/P&gt;&lt;P&gt;&lt;div class="Quote"&gt;ready to deploy, export but now bug fixes we should branch kinda thing&lt;/div&gt;&lt;/P&gt;&lt;P&gt;Bug fixes depend on your company's strategy.  For instance, do you fix it in the current release and force your users to update to the latest release or do you handle patches for several different versions?  Sometimes a bug is already fixed in a newer version and you can just tell your users to upgrade.  Sometimes you can patch a previous version or two, but it's too costly to go back farther than that.  It all depends on the extent of the bug and your support schedule.  For instance, maybe your support schedule dictates that you fix bugs in the previous major version, only fix critical errors in the version before that and any prior versions are not supported.&lt;/P&gt;&lt;P&gt;Assuming your working copy is against the trunk and is not the production copy (most likely) this what I believe is the typical strategy:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a new folder and check out the tag (release) in question.  Let's assume this is 2.0.&lt;/LI&gt;&lt;LI&gt;Fix the bug.&lt;/LI&gt;&lt;LI&gt;Create a patch from your working copy against the 2.0 tag.  This is what users can use to update their current copy or your developers can wrap in an install to update customer copies.&lt;/LI&gt;&lt;LI&gt;Commit your changes.  If there are several people working on the bug fixes you'll go through the standard update\commit cycle.  &lt;/LI&gt;&lt;LI&gt;If this new "head" is now ready for release (version 2.1 for instance) create a new tag for it. &lt;/LI&gt;&lt;LI&gt;If the bug exists in the trunk and the patch will apply without any conflict then you can create a new folder, check out the head and simply apply the patch and commit.  &lt;/LI&gt;&lt;LI&gt;If the bug exists, and the trunk code has changed significantly so the patch will not apply, do the same as above but actually code the fix rather than just appling the patch.&lt;/LI&gt;&lt;LI&gt;When all is done and committed then simply delete the other folders and get back to work on your normal project working copy.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;div class="Quote"&gt;as i mentioned before talking about qit will be lovely.&lt;/div&gt;&lt;/P&gt;&lt;P&gt;Will try.&lt;/P&gt;&lt;P&gt;&lt;div class="Quote"&gt;i dont see backup strategy, how do u backup svn repo&lt;/div&gt;&lt;/P&gt;&lt;P&gt;You have to make sure that no one is committing to the repository during a backup, otherwise you could conceivably backup the repository with a half commit.&lt;/P&gt;&lt;P&gt;If you want to backup the repository as a whole (as oppose to incremental backups) you can use the svnadmin hotcopy command to copy the repository in a guaranteed consistent state to another folder.  &lt;/P&gt;&lt;P&gt;At my work I have a scheduled task that runs a script every night.  This script wipes out the “backup” folder and then runs svnadmin hotcopy to duplicate our folder of repositories to the backup folder.  Then our backup system backs up the backup folder.  This guarantees a good copy every night.&lt;/P&gt;&lt;P&gt;If you’re a single developer you can simply just backup the repository as normal and just take care not to commit during that folder’s backup stage.  When I used to be the only one in our department using svn I would simply save my repositories in my My Documents folder.  This folder was backed up every night.  Since I typically don’t work at 3am this was perfectly fine.&lt;/P&gt;&lt;P&gt;&lt;div class="Quote"&gt;How can you exlude some file types such as dll files or so&lt;/div&gt;&lt;/P&gt;&lt;P&gt;This can be done by setting properties on the repository.  You simply set patterns to ignore, for instance *.dll or even \bin.  You can do this with the command line if you wish.  If the folder is already under version control this is pretty easy using TortoiseSVN.  Just right-click on the file and select the ignore command.  If the file is already being versioned you have to remove it, such as by deleting it.  When it is recreated by VS then you can tell TortoiseSVN to ignore it.&lt;/P&gt;&lt;P&gt;&lt;div class="Quote"&gt;&lt;b&gt;volkanuzun (6/18/2008)&lt;/b&gt;&lt;hr noshade size="1" class="hr"&gt;scenarios &lt;img align="absmiddle" src="http://forums.iedotnetug.org/forums/Skins/LiquidViolet/Images/EmotIcons/Smile.gif" border="0" title="Smile"&gt; i like scenarios.&lt;BR&gt;for example what is a typical day of a developer using svn ?&lt;BR&gt;come to work check out&lt;BR&gt;do updates checkin&lt;BR&gt;see the conflict bla bla&lt;BR&gt;&lt;BR&gt;ready to deploy, export but now bug fixes we should branch kinda thing&lt;BR&gt;&lt;BR&gt;as i mentioned before talking about qit will be lovely.&lt;BR&gt;i dont see backup strategy, how do u backup svn repo?&lt;BR&gt;what is the common way of creating repos, one repo for company different repos or per department, per project ? why ?&lt;BR&gt;&lt;BR&gt;how can you include your database to the svn ? is there a way to automate scripting the database and updating in the scs ?&lt;BR&gt;how can you exluce some file types such as dll files or so&lt;/div&gt;</description><pubDate>Fri, 20 Jun 2008 10:47:15 GMT</pubDate><dc:creator>MattPenner</dc:creator></item><item><title>RE: What do you want to see in the SVN demo?</title><link>http://forums.iedotnetug.org/forums/Topic199-62-1.aspx</link><description>I'd like to know more about accessing it via the web and is there any IIS hosted solutions for SVN.</description><pubDate>Wed, 18 Jun 2008 18:31:50 GMT</pubDate><dc:creator>Edneeis</dc:creator></item><item><title>RE: What do you want to see in the SVN demo?</title><link>http://forums.iedotnetug.org/forums/Topic199-62-1.aspx</link><description>scenarios &lt;img align="absmiddle" src="http://forums.iedotnetug.org/forums/Skins/LiquidViolet/Images/EmotIcons/Smile.gif" border="0" title="Smile"&gt; i like scenarios.&lt;br&gt;for example what is a typical day of a developer using svn ?&lt;br&gt;come to work check out&lt;br&gt;do updates checkin&lt;br&gt;see the conflict  bla bla&lt;br&gt;&lt;br&gt;ready to deploy, export but now bug fixes we should branch kinda thing&lt;br&gt;&lt;br&gt;as i mentioned before talking about qit will be lovely.&lt;br&gt;i dont see backup strategy, how do u backup svn repo?&lt;br&gt;what is the common way of creating repos, one repo for company different repos or per department, per project ? why ?&lt;br&gt; &lt;br&gt;how can you include your database to the svn ? is there a way to automate scripting the database and updating in the scs ?&lt;br&gt;how can you exluce some file types such as dll files or so</description><pubDate>Wed, 18 Jun 2008 13:18:50 GMT</pubDate><dc:creator>volkanuzun</dc:creator></item><item><title>What do you want to see in the SVN demo?</title><link>http://forums.iedotnetug.org/forums/Topic199-62-1.aspx</link><description>I'll be giving a breif demo (30 min?) on using Subversion source control at the next user group meeting on July 8th.&lt;/P&gt;&lt;P&gt;What would you like to see?  Here's a small list I have so far.  I'll keep this list updated as requests come in.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What is source control (may skip most of this if everyone is pretty familiar with it)&lt;/LI&gt;&lt;LI&gt;Why SVN?  Do we really need ANOTHER VCS? (basically what SVN is trying to accomplish and how they're different than the "other guys")&lt;/LI&gt;&lt;LI&gt;SVN lingo&lt;/LI&gt;&lt;LI&gt;SVN setup for a personal machine&lt;/LI&gt;&lt;LI&gt;SVN setup for a shop &lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;svnserve&lt;/LI&gt;&lt;LI&gt;Not planning on showing Apache here, but if that's requested I can do it.  Just let me know because it takes some preparation&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;Using SVN clients&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;Tortoise SVN&lt;/LI&gt;&lt;LI&gt;Ankh SVN (don't like it so will just touch on it)&lt;/LI&gt;&lt;LI&gt;Visual SVN&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;Hands on&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;Creating a repository&lt;/LI&gt;&lt;LI&gt;Creating a repo structure&lt;/LI&gt;&lt;LI&gt;Committing&lt;/LI&gt;&lt;LI&gt;Updating&lt;/LI&gt;&lt;LI&gt;Handling conflicts&lt;/LI&gt;&lt;LI&gt;Tagging&lt;/LI&gt;&lt;LI&gt;Branching&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;Merging branches&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;LI&gt;Special requests&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;Distributed svn (svnsync) - I've never worked with this but I'll see what I can find out&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;</description><pubDate>Wed, 18 Jun 2008 10:27:48 GMT</pubDate><dc:creator>MattPenner</dc:creator></item></channel></rss>