CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

git svn clone of openfoam-extend

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 26, 2009, 18:30
Default git svn clone of openfoam-extend
  #1
New Member
 
Join Date: Jul 2009
Posts: 5
Rep Power: 7
Bost is on a distinguished road
Hi

have any done?
git svn clone https://openfoam-extend.svn.sourcefo...penfoam-extend -T trunk -b branches -t tags

If so:
- how much time had it taken?
- would you provide me your git repo? Besides, does it work? I mean I know 'man git-svn' says:
[..]
> it is recommended that all git-svn users clone, fetch and dcommit directly from the SVN server, and avoid all git-clone/pull/merge/push operations between git repositories and branches
but according to my experiences 'git svn clone' of 1351 revisions may take several days and I believe 'git clone' would be a _way_ faster

I know there is similair post Which version is current development line for 15 but it's half a year old and IMO my question is worth a new thread

Bost
Bost is offline   Reply With Quote

Old   July 27, 2009, 06:32
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
Quote:
Originally Posted by Bost View Post
Hi

have any done?
git svn clone https://openfoam-extend.svn.sourcefo...penfoam-extend -T trunk -b branches -t tags

If so:
- how much time had it taken?
If you don't need the full development history, you can also specify a particular revision (eg, -r 912) in the clone command and use fetch to update afterwards from there.
olesen is offline   Reply With Quote

Old   July 27, 2009, 08:39
Default
  #3
New Member
 
Join Date: Jul 2009
Posts: 5
Rep Power: 7
Bost is on a distinguished road
> > have any done?
> > git svn clone https://openfoam-extend.svn.sourcefo...penfoam-extend -T trunk -b branches -t tags
> >
> > If so:
> > - how much time had it taken?
>
> If you don't need the full development history, you can also specify a particular revision (eg, -r 912) in the clone command and use fetch to update afterwards from there.

Yes I know that but that's not the solution in the long run. The OF is my hobby so I definitely don't have the time nor the mood for any sub-optimal solutions!!!

What I'm interested in has been mentioned in http://www.cfd-online.com/Forums/ope...x-1-5-dev.html (especially the posts #16, #17, #20)

