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

15x readme txt file of fixed bugs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2008, 17:44
Default Good afternoon, I was wonde
  #1
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
Good afternoon,

I was wondering if it's possible to find a file (somewhere on the git server) which contains all the fixed bugs/changes of the current git version. This way, it would be easy to track the status and see if a fresh download/build is needed.

Best regards,

PO
podallaire is offline   Reply With Quote

Old   September 22, 2008, 18:53
Default Agreed. Once I have tried t
  #2
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Agreed.

Once I have tried to figure out how to find the changes . I could only find the command "git log",but the log information is quite limited.
lin is offline   Reply With Quote

Old   September 23, 2008, 05:53
Default IMO maintaining a separate bug
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
IMO maintaining a separate bug/changes list adds extra overhead for the developers and would probably be out-of-sync within a very short time.

While the commit comments themselves might be too modest, the information that you can gather from the git tools is outstanding ... it might just take a bit to figure out how to use git.
If you are just starting, take a look at this talk:
http://excess.org/tag/git/

For my OpenFOAM-1.5.x version, I just added the repo.or.cz location as a tracked remote 'repo' and have my own 'emcon' local branch.

At any time I can simply 'git-fetch' from the repo to get the most current changes, without affecting my own source tree. At my leisure, I can then use git-merge to merge the changes into my local source tree and git branch.

To see what has changed since my last fetch or merge, I use "git log repo/master ^HEAD" (ie, show everything in repo/master that doesn't have a corresponding commit in HEAD).
To see which changes are purely local, just do the same in reverse: "git log --no-merges HEAD ^repo/master". Of course, it is easiest to just define corresponding aliases in the .git/config file.

If you want more details about what has changed, try using either "git log --stat", "git log -p" or a combination of both. If you want to look at a particular commit, you can use "git show".

I find "qgit" to be a quite nice alternative to using "gitk" for a graphical browsing.
olesen is offline   Reply With Quote

Old   September 24, 2008, 10:20
Default For my OpenFOAM-1.5.x version,
  #4
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
For my OpenFOAM-1.5.x version, I just added the repo.or.cz location as a tracked remote 'repo' and have my own 'emcon' local branch.

I don't understand this. Your local harddisc has the 'emcon' files. right? And a second repo is online? So why do you need a 'fetch' to update this online repo?
bastil is offline   Reply With Quote

Old   September 24, 2008, 12:21
Default Hi Basti, From your questio
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Hi Basti,

From your question I take it you might not have worked with git so much. What I mean is that I maintain my own local branch and simply track the current HEAD (in this case 'master') branch from the repo.cz.org repository online (I called this remote 'repo' instead of the default 'origin'). Using git-fetch, I can grab the current updates from repo.cz.org and then use git-merge to merge them into my local branch and into my local working copy. I find that this works much better than working on a local copy of the master branch, but that might just be personal preference.

In the attached screenshot, you can see that the online branch 'repo/master' is currently ahead of my local branch 'emcon'. When I get time, I'll merge in the 'repo/master' and recompile ... or maybe wait for a few more bug fixes to accumulate before I feel like doing anything about it. After merging with repo/master, any further git-fetch/git-merge combinations just fast-forwards my git repository and working directory without resulting in a merge commit.

Using this method, I can simply continue with my own slightly modified version, while remaining synchronized with the online version and documenting my personal changes.


olesen is offline   Reply With Quote

Old   October 2, 2008, 09:50
Default Thanks Mark - I have downloade
  #6
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
Thanks Mark - I have downloaded qgit and will try it.

Best regards,

PO
podallaire is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bugs in FFT luca OpenFOAM Bugs 2 January 27, 2009 16:40
Fixed staticinitorder bugs in getEnv and dotFoam mwild OpenFOAM Bugs 28 January 10, 2009 09:29
OF 15 Misleading information in README about Qt 43x in openSUSE alberto OpenFOAM Bugs 40 November 7, 2008 10:20
bugs in starcd 4.06 whitemelon Siemens 0 July 11, 2008 07:26
Bugs in polySplineEdgeC kbr OpenFOAM Bugs 2 June 6, 2008 14:04


All times are GMT -4. The time now is 00:16.