<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/scripts/setlocalversion, branch v2.6.29.2</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.29.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.29.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2009-02-15T11:50:07Z</updated>
<entry>
<title>kbuild,setlocalversion: shorten the make time when using svn</title>
<updated>2009-02-15T11:50:07Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier.adi@gmail.com</email>
</author>
<published>2009-02-05T08:13:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d21d52d4a155e36d4dc93d642cd52cb63f7ef91b'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>setlocalversion: add git-svn support</title>
<updated>2008-12-03T21:58:30Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2008-12-02T20:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ff80aa97c9b4aae9449a608fe1bc3e7b5121cd66'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>setlocalversion: print correct subversion revision</title>
<updated>2008-12-03T21:58:29Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2008-12-02T20:58:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=167d6a02c1dbdd84d49e87df7718f18fa31cb971'/>
<id>urn:sha1: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>
</entry>
<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.stealer.net/cgit.cgi/user/sven/linux.git/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.stealer.net/cgit.cgi/user/sven/linux.git/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.stealer.net/cgit.cgi/user/sven/linux.git/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.stealer.net/cgit.cgi/user/sven/linux.git/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.stealer.net/cgit.cgi/user/sven/linux.git/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.stealer.net/cgit.cgi/user/sven/linux.git/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.stealer.net/cgit.cgi/user/sven/linux.git/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>
</feed>
