Difference between revisions of "Of-extend/Update SourceForge Repositories"
m (Add stub for Git) |
|||
Line 35: | Line 35: | ||
== Git == | == 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. | ||
+ | |||
+ | === Project DensityBasedTurbo === | ||
+ | ; 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 <tt>foouser</tt> 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 repositories, just follow the instructions here: | ||
+ | http://sourceforge.net/p/openfoam-extend/DensityBasedTurbo/ci/master/tree/ |
Revision as of 02:08, 1 June 2013
This page is work in progress. Some necessary information is still missing (Git)
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
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
- 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 repositories, just follow the instructions here
http://sourceforge.net/p/openfoam-extend/DensityBasedTurbo/ci/master/tree/