<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/setlocalversion, branch v2.6.28</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.28</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.28'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2008-10-29T21:25:36Z</updated>
<entry>
<title>kbuild: tag with git revision when git describe is missing</title>
<updated>2008-10-29T21:25:36Z</updated>
<author>
<name>Trent Piepho</name>
<email>tpiepho@freescale.com</email>
</author>
<published>2008-09-12T19:26:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f03b283f081f538ec71b9e87cb8411bb62e2abc9'/>
<id>urn:sha1:f03b283f081f538ec71b9e87cb8411bb62e2abc9</id>
<content type='text'>
setlocalversion used to use an abbreviated git commit sha1 to generate the
tag.  This was changed in commit d882421f4e08ddf0a94245cdbe516db260aa6f41
"kbuild: change CONFIG_LOCALVERSION_AUTO to use a git-describe-ish format"
to use git describe to come up with a tag.  Which is nice, but git describe
sometimes can't describe the revision.
Commit 56b2f0706d82535fd8d85503f2dcc0be40c8e55d ("setlocalversion: do not
describe if there is nothing to describe") addressed this, but there is still
no tag generated.

So, generate a plain abbreviated sha1 tag like setlocalversion used to when
git describe comes up short.

Signed-off-by: Trent Piepho &lt;tpiepho@freescale.com&gt;
CC: Jan Engelhardt &lt;jengelh@medozas.de&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: setlocalversion: dont include svn change count</title>
<updated>2008-10-29T21:02:07Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2008-10-25T21:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e3da2fb712bb75b6035ba0743f3256df1de30bce'/>
<id>urn:sha1:e3da2fb712bb75b6035ba0743f3256df1de30bce</id>
<content type='text'>
The number of pending changes is pretty useless, so encoding it into the
version is just annoying by the constant shuffle in corresponding modules.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>setlocalversion: do not describe if there is nothing to describe</title>
<updated>2008-07-25T20:12:53Z</updated>
<author>
<name>Sebastian Siewior</name>
<email>lkml@ml.breakpoint.cc</email>
</author>
<published>2008-07-01T22:18:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=56b2f0706d82535fd8d85503f2dcc0be40c8e55d'/>
<id>urn:sha1:56b2f0706d82535fd8d85503f2dcc0be40c8e55d</id>
<content type='text'>
Jan Engelhardt wrote:
&gt; Just a note that when you run git-describe, you should probably quiten it.
&gt;
&gt; fatal: cannot describe 'bd7364a0fd5a4a2878fe4a224be1b142a4e6698e'
&gt;
&gt; This happens when tags are not present, which can happen if Linus's tree
&gt; is sent upwards again, IOW:
&gt;
&gt;  machine1$  git-clone torvalds/linux-2.6.git
&gt;  machine1$  git push elsewhere master
&gt;
&gt;  machine2$  git-clone elsewhere:/linux
&gt;  machine2$  git-describe HEAD
&gt;  fatal: cannot describe that

Signed-off-by: Sebastian Siewior &lt;sebastian@breakpoint.cc&gt;
Acked-by: Jan Engelhardt &lt;jengelh@medozas.de&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: add svn revision information to setlocalversion</title>
<updated>2008-02-03T07:59:50Z</updated>
<author>
<name>Bryan Wu</name>
<email>bryan.wu@analog.com</email>
</author>
<published>2008-02-03T06:13:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ba3d05fb6369e617aee4f16bfce7ba5cbd30f26b'/>
<id>urn:sha1:ba3d05fb6369e617aee4f16bfce7ba5cbd30f26b</id>
<content type='text'>
follow git and mercurial style, include uncommitted changes detect

Cc: Frans Pop &lt;elendil@planet.nl&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@analog.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix false positive -dirty tag caused by make-kpkg</title>
<updated>2008-01-28T22:14:37Z</updated>
<author>
<name>Theodore Ts'o</name>
<email>tytso@mit.edu</email>
</author>
<published>2007-11-03T01:53:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b052ce4c840e2da3c72ab7dadb97d1094f6e3a89'/>
<id>urn:sha1:b052ce4c840e2da3c72ab7dadb97d1094f6e3a89</id>
<content type='text'>
make-kpkg modifies scripts/package/Makefile and deletes
scripts/package/builddeb as part of its build process.  Ignore these
changes so the tree isn't marked as -dirty, when it is just an
artifact of make-kpkg.  (make-kpkg clean restores the files to their
original state, and these helper scripts won't affect the final
compiled kernel in any way.)

Signed-off-by: "Theodore Ts'o" &lt;tytso@mit.edu&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix scripts/setlocalversion to avoid erroneous -dirty tag</title>
<updated>2008-01-28T22:14:37Z</updated>
<author>
<name>Theodore Ts'o</name>
<email>tytso@mit.edu</email>
</author>
<published>2007-11-03T01:53:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4e7434ff028c4280bed620f28fdbf9f4d77d77ce'/>
<id>urn:sha1:4e7434ff028c4280bed620f28fdbf9f4d77d77ce</id>
<content type='text'>
If git's index file is out of date, and some files have been touched
such that their timestamp doesn't what is in the index, "git
diff-index HEAD" may show that a particular file is dirty, when in
fact it really isn't.  Running "git update-index" will update the
index to avoid these false positives.

Signed-off-by: "Theodore Ts'o" &lt;tytso@mit.edu&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: change CONFIG_LOCALVERSION_AUTO to use a git-describe-ish format</title>
<updated>2008-01-28T22:14:37Z</updated>
<author>
<name>Theodore Ts'o</name>
<email>tytso@mit.edu</email>
</author>
<published>2007-11-03T01:52:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d882421f4e08ddf0a94245cdbe516db260aa6f41'/>
<id>urn:sha1:d882421f4e08ddf0a94245cdbe516db260aa6f41</id>
<content type='text'>
Change the automatic local version to have the form -nnnnn-gSHA1SUMID,
where 'nnnnn' is the number of commits since the last tag (i.e.,
2.6.21-rc7).  This makes it much more likely that the package names created
for the kernel will look "newer" to a package manager.

Signed-off-by: "Theodore Ts'o" &lt;tytso@mit.edu&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: support mercurial in setlocalversion</title>
<updated>2008-01-28T22:14:36Z</updated>
<author>
<name>Aron Griffis</name>
<email>aron@hp.com</email>
</author>
<published>2007-11-28T21:55:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3dce174cfcba11026b028d33bed0438b80e37124'/>
<id>urn:sha1:3dce174cfcba11026b028d33bed0438b80e37124</id>
<content type='text'>
This represents mercurial changesets similarly to git.  For untagged
revisions, append the changeset id.  If there are uncommitted changes,
append -dirty.  For example, -hgc60016ba6237-dirty

Signed-off-by: Aron Griffis &lt;aron@hp.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: append -dirty for updated but uncommited changes</title>
<updated>2006-06-16T22:08:17Z</updated>
<author>
<name>Uwe Zeisberger</name>
<email>zeisberg@informatik.uni-freiburg.de</email>
</author>
<published>2006-06-16T06:48:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=216b2f1f718d653795024a085636d063693dd9a9'/>
<id>urn:sha1:216b2f1f718d653795024a085636d063693dd9a9</id>
<content type='text'>
Compare the working copy with the last commit, instead of the index.

Signed-off-by: Uwe Zeisberger &lt;zeisberg@informatik.uni-freiburg.de&gt;
Acked-by: Ryan Anderson &lt;ryan@michonline.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: append git revision for all untagged commits</title>
<updated>2006-06-16T22:08:17Z</updated>
<author>
<name>Uwe Zeisberger</name>
<email>zeisberg@informatik.uni-freiburg.de</email>
</author>
<published>2006-06-16T06:47:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=29b0c89953fee8597b4a9cbdd763c294ae0eb4c7'/>
<id>urn:sha1:29b0c89953fee8597b4a9cbdd763c294ae0eb4c7</id>
<content type='text'>
adds revision suffix for untagged commits that are reachable from a tag

I'm bisecting and don't get the -g...... suffix.  The reason is, that

	git name-rev --tags HEAD

returns e.g.

	HEAD tags/v2.6.17-rc1^0~1067

which is currently good enough for setlocalversion to skip the suffix.
This introduces a dependecy to grep -E, which should be fine.

Signed-off-by: Uwe Zeisberger &lt;zeisberg@informatik.uni-freiburg.de&gt;
Acked-By: Ryan Anderson &lt;ryan@michonline.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
</feed>
