Advertisements

General Musing

blaze your trail

Posts Tagged ‘cvs

Git Flow – Concurrent Version on Acid

leave a comment »

Git Flow – Concurrent Version on Acid

I recently changed from using svn to using git as my concurrent version system, the migration was far easier than my migration from rcs to cvs and on to svn. I am a great believer in the use of branches to make the development experience easier. Many people cite issues with merging and overall consistency of the development tree as reasons why branching does not work for them. Usually I tell them they are doing it wrong, and explain how it could be done to make their lives a whole lot easier.

Git Flow

Git flow is an extension for git which makes the maintenance of branches a whole lot easier. The functionality allows you to set up master, development and, feature and hotfix branches and gives you the tools you need to easily switch between those branches. For the detractors of branching it teaches them an effective way to create and maintain their branches, making it easier to maintain their code than before.

OriginalDocumentationCode

View or comment on Daniël Crompton’s post »

Advertisements

Written by Daniël W. Crompton (webhat)

June 30, 2012 at 10:23 am

Proof of Concept: Use Everywhere #bash

leave a comment »

For a while I’ve been using custom tools to perform certain task that I wasn’t able to do with the shell tools provided. Or which worked differently on each of the Unix platforms I worked on. I mostly solved this by adding any custom scripts to the bundle that I deployed. This naturally didn’t work for compiled programs, due to different processors and kernel stacks.

When I came to a platform for which I had not yet compiled my custom tool I would compile it and add it to my custom share, USB-stick or CVS. I would name the tool <name>-<machine>-<system> which would allow me to ship the bundle with a version which was compiled specifically for that platform, or for multiple platforms. I would then call my wrapper script which would call the specific binary for the current platform.

I […] am rarely happier than when spending an entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand. Ten seconds, I tell myself, is ten seconds. Time is valuable and ten seconds’ worth of it is well worth the investment of a day’s happy activity working out a way of saving it.
Douglas Adams

Naturally I borrowed the idea from somebody, although I can no longer remember who.

Image source: pastebin

Written by Daniël W. Crompton (webhat)

March 10, 2012 at 12:48 pm

Posted in hardware, OS, programming

Tagged with , ,

%d bloggers like this: