User:Sergey/DevTools

=Developer Tools=

Here's some developer tools used by me. Some of them are ported from here to fork with Git.

bachangelog-generator
Here's a script I'm using to help generating bug fixes section of release logs.

It could be optimized further, like ignoring style/code cleanup commits, but it's already helps a lot.

bcheck
Script makes basic check for code style and it checks only lines being changed in current patch.

bcheck-files
This script checks style in all currently changed files and would report all issues met in that files.

bpropcheck
This script checks SVN properties assigned to source files and prints files and properties which are missing.

bsrcprop
This script resets required SVN properties for list of source files.

bsymlink-cycles
I've got WITH_PYTHON_INSTALL disabled in my CMake configuration which makes it a bit difficult to check issues appearing in Cycles.

Here's a small utility script which allows to use Cycles with all the features like GPU rendering and OpenShadingLanguage. It basically initializes Cycle addon's directory structure with a symbolic links to source tree and compiler OSL shaders.

Simply running it from ~/.config/blender/2.69/scripts/addons/cycles will do all the job done and you'll be ready to use Cycles (tweak blender version in the path if needed)

svn-diff
Script creates svn-compatible patch for changes made in git-svn repo. Ininitally it was found in yandex or Git mailing list, not sure..

touchdiff
Ported from script by Campbell Barton: Sometimes you want to know if any of the files you edited caused errors. Rebuilds you may have missed some so touching all modified files, then rebuilding is useful for this.

Add this to your ~/.bashrc file.

Show branch in bash prompt
Adding this to ~/.bashrc will make it so command prompt contains name of current branch in git repository.

pre-commit
Disallows git commit when there're staged changes to the submodules hash.

If you actually need to commit changes to hash use:

prepare-commit-msg
Put information about submodules changes to be added to the commit.