|
[Sponsors] |
December 6, 2010, 06:23 |
Update 1.7.x from local source
|
#1 |
Member
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16 |
Hello FOAMers,
i need an advice for the following issue... I'll have to administrating some PC's using OpenFOAM without any connection to the internet (at present and in future). But i don't want to miss the update features of 1.*.x-Versions! What would be the smartest procedure of getting OpenFOAM up-to-date from local source? I guess https://github.com/OpenCFD/OpenFOAM-...rchives/master is one option where i can download the very latest git repository of the present 1.7.x-Version. But afterwards i'm not sure how to proceed with 'git' using a local device as source! Thanks in advance for sharing your expertise, /Stefan |
|
December 6, 2010, 08:45 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Instead of "git pull http://xxx" you should be able to use "git pull user@xxx:/", which pulls the changes from your local copy.
|
|
December 7, 2010, 03:18 |
|
#3 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
|
||
December 10, 2010, 06:50 |
|
#4 |
Member
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16 |
Thanks Anton and Mark for your hints!
It is seemingly advantageous to get familiar with git, avoiding problems due to administrating. But nevertheless, i'm insecure to get the right start-up. When I download the latest status from https://github.com/OpenCFD/OpenFOAM-1.7.x und extract the archive, it seems not compatible with getting a clone via Code:
git clone Code:
git init Maybe another advice will help me to get the right start-up in that case! /Stefan Last edited by SD@TUB; December 10, 2010 at 10:17. |
|
December 11, 2010, 08:47 |
|
#5 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Stefan,
Given the limited information you gave us, there are three possible scenarios:
Best regards, Bruno
__________________
Last edited by wyldckat; December 11, 2010 at 08:48. Reason: missed a word... |
||
December 12, 2010, 07:42 |
|
#6 |
Member
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16 |
Hello Bruno,
the first scenario was the right guess! So working with the tarball exclusively is a practical way at the very least. Finally, just to unterstand in depth. The downloadable archive from https://github.com/OpenCFD/OpenFOAM-1.7.x is a (git) clone from the master repository itself? Creating a separate branch such as Mark suggested wouldn't be possible at all? /Stefan |
|
December 12, 2010, 09:32 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Stefan,
Mmm, do you also want to keep a track of the changes in the main git tree?
OK, this is for a tarball based git repository - here's what you can do:
Any other questions about git, read the tutorials and learn!! Best regards, Bruno PS: I've posted these instructions in my blog here in cfd-online, just in case I need to update the instructions in the future: Maintaining a local git repository from a source tarball
__________________
Last edited by wyldckat; December 12, 2010 at 12:07. Reason: "N" in tar seems pointless and slow when extracting... so I removed from the instructions | 2nd edit: added "PS:" | 3rd edit, see "edit:" :D |
|
December 13, 2010, 05:04 |
|
#8 |
Member
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16 |
Thanks a lot Bruno for this instruction! This will help me to proceed with my setup and i'll not have to miss the features of git.
Best Regards, /Stefan P.S. I'm learning by doing |
|
Tags |
git, local source, without internet |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |