ParaView/Git: Difference between revisions
Line 35: | Line 35: | ||
==Submodules== | ==Submodules== | ||
===VTK=== | |||
ParaView references VTK as a ''submodule'' called '<code>VTK</code>'. | ParaView references VTK as a ''submodule'' called '<code>VTK</code>'. | ||
Line 50: | Line 52: | ||
$ git submodule update VTK | $ git submodule update VTK | ||
===ParaViewData=== | |||
ParaView references sample and test data in a submodule called 'ParaViewData'. These data come in a separate repository because they are large and are not needed to build. | |||
Use commands similar to those above for the VTK submodule. The default URL is <code>git://paraview.org/paraview-data-tmp.git</code>, and the http url is <code>http://paraview.org/paraview-data-tmp.git</code>. |
Revision as of 21:23, 1 April 2010
Experimental Repository
ParaView version tracking and development will be hosted by Git.
We have published an experimental repository on paraview.org. WE REQUEST THAT NO ONE PUBLISH A CLONE OF THIS REPOSITORY AT AN ONLINE HOSTING SITE. This may or may not be the final version of history after conversion from CVS. It may be removed or rewritten at any time. We prefer to not have multiple incompatible histories out there. The final conversion will be available soon, at which point we may all begin sharing changes!
One may browse the repository online using the Gitweb interface at http://paraview.org/paraview-tmp.git.
At the time of this writing the repository does not have all branches and tags older than ParaView 2.6. Conversion of older branches and tags from CVS will be completed later and added.
Cloning
The clone URLs for the repository are
git://paraview.org/paraview-tmp.git http://paraview.org/paraview-tmp.git
The push URL for the repository is
git@paraview.org:paraview-tmp.git
Feel free to push anything to the experimental paraview-tmp.git repository. Note however that it is not official and all changes will be thrown away before publishing the official repository.
See the VTK Git documentation for further details.
Branches
At the time of this writing the repository has the following branches:
- master: Development (default)
- hooks: Local commit hooks (place in .git/hooks)
Submodules
VTK
ParaView references VTK as a submodule called 'VTK
'.
It can be obtained using the git submodule command.
First use the 'init' subcommand to register the submodule:
$ git submodule init VTK
This configures the VTK submodule to fetch from the default URL git://vtk.org/vtk-tmp.git
.
Next one may optionally configure a different URL, perhaps to use the http protocol:
$ git config submodule.VTK.url http://vtk.org/vtk-tmp.git
Finally, use the 'update' subcommand to get the submodule:
$ git submodule update VTK
ParaViewData
ParaView references sample and test data in a submodule called 'ParaViewData'. These data come in a separate repository because they are large and are not needed to build.
Use commands similar to those above for the VTK submodule. The default URL is git://paraview.org/paraview-data-tmp.git
, and the http url is http://paraview.org/paraview-data-tmp.git
.