<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Canonical Version Numbers with Git</title>
	<atom:link href="http://www.hermanradtke.com/blog/canonical-version-numbers-with-git/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hermanradtke.com/blog/canonical-version-numbers-with-git/</link>
	<description>Personal anecdotes from my experiences using the LAMP stack</description>
	<lastBuildDate>Sun, 05 Feb 2012 19:08:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Using Git to generate an automatic version number</title>
		<link>http://www.hermanradtke.com/blog/canonical-version-numbers-with-git/comment-page-1/#comment-21418</link>
		<dc:creator>Using Git to generate an automatic version number</dc:creator>
		<pubDate>Thu, 02 Feb 2012 11:00:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.hermanradtke.com/blog/?p=315#comment-21418</guid>
		<description>[...] first post I came across, Canonical Version Numbers with Git seemed like a good starting [...]</description>
		<content:encoded><![CDATA[<p>[...] first post I came across, Canonical Version Numbers with Git seemed like a good starting [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eddie</title>
		<link>http://www.hermanradtke.com/blog/canonical-version-numbers-with-git/comment-page-1/#comment-14291</link>
		<dc:creator>eddie</dc:creator>
		<pubDate>Sun, 11 Sep 2011 09:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.hermanradtke.com/blog/?p=315#comment-14291</guid>
		<description>Ah! nice trick that works just as well.. after creating the above script,

if you git commit .. while editing your notes in vim, you could press escape 
and :r !git-getrevision.sh .. so your revision number will then be the start of your commit message...</description>
		<content:encoded><![CDATA[<p>Ah! nice trick that works just as well.. after creating the above script,</p>
<p>if you git commit .. while editing your notes in vim, you could press escape<br />
and :r !git-getrevision.sh .. so your revision number will then be the start of your commit message&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eddie</title>
		<link>http://www.hermanradtke.com/blog/canonical-version-numbers-with-git/comment-page-1/#comment-14290</link>
		<dc:creator>eddie</dc:creator>
		<pubDate>Sun, 11 Sep 2011 09:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.hermanradtke.com/blog/?p=315#comment-14290</guid>
		<description>Thank you for your info.. i created myself a 

cat /usr/local/bin/git-getrevision.sh 
#!/bin/bash
revisioncount=`git log --pretty=format:&#039;&#039; &#124; wc -l`
projectversion=`git describe --tags --long`

echo &quot;$projectversion-$revisioncount&quot;


Then before a commit i do git-getrevision.sh &gt; version</description>
		<content:encoded><![CDATA[<p>Thank you for your info.. i created myself a </p>
<p>cat /usr/local/bin/git-getrevision.sh<br />
#!/bin/bash<br />
revisioncount=`git log &#8211;pretty=format:&#8221; | wc -l`<br />
projectversion=`git describe &#8211;tags &#8211;long`</p>
<p>echo &#8220;$projectversion-$revisioncount&#8221;</p>
<p>Then before a commit i do git-getrevision.sh &gt; version</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Herman Radtke</title>
		<link>http://www.hermanradtke.com/blog/canonical-version-numbers-with-git/comment-page-1/#comment-12357</link>
		<dc:creator>Herman Radtke</dc:creator>
		<pubDate>Tue, 28 Jun 2011 14:09:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.hermanradtke.com/blog/?p=315#comment-12357</guid>
		<description>Hi Dejan,

Thanks for the comment. I edited your original post with your correction.</description>
		<content:encoded><![CDATA[<p>Hi Dejan,</p>
<p>Thanks for the comment. I edited your original post with your correction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dejan Lekic</title>
		<link>http://www.hermanradtke.com/blog/canonical-version-numbers-with-git/comment-page-1/#comment-12297</link>
		<dc:creator>Dejan Lekic</dc:creator>
		<pubDate>Sat, 25 Jun 2011 09:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.hermanradtke.com/blog/?p=315#comment-12297</guid>
		<description>A typo in the previous post - I wanted to say that I see no reason for git NOT to have version numbers... I hope this will be fixed by the moderator.</description>
		<content:encoded><![CDATA[<p>A typo in the previous post &#8211; I wanted to say that I see no reason for git NOT to have version numbers&#8230; I hope this will be fixed by the moderator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dejan Lekic</title>
		<link>http://www.hermanradtke.com/blog/canonical-version-numbers-with-git/comment-page-1/#comment-12296</link>
		<dc:creator>Dejan Lekic</dc:creator>
		<pubDate>Sat, 25 Jun 2011 09:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.hermanradtke.com/blog/?p=315#comment-12296</guid>
		<description>I use Git, Subversion, and Bazaar every day almost. I absolutely agree with Bazaar developers who say that VCS system should be user-friendly as well. I seriously see no reason for Git not to have built-in canonical version numbers in the same way Bazaar and Mercurial do, so user can use version number instead of piece of SHA code. After all, version numbers are FOR HUMANS, they are ordered, and if my version is 52345.7.16 I know that previous commit in the branch was 52345.7.15 - I will not need help from Git to tell me what was the previous SHA ...</description>
		<content:encoded><![CDATA[<p>I use Git, Subversion, and Bazaar every day almost. I absolutely agree with Bazaar developers who say that VCS system should be user-friendly as well. I seriously see no reason for Git not to have built-in canonical version numbers in the same way Bazaar and Mercurial do, so user can use version number instead of piece of SHA code. After all, version numbers are FOR HUMANS, they are ordered, and if my version is 52345.7.16 I know that previous commit in the branch was 52345.7.15 &#8211; I will not need help from Git to tell me what was the previous SHA &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