Short summary:
- OF-extend is in svn repository
- OF-1.5.x in git repository
- git is superior(!) over svn (I hope there's no doubt or question about it)
- git can be used around svn or call it "at the top of svn"
The problem is:
- "OF-extend team tries to apply all patches from the git repository" but this is not easy
- applying OF-1.5.x patches on OF-extend in the git would be a lot easier but a full scale svn-to-git migration is too painful

I personally clearly recognize the advantage of git against svn and can work with git at the top of svn. The point is it takes me too much time to make my personal svn-to-git conversion, so I'm asking you: 'Can you share your OF-extend git repo if you have any? (thx)'

Bost
Bost is offline   Reply With Quote

Old   July 27, 2009, 10:56
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
Quote:
Originally Posted by Bost View Post
Yes I know that but that's not the solution in the long run. The OF is my hobby so I definitely don't have the time nor the mood for any sub-optimal solutions!!!
...
I personally clearly recognize the advantage of git against svn and can work with git at the top of svn. The point is it takes me too much time to make my personal svn-to-git conversion
As I mentioned, if you only started from a particular revision (eg, for the 1.5 version), it really won't take very long to fetch the 300 commits since then. In the future you can simply keep your git-svn branch up-to-date and merge against it. As far as it goes, there's nothing particularly wrong with this solution.

Since you obviously have experience working with git, you'll however recognize that the real problem is that you don't initially have any common ancestors between OpenFOAM-1.5.x and the OpenFOAM-ext version. Your very first merge will fail with thousands of conflicts that you'll have to resolve. If you ever get past that point, the rest probably isn't so bad.
olesen is offline   Reply With Quote

Old   August 3, 2009, 09:29
Default
  #5
New Member
 
Join Date: Jul 2009
Posts: 5
Rep Power: 7
Bost is on a distinguished road
My full scale

git svn clone https://openfoam-extend.svn.sourcefo...penfoam-extend -T trunk -b branches -t tags

is over. I'm surprised - it took something between 6 - 8 hours. Anyone interested in cloning of my git repository?

Bost
Bost is offline   Reply With Quote

Old   August 3, 2009, 09:38
Default
  #6
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
Quote:
Originally Posted by Bost View Post
Anyone interested in cloning of my git repository?
I think you should either ask the OpenFOAM-extend guys to push it to the sourceforge git repository (or let you do it), or just publish it to github (getting an account is quick and painless). From github it can be cloned/forked or whatever.
olesen is offline   Reply With Quote

Old   August 3, 2009, 09:52
Default
  #7
New Member
 
Join Date: Jul 2009
Posts: 5
Rep Power: 7
Bost is on a distinguished road
Quote:
Originally Posted by olesen View Post
I think you should either ask the OpenFOAM-extend guys [..]
I see I'm on a OpenFOAM-CFD forum but I cannot find the right forum or mailing list for OpenFOAM-extend... there are they? (well hidden anyway

Bost
Bost is offline   Reply With Quote

Old   August 3, 2009, 10:16
Default
  #8
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
Quote:
Originally Posted by Bost View Post
I see I'm on a OpenFOAM-CFD forum but I cannot find the right forum or mailing list for OpenFOAM-extend... there are they? (well hidden anyway
But you were already on that thread before - http://www.cfd-online.com/Forums/ope...tml#post218416 (posting #10 from Martin)
olesen is offline   Reply With Quote

Old   August 3, 2009, 10:21
Default
  #9
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Bost View Post
I see I'm on a OpenFOAM-CFD forum but I cannot find the right forum or mailing list for OpenFOAM-extend... there are they? (well hidden anyway
They're hiding in plain sight I'd say http://sourceforge.net/projects/openfoam-extend/

BTW: In the current structure I'd only selectively check out the parts that you need. The docu what to check out under which circumstanhces seems to have gone offline due to a software-change at sourceforge, sorry
gschaider is offline   Reply With Quote

Old   August 3, 2009, 11:27
Default
  #10
New Member
 
Join Date: Jul 2009
Posts: 5
Rep Power: 7
Bost is on a distinguished road
Quote:
Originally Posted by gschaider View Post
They're hiding in plain sight I'd say http://sourceforge.net/projects/openfoam-extend/
Are you talking about the mailing lists:
openfoam-exend-announce
openfoam-exend-general
openfoam-exend-submit
openfoam-exend-general
openfoam-exend-combust-react-sig
?

'cause I see no activity there. Except the openfoam-exend-submit but there are only sourceforge commit digests (or how to call it) - no discussion at all! I doubt my posts are read if I post them on any of these mailing list.

Quote:
Originally Posted by gschaider View Post
The docu [..] seems to have gone offline due to a software-change at sourceforge, sorry
You see: svn = centralised repository = Single point of failure (git is distributed = non-centralised "per definition")

Bost
Bost is offline   Reply With Quote

Old   August 3, 2009, 12:55
Default
  #11
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Bost View Post
Are you talking about the mailing lists:
openfoam-exend-announce
openfoam-exend-general
openfoam-exend-submit
openfoam-exend-general
openfoam-exend-combust-react-sig
?

'cause I see no activity there. Except the openfoam-exend-submit but there are only sourceforge commit digests (or how to call it) - no discussion at all! I doubt my posts are read if I post them on any of these mailing list.
The combust-list is quite new and the guys from that SIG have not been starting with it. The other lists are partly victims to the "only stuff that is ONLY of interest to the OF-extend, the rest goes on the MessageBoard"-policy. But they ARE read

Quote:
Originally Posted by Bost View Post
You see: svn = centralised repository = Single point of failure (git is distributed = non-centralised "per definition")
It's nice how prejudices work ("The fault must be SVN"): as Sourceforge was discontinuing the Wiki(!)-Software the docu would have been gone even if the source-control-server would have been git (or mercury, or CVS).

And there ARE advantage to centralization: there is one definitive version. "per definition" as you would say. In my opinion you get the best of both worlds if you have a central SVN-repository and you mirror the parts you're working on with a decentralized tool (git. svk ...) and push back your changes as soon as you're done.
gschaider is offline   Reply With Quote

Old   August 3, 2009, 13:32
Default
  #12
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Braunschweig, Niedersachsen, Germany
Posts: 275
Rep Power: 9
henrik is on a distinguished road
Dear Bost,

alternatively, follow the link that Bernhard just posted and after the project's name it says "by bgschaid, hakan_nilsson, hjasak, mbeaudoin". Click on any of these names, and select "Send me a message" -- This link is blue and on the right hand side.

Henrik
henrik is offline   Reply With Quote

Old   August 3, 2009, 20:16
Default
  #13
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 330
Rep Power: 13
mbeaudoin will become famous soon enough
Hello "Bost",

Thank you for your "high" interest in openfoam-extend.

May I recommend you take a look at the presentations we've made at each of the last 3 OpenFOAM Workshop held in Zagreb in 2007, Milan in 2008 and Montreal in 2009. You will find there a lot of answers to your questions.

As Henrik stated, it is quite easy to reach any of the openfoam-extend admins.

If you ever decide to contact me, please use your real name and and a real Email adress; "Bost" is a bit too "anonymous" for me.

Martin

Quote:
Originally Posted by henrik View Post
Dear Bost,

alternatively, follow the link that Bernhard just posted and after the project's name it says "by bgschaid, hakan_nilsson, hjasak, mbeaudoin". Click on any of these names, and select "Send me a message" -- This link is blue and on the right hand side.

Henrik
mbeaudoin is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
OpenFOAM Patched Version 1.5 via git Repository OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 August 26, 2008 05:06
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50


All times are GMT -4. The time now is 01:51.