<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/scripts/setlocalversion, branch v2.6.17.2</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.17.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.17.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2006-01-08T17:44:01Z</updated>
<entry>
<title>kbuild: In setlocalversion change -git_dirty to just -dirty</title>
<updated>2006-01-08T17:44:01Z</updated>
<author>
<name>Ryan Anderson</name>
<email>ryan@michonline.com</email>
</author>
<published>2006-01-08T09:35:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=24d49756aa67322c2def5dc97344615572ac454e'/>
<id>urn:sha1:24d49756aa67322c2def5dc97344615572ac454e</id>
<content type='text'>
When building Debian packages directly from the git tree, the appended
"git_dirty" is a problem due to the underscore.  In order to cause the
least problems, change that just to "dirty".

Signed-off-by: Ryan Anderson &lt;ryan@michonline.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: Use git in scripts/setlocalversion</title>
<updated>2006-01-06T19:46:21Z</updated>
<author>
<name>Rene Scharfe</name>
<email>rene.scharfe@lsrfire.ath.cx</email>
</author>
<published>2006-01-04T19:42:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=117a93db1dcd6ed61336b27e4e2938f791c1841b'/>
<id>urn:sha1:117a93db1dcd6ed61336b27e4e2938f791c1841b</id>
<content type='text'>
Currently scripts/setlocalversion is a Perl script that tries to figure
out the current git commit ID of a repo without using git.  It also
imports Digest::MD5 without using it and generally is too big for the
small task it does. :]  And it always reports a git ID, even when the
HEAD is tagged -- this is a bug.

This patch replaces it with a Bourne Shell script that uses git
commands to do the same.  I can't come up with a scenario where someone
would use a git repo and refuse to install git core at the same time,
so I think it's reasonable to assume git is available.

The new script also reports uncommitted changes by adding -git_dirty to
the version string.  Obviously you can't see from that _what_ has been
changed from the last commit, so it's more of a reminder that you
forgot to commit something.

The script is easily extensible: simply add a check for Mercurial (or
whatever) below the git check.

Note: the script doesn't print a newline char anymore.  That's only
because it was easier to implement it that way, not a feature (or bug).
'make kernelrelease' doesn't care.

Signed-off-by: Rene Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Acked-by: Ryan Anderson &lt;ryan@michonline.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kbuild: automatically append a short string to the version based upon the git commit</title>
<updated>2005-08-10T19:11:23Z</updated>
<author>
<name>Ryan Anderson</name>
<email>ryan@michonline.com</email>
</author>
<published>2005-07-31T08:57:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=aaebf4332018980fef4e601d1b5a6e52dd9e9ae4'/>
<id>urn:sha1:aaebf4332018980fef4e601d1b5a6e52dd9e9ae4</id>
<content type='text'>
If CONFIG_AUTO_LOCALVERSION is set, the user is using a git-based tree, and the
current HEAD is not referred to by any tags in .git/refs/tags/, append -g and
the first 8 characters of the commit to the version string.  This makes it
easier to use git-bisect, and/or to do a daily build, without trampling on your
older, working builds, or accidentally setting up conflicting sets of modules.

Signed-off-by: Ryan Anderson &lt;ryan@michonline.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
</feed>
