Of-extend/Update SourceForge Repositories

From OpenFOAMWiki
Revision as of 20:31, 30 May 2013 by Bgschaid (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Due to a change in the software at Sourceforge the locations of the source repositories of the OpenFOAM-extend project have changed. If you checked out sources from there before January 2013 you either check them out into a new local copy and discard the local copy or you have to modify the local copies you have

1 Mercurial (hg)

This only concerns the Contrib/swak4Foam swak4Foam development version,

Open the file .hg/hgrc and change the line

default = http://openfoam-extend.hg.sourceforge.net:8000/hgroot/openfoam-extend/swak4Foam

to

default = http://hg.code.sf.net/p/openfoam-extend/swak4Foam

If you are planning to push changes either use (replace foobar with your Sourceforge username)

default = https://foobar@hg.code.sf.net/p/openfoam-extend/swak4Foam

or

default = ssh://foobar@hg.code.sf.net/p/openfoam-extend/swak4Foam

2 Subversion (svn)

This concerns a number of projects that were checked out through partial checkout from the SVN-repository

  • Go to the root of the working copy
  • Check original path
svn info
  • Relocate the repository (adapt first part according to the info in svn info). Different forms:
plain read access 
If you are only pulling sources
svn relocate https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/ svn://svn.code.sf.net/p/openfoam-extend/svn/
http access 
if your organization restricts the ports
svn relocate https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/ https://svn.code.sf.net/p/openfoam-extend/svn/
read/write access 
if you are going to push changes (replace foouser with your SourceForge user name)
svn relocate https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/ svn+ssh://foouser@svn.code.sf.net/p/openfoam-extend/svn/
  • Make sure that you're up to data
svn update