<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Repository Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/repository/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/repository/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:53:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Some new terms of TFSC</title>
		<link>https://www.scmgalaxy.com/tutorials/some-new-terms-of-tfsc/</link>
					<comments>https://www.scmgalaxy.com/tutorials/some-new-terms-of-tfsc/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 06 Jan 2018 10:26:55 +0000</pubDate>
				<category><![CDATA[Concept & Definition]]></category>
		<category><![CDATA[Change set]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[Shelve]]></category>
		<category><![CDATA[TFSC]]></category>
		<category><![CDATA[TFSC terms]]></category>
		<category><![CDATA[Working folder]]></category>
		<category><![CDATA[workspace]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4474</guid>

					<description><![CDATA[<p>Repository— The data store containing all files and folders in the TFSC database. Mapping— An association of a repository path [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/some-new-terms-of-tfsc/">Some new terms of TFSC</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<ul>
<li><strong>Repository</strong>— The data store containing all files and folders in the TFSC database.</li>
<li><strong>Mapping</strong>— An association of a repository path with a local working folder on the client computer.</li>
<li><strong>Working folder</strong>— A directory on the client computer containing a local copy of some subset of the files and folders in a repository.</li>
<li><strong>Workspace</strong>— A definition of an individual user&#8217;s copy of the files from the repository. The workspace contains a reference to the repository and a series of mappings that associate a repository path with a working folder on the user&#8217;s computer.</li>
<li><strong>Change set</strong>— A set of modifications to one or more files/folders that is atomically applied to the repository at check-in.</li>
<li><strong>Shelve</strong>— The operation of archiving all modifications in the current change set and replacing those files with original copies. The shelved files can be retrieved at a later time for development to be continued. This is my favorite feature.</li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/some-new-terms-of-tfsc/">Some new terms of TFSC</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/some-new-terms-of-tfsc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to configure Sonatype Nexus repository with Maven?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-configure-sonatype-nexus-repository-with-maven/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-configure-sonatype-nexus-repository-with-maven/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 29 Jul 2017 00:51:35 +0000</pubDate>
				<category><![CDATA[SonaType Nexus]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[Sonatype Nexus]]></category>
		<category><![CDATA[Sonatype Nexus Tutorials]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/07/29/how-to-configure-sonatype-nexus-repository-with-maven/</guid>

					<description><![CDATA[<p>How to configure Sonatype Nexus repository with Maven? &#160; Automatic dependencies is one of the powerful feature of Apache maven [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-configure-sonatype-nexus-repository-with-maven/">How to configure Sonatype Nexus repository with Maven?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img fetchpriority="high" decoding="async" class="size-full wp-image-2748 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/configure-sonatype-nexus-re.png" alt="configure-sonatype-nexus-repository-with-maven" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/configure-sonatype-nexus-re.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/configure-sonatype-nexus-re-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></h3>
<h3>How to configure Sonatype Nexus repository with Maven?</h3>
<div></div>
<p>&nbsp;</p>
<div>Automatic dependencies is one of the powerful feature of Apache maven and its one of the reason Maven is very popular in developer community. Maven resolve the dependent library from local repository which is again connected with central repository or remote repository. thus we can say that Maven has 3 kinds of repository concept.</div>
<p>&nbsp;</p>
<div>1. Local repostory e.g $USER_HOME/.m2</div>
<div>2. Central repostory e.g http://repo.maven.apache.org/maven2/</div>
<div>3. Private repostory e.g Sonatype Nexus, Artifactory, Archiva etc.</div>
<div></div>
<div>The diagram shown below represent how maven resolve the dependendency.</div>
<p>&nbsp;<br />
<strong>High Level Interaction between Local Repository, Central Repository and Remote Repository.</strong></p>
<p><img decoding="async" class=" size-full wp-image-683" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow4.png" alt="" width="498" height="209" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow4.png 498w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow4-300x126.png 300w" sizes="(max-width: 498px) 100vw, 498px" /><br />
<strong>Dependency Management using Local Repository, Central Repository and Remote Repository.<br />
<img decoding="async" class=" size-full wp-image-684" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow5.png" alt="" width="892" height="428" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow5.png 1600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow5-300x144.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow5-768x368.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow5-1024x491.png 1024w" sizes="(max-width: 892px) 100vw, 892px" /><br />
This is How maven interact with Repository!</strong></p>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-685" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow3.jpg" alt="" width="620" height="280" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow3.jpg 620w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow3-300x135.jpg 300w" sizes="auto, (max-width: 620px) 100vw, 620px" /><br />
<img loading="lazy" decoding="async" class=" size-full wp-image-686" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow2.jpg" alt="" width="456" height="270" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow2.jpg 456w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow2-300x178.jpg 300w" sizes="auto, (max-width: 456px) 100vw, 456px" /></p>
<h4>This is a diagram which shows the define flow in which maven try to resolve the dependency.</h4>
<p>&nbsp;<br />
<img loading="lazy" decoding="async" class=" size-full wp-image-687" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow1.png" alt="" width="656" height="487" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow1.png 656w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow1-300x223.png 300w" sizes="auto, (max-width: 656px) 100vw, 656px" /></p>
<h4>Now, We have understood that Central rrepository is in built but next questions is, How to inform the maven about the location of remote repository? In order to configure maven with remote repostory, in our case SonaType Nexus, we need to configuring host machine setting.xml and projects pom.xml to use your Nexus repos.</h4>
<p>&nbsp;</p>
<h4>Put this in your ~/.m2/settings.xml file. This will configure the credentials to publish to your hosted repos, and will tell your mvn to use your repo as a mirror of central:</h4>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-688" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow6.jpg" alt="" width="594" height="622" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow6.jpg 594w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow6-286x300.jpg 286w" sizes="auto, (max-width: 594px) 100vw, 594px" /></p>
<h4>And now configure your projects.</h4>
<h4>If you want only to download dependencies from Nexus, put this in the pom.xml:</h4>
<p><img loading="lazy" decoding="async" class=" size-full wp-image-689" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow7.jpg" alt="" width="608" height="259" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow7.jpg 608w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/maven-nexus-repository-flow7-300x128.jpg 300w" sizes="auto, (max-width: 608px) 100vw, 608px" /></p>
<h4>and</h4>
<h4>Add the following at the end of setting.xml</h4>
<h4>&lt;activeProfiles&gt;</h4>
<h4>    &lt;!&#8211;make the profile active all the time &#8211;&gt;</h4>
<h4>    &lt;activeProfile&gt;nexus&lt;/activeProfile&gt;</h4>
<h4>  &lt;/activeProfiles&gt;</h4>
<p>&nbsp;</p>
<h4>Reference</h4>
<h4><a href="https://maven.apache.org/guides/mini/guide-mirror-settings.html" target="_blank" rel="noopener">https://maven.apache.org/guides/mini/guide-mirror-settings.html</a></h4>
<h4></h4>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-configure-sonatype-nexus-repository-with-maven/">How to configure Sonatype Nexus repository with Maven?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-configure-sonatype-nexus-repository-with-maven/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Work on remote Subversion repositories locally with Git</title>
		<link>https://www.scmgalaxy.com/tutorials/work-on-remote-subversion-repositories-locally-with-git/</link>
					<comments>https://www.scmgalaxy.com/tutorials/work-on-remote-subversion-repositories-locally-with-git/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 28 Apr 2010 09:11:08 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[SVN(Subversion)]]></category>
		<category><![CDATA[Convert Subversion repository to Git]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[git svn guide]]></category>
		<category><![CDATA[Git with Subversion]]></category>
		<category><![CDATA[git-svn plugin]]></category>
		<category><![CDATA[git-svn tutorial]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Remote]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[Subversion repository]]></category>
		<category><![CDATA[SVN repository]]></category>
		<category><![CDATA[SVN server]]></category>
		<category><![CDATA[Use Git With Subversion Repositories]]></category>
		<category><![CDATA[Using Git with Subversion]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Work on Subversion with Git Guide]]></category>
		<category><![CDATA[Work on Subversion with Git Instructions]]></category>
		<category><![CDATA[Work on Subversion with Git Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/04/28/work-on-remote-subversion-repositories-locally-with-git/</guid>

					<description><![CDATA[<p>Work on remote Subversion repositories locally with Git Version control is great stuff, and being able to combine different version [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/work-on-remote-subversion-repositories-locally-with-git/">Work on remote Subversion repositories locally with Git</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4323" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/remote-subversio-git.png" alt="remote-subversion-git" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/remote-subversio-git.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/04/remote-subversio-git-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Work on remote Subversion repositories locally with Git</strong></p>
<p>Version control is great stuff, and being able to combine different version control mechanisms is even better. Subversion is a very popular version control system and a lot of repositories (public or otherwise) use Subversion to manage files. Git is another popular one, but what happens if you are working on a project where Subversion is used but Git is your preferred version control system?</p>
<p>With the git-svn plugin, you can have the best of both worlds. You can convert a Subversion repository to Git, use Git tools, then push the changes back to Subversion.</p>
<p><strong>To begin, you will need the git-svn plugin installed. Most likely, if your distribution of choice provides Git, it will also provide git-svn. On Fedora, install it using:</strong></p>
<p># yum install git-svn</p>
<p>Then use git-svn to check out your Subversion repository into Git format:</p>
<p>% mkdir -p ~/git/code</p>
<p>$ cd ~/git/code</p>
<p>% git svn init http://svn.host.com/svn/code</p>
<p><strong>Initialized empty Git repository in /home/user/git/code/.git/</strong></p>
<p>% git svn fetch</p>
<p>This may take a while on large repositories</p>
<p>r267 = 079b7c1cff49187d1aabc4b16f316102088fdc0d (refs/remotes/git-svn)</p>
<p>W: +empty_dir: trunk</p>
<p>r268 = 3f1944530a092c811c55720bd9322b8c150a535b (refs/remotes/git-svn)</p>
<p>&#8230;</p>
<p>r351 = e2af3c12e5ed174d23ffc5917f03a6136f8ebb6b (refs/remotes/git-svn)</p>
<p>Checked out HEAD:</p>
<p>http://svn.host.com/svn/code r351</p>
<p>At this point, the Subversion repository located at http://svn.host.com/svn/code has now been checked out in Git format. On individual files and directories, you can use the git log command as you would the svn log command in order to get history information on the item in question. With git, you will also see the Subversion commit that corresponds to the log entry, for instance:</p>
<p>commit 23f705cd87e1e9c6dd841ca88a14d808e0c4292a</p>
<p>Author: user@HOST.COM</p>
<p>Date:   Sat Mar 20 18:25:38 2010 +0000</p>
<p>correct logic on the buildrequires extractor, add stats on BuildRequires to showdbstats output</p>
<p>git-svn-id: http://svn.host.com/svn/code@350 7a5473d1-2304-0410-9229-96f37a904fa4</p>
<p>With the above, you can see that user@HOST.COM did the commit, see the log message, and the Subversion revision (r350).</p>
<p>To work with these files, make changes as normal. git diff works like svn diff does, to see the changes made. To commit changes, use git commit like you would use svn:</p>
<p>% git commit -m &#8220;some minor change&#8221; file</p>
<p>[master 2454be1] some minor change</p>
<p>1 files changed, 2 insertions(+), 0 deletions(-)</p>
<p><strong>To update your local copy from Subversion, instead of using svn update use git svn rebase. This will merge in any changes found in the Subversion repository.</strong></p>
<p>When committing files using git commit, you are committing your changes to the Git repository. None of these changes are pushed to the Subversion repository until you specifically tell Git to do so. This is done with the git svn dcommit command, which then takes each commit made to Git and pushes them to Subversion as individual commits, which will retain all of your history and log comments:</p>
<p>% git svn dcommit</p>
<p>Committing to http://svn.host.com/svn/code &#8230;</p>
<p>M      trunk/rqp</p>
<p>Committed r352</p>
<p>M      trunk/rqp</p>
<p>r352 = 0557314a580c4390ff646380baa3aa33d1f6a5cd (refs/remotes/git-svn)</p>
<p>No changes between current HEAD and refs/remotes/git-svn</p>
<p>Resetting to the latest refs/remotes/git-svn</p>
<p>Unstaged changes after reset:</p>
<p>M      trunk/rqp</p>
<p>M      trunk/rqp</p>
<p>Committed r353</p>
<p>M      trunk/rqp</p>
<p>r353 = 249e97283ad28126bf84ccaffb32873e12d15b7b (refs/remotes/git-svn)</p>
<p>No changes between current HEAD and refs/remotes/git-svn<br />
<strong><br />
Resetting to the latest refs/remotes/git-svn</strong></p>
<p>Now, if you were to look at the changed file(s) in Subversion (via another Subversion working copy or something like ViewVC), you will see the individual commits. Above, there were two changes made to the trunk/rqp file, each committed locally to Git. The “dcommit” command pushed those changes as individual commits to the Subversion repository. In this way you can do all local development with Git and when you have something you want to commit to the Subversion repository, you can push all of the relevant changes at once, retaining each separate commit.</p>
<p>Using the git-svn plugin makes it extremely easy to use Git locally with a remote Subversion repository. If you are in a project or organization that, for whatever reason, does not want to convert to Git, you can continue to work with that Subversion repository, without the restriction of using Subversion yourself.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/work-on-remote-subversion-repositories-locally-with-git/">Work on remote Subversion repositories locally with Git</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/work-on-remote-subversion-repositories-locally-with-git/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
