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

15x readme txt file of fixed bugs

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 22, 2008, 16:44
Default Good afternoon, I was wonde
  #1
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 187
Rep Power: 9
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, 17:53
Default Agreed. Once I have tried t
  #2
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 114
Rep Power: 9
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, 04:53
Default IMO maintaining a separate bug
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 779
Rep Power: 19
olesen will become famous soon enough
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, 09:20
Default For my OpenFOAM-1.5.x version,
  #4
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 488
Rep Power: 12
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, 11:21
Default Hi Basti, From your questio
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 779
Rep Power: 19
olesen will become famous soon enough
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, 08:50
Default Thanks Mark - I have downloade
  #6
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 187
Rep Power: 9
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

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
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 CD-adapco 0 July 11, 2008 06:26
Bugs in polySplineEdgeC kbr OpenFOAM Bugs 2 June 6, 2008 13:04


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