[Paraview-developers] CVS->Git Transition Plan
Biddiscombe, John A.
biddisco at cscs.ch
Wed Apr 21 07:51:53 EDT 2010
Brad,
> The matching Git commit is
>
> http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=fddd6bba
It seems like the sub modules have lives of their own.
I'm working with paraview, and have a bunch of changes in
paraview : Xdmf : VTK
which are really their own repositories.
These are my 'pv-meshless' versions of things.
Do I treat these as separate repos for the purposes of my git management. Can I checkout paraview with a single tag and get all 3. I looked at the paraview git log and can't see anything that tells me where cvs ended and git took over - I don't know how you find this "h=fddd6bba" stuff - how do I find the equivalent ones for the separate repos?
Basically, can I do all in one, or must I do 3 (or more if I've forgotten other sub-modules)
I apologise for being useless. I have been playing with git here locally for some months, and though I really like the way it works, I still have a great deal of trouble getting it to do what I think it should be doing.
JB
> -----Original Message-----
> From: Brad King [mailto:brad.king at kitware.com]
> Sent: 19 April 2010 18:03
> To: Biddiscombe, John A.
> Cc: ParaView Developers; VTK Developers
> Subject: Re: [Paraview-developers] CVS->Git Transition Plan
>
> Biddiscombe, John A. wrote:
> > I'm sitting on a very large number of local diffs in my CVS tree.
>
> Well, it's time to convert those into some local commits :)
> Then you can rebase or merge with the upstream work with more
> safety.
>
> You can use 'cvs diff' to construct a patch and then apply
> that to a new Git clone. First, do 'cvs update' to get
> the latest (final) version available from CVS:
>
> VTKfromCVS$ cvs update
>
> Then compute your local diff in a format Git understands:
>
> VTKfromCVS$ cvs diff -u > ~/myvtk.patch
>
> Start your Git clone:
>
> $ git clone git://vtk.org/VTK.git
> $ cd VTK
>
> The matching Git commit is
>
> http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=fddd6bba
>
> Start a local branch at that commit:
>
> VTK$ git checkout -b myvtk fddd6bba
>
> Apply the patch:
>
> VTK$ git apply ~/myvtk.patch
>
> Create one or more local commits:
>
> VTK$ git add Common/vtkMyModifiedClass.*
> VTK$ git commit
> (enter commit message in editor...use a short summary line,
> followed by a blank line, followed by a detailed description)
>
> You can use 'git add' or even 'git add -p' to stage and commit
> each of your local modifications separately.
>
> Also, read the instructions here:
>
> http://www.vtk.org/Wiki/VTK/Git#Hooks
>
> to set up local commit checks.
>
> > Also, for commits, who do I send my public key to?
>
> See the instructions here:
>
> http://www.vtk.org/Wiki/VTK/Git#Publishing
>
> They point you to the login signup page:
>
> https://www.kitware.com/Admin/SendPassword.cgi
>
> For the verification reference you can just write "existing committer"
> or something to that effect.
>
> -Brad
More information about the Paraview-developers
mailing list