<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/scripts/setlocalversion, branch v2.6.33.17</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>kbuild: fix delay in setlocalversion on readonly source</title>
<updated>2009-06-14T20:26:00+00:00</updated>
<author>
<name>Nico Schottelius</name>
<email>nico-linuxsetlocalversion@schottelius.org</email>
</author>
<published>2009-06-12T07:59:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a2bb90a08cb3b64dd815d762ffde2312582a6ec9'/>
<id>a2bb90a08cb3b64dd815d762ffde2312582a6ec9</id>
<content type='text'>
Do not update index on read only media.
Idea published by Christian Kujau &lt;lists@nerdbynature.de&gt;.

Cc: Nico Schottelius &lt;nico@ikn.schottelius.org&gt;
Cc: Christian Kujau &lt;lists@nerdbynature.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not update index on read only media.
Idea published by Christian Kujau &lt;lists@nerdbynature.de&gt;.

Cc: Nico Schottelius &lt;nico@ikn.schottelius.org&gt;
Cc: Christian Kujau &lt;lists@nerdbynature.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix scripts/setlocalversion with tagged git commit</title>
<updated>2009-05-19T21:11:34+00:00</updated>
<author>
<name>Nico Schottelius</name>
<email>nico-linux-20090330@schottelius.org</email>
</author>
<published>2009-05-16T12:00:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=33252572e727ccdcc54efdb67157e7ab3d6942db'/>
<id>33252572e727ccdcc54efdb67157e7ab3d6942db</id>
<content type='text'>
Produce correct output for
- tagged commit (v2.6.30-rc6)
- past tagged commit (v2.6.30-rc5-299-g7c7327d)
- no tag

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Produce correct output for
- tagged commit (v2.6.30-rc6)
- past tagged commit (v2.6.30-rc5-299-g7c7327d)
- no tag

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kbuild: fix scripts/setlocalversion with git</title>
<updated>2009-05-01T08:54:04+00:00</updated>
<author>
<name>Nico Schottelius</name>
<email>nico-linux-20090330@schottelius.org</email>
</author>
<published>2009-04-25T07:48:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a182ad3d0f858f50bb719a48bb35a013e12366c5'/>
<id>a182ad3d0f858f50bb719a48bb35a013e12366c5</id>
<content type='text'>
When using trees like wireless-testing, which have untagged tags,
scripts/setlocalversion does not display any git indication for
localversion.

This patch fixes it: If git is available, but no usable tag is found,
it uses -g${head}. It skips the detection of unanottated tags via
git name-rev.

Signed-off-by: Nico Schottelius &lt;nico@ikn.schottelius.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using trees like wireless-testing, which have untagged tags,
scripts/setlocalversion does not display any git indication for
localversion.

This patch fixes it: If git is available, but no usable tag is found,
it uses -g${head}. It skips the detection of unanottated tags via
git name-rev.

Signed-off-by: Nico Schottelius &lt;nico@ikn.schottelius.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kbuild: use git svn instead of git-svn in setlocalversion</title>
<updated>2009-04-11T06:18:08+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2009-03-26T20:58:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4774bb1ced60a94d83b28e5a42d4cf01b83d9b60'/>
<id>4774bb1ced60a94d83b28e5a42d4cf01b83d9b60</id>
<content type='text'>
Use the correct git &lt;subcmd&gt; syntax instead of the deprecated git-&lt;subcmd&gt;.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the correct git &lt;subcmd&gt; syntax instead of the deprecated git-&lt;subcmd&gt;.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kbuild,setlocalversion: shorten the make time when using svn</title>
<updated>2009-02-15T11:50:07+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier.adi@gmail.com</email>
</author>
<published>2009-02-05T08:13:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d21d52d4a155e36d4dc93d642cd52cb63f7ef91b'/>
<id>d21d52d4a155e36d4dc93d642cd52cb63f7ef91b</id>
<content type='text'>
Don't bother doing `svn st` as it takes a retarded amount of time when
the source is cold

Signed-off-by: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@kernel.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't bother doing `svn st` as it takes a retarded amount of time when
the source is cold

Signed-off-by: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@kernel.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>setlocalversion: add git-svn support</title>
<updated>2008-12-03T21:58:30+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2008-12-02T20:58:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ff80aa97c9b4aae9449a608fe1bc3e7b5121cd66'/>
<id>ff80aa97c9b4aae9449a608fe1bc3e7b5121cd66</id>
<content type='text'>
Print svn revision in addition to git info on git-svn repos.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Print svn revision in addition to git info on git-svn repos.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>setlocalversion: print correct subversion revision</title>
<updated>2008-12-03T21:58:29+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2008-12-02T20:58:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=167d6a02c1dbdd84d49e87df7718f18fa31cb971'/>
<id>167d6a02c1dbdd84d49e87df7718f18fa31cb971</id>
<content type='text'>
Output svn revision of latest change, instead of repo revision as thats
what we're interested in (especially when working on a branch/tag).

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Output svn revision of latest change, instead of repo revision as thats
what we're interested in (especially when working on a branch/tag).

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kbuild: tag with git revision when git describe is missing</title>
<updated>2008-10-29T21:25:36+00:00</updated>
<author>
<name>Trent Piepho</name>
<email>tpiepho@freescale.com</email>
</author>
<published>2008-09-12T19:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f03b283f081f538ec71b9e87cb8411bb62e2abc9'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>kbuild: setlocalversion: dont include svn change count</title>
<updated>2008-10-29T21:02:07+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2008-10-25T21:43:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e3da2fb712bb75b6035ba0743f3256df1de30bce'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>setlocalversion: do not describe if there is nothing to describe</title>
<updated>2008-07-25T20:12:53+00:00</updated>
<author>
<name>Sebastian Siewior</name>
<email>lkml@ml.breakpoint.cc</email>
</author>
<published>2008-07-01T22:18:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=56b2f0706d82535fd8d85503f2dcc0be40c8e55d'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
</feed>
