Of-extend/Update SourceForge Repositories
This page is work in progress.
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
Contents
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 date
svn update
3 Git
The following GIT projects can now be reached under new URLs:
- DensityBasedTurbo
- ShipHydroSIG
- UsbStickCreation
- OpenFOAM-1.6-ext
Here are the commands necessary to reset the project remote URL of your local copies.
3.1 Project DensityBasedTurbo
- Go to the root of the repository copy
- plain read access
- If you are only pulling sources
git remote set-url origin git://git.code.sf.net/p/openfoam-extend/DensityBasedTurbo
- http access
- if your organization restricts the ports
git remote set-url origin https://git.code.sf.net/p/openfoam-extend/DensityBasedTurbo
- read/write access
- if you are going to push changes (replace foouser with your SourceForge user name)
git remote set-url origin ssh://foouser@git.code.sf.net/p/openfoam-extend/DensityBasedTurbo
- Make sure you are up to date
git pull origin
- To start fresh with new clone repository, just follow the instructions here
http://sourceforge.net/p/openfoam-extend/DensityBasedTurbo/ci/master/tree/
3.2 Project ShipHydroSIG
- Go to the root of the repository copy
- plain read access
- If you are only pulling sources
git remote set-url origin git://git.code.sf.net/p/openfoam-extend/ShipHydroSIG
- http access
- if your organization restricts the ports
git remote set-url origin https://git.code.sf.net/p/openfoam-extend/ShipHydroSIG
- read/write access
- if you are going to push changes (replace foouser with your SourceForge user name)
git remote set-url origin ssh://foouser@git.code.sf.net/p/openfoam-extend/ShipHydroSIG
- Make sure you are up to date
git pull origin
- To start fresh with new clone repository, just follow the instructions here
http://sourceforge.net/p/openfoam-extend/ShipHydroSIG/ci/master/tree/
3.3 Project UsbStickCreation
- Go to the root of the repository copy
- plain read access
- If you are only pulling sources
git remote set-url origin git://git.code.sf.net/p/openfoam-extend/UsbStickCreation
- http access
- if your organization restricts the ports
git remote set-url origin https://git.code.sf.net/p/openfoam-extend/UsbStickCreation
- read/write access
- if you are going to push changes (replace foouser with your SourceForge user name)
git remote set-url origin ssh://foouser@git.code.sf.net/p/openfoam-extend/UsbStickCreation
- Make sure you are up to date
git pull origin
- To start fresh with new clone repository, just follow the instructions here
http://sourceforge.net/p/openfoam-extend/UsbStickCreation/ci/master/tree/