Bugs on OpenFOAM's bug tracker I want to tackle - wyldckat/wyldckat.github.io GitHub Wiki
The original page has been moved to here: Bugs on OpenFOAM's bug tracker I wanted to tackle, but never managed to find the time for it
All that I'm leaving here is just a few code snippets that can come in handy, when reporting future bugs.
BUGNUM=2285
PATCHNAME=patch_name_v1
foam
mkdir ~/Desktop/mantis/bug$BUGNUM
tar -czf ~/Desktop/mantis/bug$BUGNUM/$PATCHNAME.tar.gz $(git diff --name-only master)
cp $(git diff --name-only master) ~/Desktop/mantis/bug$BUGNUM/
git diff master > ~/Desktop/mantis/bug$BUGNUM/$PATCHNAME.patch