Difference between revisions of "Subversion/Vendor Sources"

From Freephile Wiki
Jump to navigation Jump to search
(New page: == Organizing Vendor Sources == In a Subversion repository, use the policies and procedures described in the Subversion book: (Chapter 7) * http://svnbook.red-bean.com/nightly/en/svn.adva...)
 
(completes TODO)
 
Line 11: Line 11:
 
Essentially, vendor sources get tracked as top-level sources in the repository, and then our projects which depend on those sources use the svn:externals property to pull in the appropriate revision.  When svn:externals are used, the original source is not ever incorporated into our tree.  It is essentially a "link" into a remote SVN repository instead of a local mirror.  It's preferred to load the original source to the <tt>/vendorsrc</tt> tree and use <tt>svn copy</tt> to use that code to pre-populate another location in the repository.
 
Essentially, vendor sources get tracked as top-level sources in the repository, and then our projects which depend on those sources use the svn:externals property to pull in the appropriate revision.  When svn:externals are used, the original source is not ever incorporated into our tree.  It is essentially a "link" into a remote SVN repository instead of a local mirror.  It's preferred to load the original source to the <tt>/vendorsrc</tt> tree and use <tt>svn copy</tt> to use that code to pre-populate another location in the repository.
  
TODO create a map of a [[Subversion/Repository Layout]] describing the organization of a typical software project repository (including vendor sources).
+
See a map of a [[Subversion/Repository Layout]] describing the organization of a typical software project repository (including vendor sources).
  
 
Use svnadmin to manipulate the repository, and when reorganizing things
 
Use svnadmin to manipulate the repository, and when reorganizing things

Latest revision as of 18:29, 8 December 2008

Organizing Vendor Sources[edit | edit source]

In a Subversion repository, use the policies and procedures described in the Subversion book: (Chapter 7)

http://weierophinney.net/matthew/archives/132-svnexternals.html

Using svn:externals[edit | edit source]

Essentially, vendor sources get tracked as top-level sources in the repository, and then our projects which depend on those sources use the svn:externals property to pull in the appropriate revision. When svn:externals are used, the original source is not ever incorporated into our tree. It is essentially a "link" into a remote SVN repository instead of a local mirror. It's preferred to load the original source to the /vendorsrc tree and use svn copy to use that code to pre-populate another location in the repository.

See a map of a Subversion/Repository Layout describing the organization of a typical software project repository (including vendor sources).

Use svnadmin to manipulate the repository, and when reorganizing things http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.load.html