When should I create a new branch?

You should create a new branch when you’re doing development work that is somewhat experimental in nature. So in your scenario definitely create a new branch and not a folder within master. If you created your sandbox work as a directory in the master, it’s going to reside there until you remove it using git. …

Read more

Build numbers: major.minor.revision

The build_info.properties file: build.major.number=00 build.revision.number=00 build.minor.number=00 The build.xml file: <?xml version=”1.0″ encoding=”UTF-8″?> <project name=”project” default=”current-number”> <property file=”build_info.properties”/> <property name=”build.number” value=”${build.major.number}.${build.minor.number}.${build.revision.number}”/> <target name=”current-number”> <echo>Current build number:${build.number}</echo> </target> <target name=”compile”> <antcall target=”revision”></antcall> </target> <target name=”dist”> <antcall target=”minor”></antcall> </target> <target name=”revision”> <propertyfile file=”build_info.properties”> <entry key=”build.revision.number” type=”int” operation=”+” value=”1″ pattern=”00″/> </propertyfile> </target> <target name=”minor”> <propertyfile file=”build_info.properties”> <entry key=”build.minor.number” type=”int” …

Read more

Versioning Database Persisted Objects, How would you? [closed]

Think carefully about the requirements for revisions. Once your code-base has pervasive history tracking built into the operational system it will get very complex. Insurance underwriting systems are particularly bad for this, with schemas often running in excess of 1000 tables. Queries also tend to be quite complex and this can lead to performance issues. …

Read more