Difference between revisions of "Of-extend/Update SourceForge Repositories"
From OpenFOAMWiki
(Converting HG and SVN repositories to new Sourceforge) |
m (Add stub for Git) |
||
Line 1: | Line 1: | ||
+ | This page is work in progress. Some necessary information is still missing (Git) | ||
+ | |||
Due to a change in the software at [http://sourceforge.net Sourceforge] the locations of the source repositories of the [https://sourceforge.net/projects/openfoam-extend/ 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 | Due to a change in the software at [http://sourceforge.net Sourceforge] the locations of the source repositories of the [https://sourceforge.net/projects/openfoam-extend/ 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 | ||
Line 30: | Line 32: | ||
* Make sure that you're up to data | * Make sure that you're up to data | ||
svn update | svn update | ||
+ | |||
+ | == Git == | ||
+ | |||
+ | TODO |
Revision as of 20:48, 30 May 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
TODO