Difference between revisions of "Template:Kernel git log"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(add documentation and FIXME)
Line 1: Line 1:
 
For the complete list of changes in this release, see [[git:p=linux-{{{1}}}-openvz;a=log;h={{{2}}}|git changelog for kernel {{{2}}}]].<noinclude>
 
For the complete list of changes in this release, see [[git:p=linux-{{{1}}}-openvz;a=log;h={{{2}}}|git changelog for kernel {{{2}}}]].<noinclude>
 +
 +
== {{red|FIXME}} ==
 +
 +
Currently links produced doesn't work for me, apparently because of extra escaping. Maybe need to use raw mode or something.
 +
 +
== Usage ==
 +
 +
<pre><nowiki>{{Kernel git log|name|tag}}</nowiki></pre>
 +
Where
 +
; name
 +
: A middle portion of git project name, i.e. full name is linux-''name''-openvz.
 +
; tag
 +
: A git tag.
 +
 +
=== Examples ===
 +
 +
{| class="wikitable"
 +
! Code || Result
 +
|-
 +
| <pre><nowiki>{{Kernel git log|2.6.18|028stab050}}</nowiki></pre>
 +
| {{Kernel git log|2.6.18|028stab050}}
 +
|-
 +
|-
 +
| <pre><nowiki>{{Kernel git log|2.6.18|v2.6.18-028stab053.5}}</nowiki></pre>
 +
| {{Kernel git log|2.6.18|v2.6.18-028stab053.5}}
 +
|-
 +
| <pre><nowiki>{{Kernel git log|2.6.24|v2.6.24-ovz002.2}}</nowiki></pre>
 +
| {{Kernel git log|2.6.24|v2.6.24-ovz002.2}}
 +
|-
 +
|}
  
 
[[Category:Templates for kernel download pages]]
 
[[Category:Templates for kernel download pages]]
 
</noinclude>
 
</noinclude>

Revision as of 09:50, 19 March 2008

For the complete list of changes in this release, see [[git:p=linux-{{{1}}}-openvz;a=log;h={{{2}}}|git changelog for kernel {{{2}}}]].

FIXME

Currently links produced doesn't work for me, apparently because of extra escaping. Maybe need to use raw mode or something.

Usage

{{Kernel git log|name|tag}}

Where

name
A middle portion of git project name, i.e. full name is linux-name-openvz.
tag
A git tag.

Examples

Code Result
{{Kernel git log|2.6.18|028stab050}}
For the complete list of changes in this release, see git changelog for kernel 028stab050.
{{Kernel git log|2.6.18|v2.6.18-028stab053.5}}
For the complete list of changes in this release, see git changelog for kernel v2.6.18-028stab053.5.
{{Kernel git log|2.6.24|v2.6.24-ovz002.2}}
For the complete list of changes in this release, see git changelog for kernel v2.6.24-ovz002.2.