Template:VersionRevision/doc: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
(Changed all links to github, added information on exceptions. The 5.0 information needs to be updated in the template since the 5.0 release process has been restarted.)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#vardefine:isdoc|true}}
The '''VersionRevision''' template provides revision numbers from version numbers. It is used in [[Template:Revision]] and [[Template:VersionCompatibilityVersion]].
The '''VersionRevision''' template provides revision numbers from version numbers. It is used in [[Template:Revision]] and [[Template:VersionCompatibilityVersion]].


== Usage ==
== Usage ==
{| class="wikitable"
{{VersionRevision/testcases}}
! code
! result
|-
| <code><nowiki>{{VersionRevision|2|use=link}}</nowiki></code>
| {{VersionRevision|2|use=link}}
|-
| <code><nowiki>{{VersionRevision|2|use=title}}</nowiki></code>
| {{VersionRevision|2|use=title}}
|-
| <code><nowiki>{{VersionRevision|3|use=link}}</nowiki></code>
| {{VersionRevision|3|use=link}}
|-
| <code><nowiki>{{VersionRevision|3|use=title}}</nowiki></code>
| {{VersionRevision|3|use=title}}
|-
| <code><nowiki>{{VersionRevision|4|use=link}}</nowiki></code>
| {{VersionRevision|4|use=link}}
|-
| <code><nowiki>{{VersionRevision|4|use=title}}</nowiki></code>
| {{VersionRevision|4|use=title}}
|-
| <code><nowiki>{{VersionRevision|5|use=link}}</nowiki></code>
| {{VersionRevision|5|use=link}}
|-
| <code><nowiki>{{VersionRevision|5|use=title}}</nowiki></code>
| {{VersionRevision|5|use=title}}
|-
| <code><nowiki>{{VersionRevision|1000|use=link}}</nowiki></code>
| {{VersionRevision|1000|use=link}}
|-
| <code><nowiki>{{VersionRevision|1000|use=title}}</nowiki></code>
| {{VersionRevision|1000|use=title}}
|-
| <code><nowiki>{{VersionRevision|2.0|use=link}}</nowiki></code>
| {{VersionRevision|2.0|use=link}}
|-
| <code><nowiki>{{VersionRevision|2.0|use=title}}</nowiki></code>
| {{VersionRevision|2.0|use=title}}
|-
| <code><nowiki>{{VersionRevision|5384|use=link}}</nowiki></code>
| {{VersionRevision|5384|use=link}}
|-
| <code><nowiki>{{VersionRevision|5384|use=title}}</nowiki></code>
| {{VersionRevision|5384|use=title}}
|-
| <code><nowiki>{{VersionRevision|6900|use=link}}</nowiki></code>
| {{VersionRevision|6900|use=link}}
|-
| <code><nowiki>{{VersionRevision|6900|use=title}}</nowiki></code>
| {{VersionRevision|6900|use=title}}
|-
| <code><nowiki>{{VersionRevision|3.0|use=link}}</nowiki></code>
| {{VersionRevision|3.0|use=link}}
|-
| <code><nowiki>{{VersionRevision|3.0|use=title}}</nowiki></code>
| {{VersionRevision|3.0|use=title}}
|-
| <code><nowiki>{{VersionRevision|7615|use=link}}</nowiki></code>
| {{VersionRevision|7615|use=link}}
|-
| <code><nowiki>{{VersionRevision|7615|use=title}}</nowiki></code>
| {{VersionRevision|7615|use=title}}
|-
| <code><nowiki>{{VersionRevision|3.0-1|use=link}}</nowiki></code>
| {{VersionRevision|3.0-1|use=link}}
|-
| <code><nowiki>{{VersionRevision|3.0-1|use=title}}</nowiki></code>
| {{VersionRevision|3.0-1|use=title}}
|-
| <code><nowiki>{{VersionRevision|3.0-50|use=link}}</nowiki></code>
| {{VersionRevision|3.0-50|use=link}}
|-
| <code><nowiki>{{VersionRevision|3.0-50|use=title}}</nowiki></code>
| {{VersionRevision|3.0-50|use=title}}
|-
| <code><nowiki>{{VersionRevision|3.5|use=link}}</nowiki></code>
| {{VersionRevision|3.5|use=link}}
|-
| <code><nowiki>{{VersionRevision|3.5|use=title}}</nowiki></code>
| {{VersionRevision|3.5|use=title}}
|-
| <code><nowiki>{{VersionRevision|3.5-100|use=link}}</nowiki></code>
| {{VersionRevision|3.5-100|use=link}}
|-
| <code><nowiki>{{VersionRevision|3.5-100|use=title}}</nowiki></code>
| {{VersionRevision|3.5-100|use=title}}
|-
| <code><nowiki>{{VersionRevision|4.0|use=link}}</nowiki></code>
| {{VersionRevision|4.0|use=link}}
|-
| <code><nowiki>{{VersionRevision|4.0|use=title}}</nowiki></code>
| {{VersionRevision|4.0|use=title}}
|-
| <code><nowiki>{{VersionRevision|4.0.1|use=link}}</nowiki></code>
| {{VersionRevision|4.0.1|use=link}}
|-
| <code><nowiki>{{VersionRevision|4.0.1|use=title}}</nowiki></code>
| {{VersionRevision|4.0.1|use=title}}
|-
| <code><nowiki>{{VersionRevision|4.0.2|use=link}}</nowiki></code>
| {{VersionRevision|4.0.2|use=link}}
|-
| <code><nowiki>{{VersionRevision|4.0.2|use=title}}</nowiki></code>
| {{VersionRevision|4.0.2|use=title}}
|-
| <code><nowiki>{{VersionRevision|4.0-100|use=link}}</nowiki></code>
| {{VersionRevision|4.0-100|use=link}}
|-
| <code><nowiki>{{VersionRevision|4.0-100|use=title}}</nowiki></code>
| {{VersionRevision|4.0-100|use=title}}
|-
| <code><nowiki>{{VersionRevision|4.0-6727|use=link}}</nowiki></code>
| {{VersionRevision|4.0-6727|use=link}}
|-
| <code><nowiki>{{VersionRevision|4.0-6727|use=title}}</nowiki></code>
| {{VersionRevision|4.0-6727|use=title}}
|-
| <code><nowiki>{{VersionRevision|4.0-305 Triforce|use=link}}</nowiki></code>
| {{VersionRevision|4.0-305 Triforce|use=link}}
|-
| <code><nowiki>{{VersionRevision|4.0-305 Triforce|use=title}}</nowiki></code>
| {{VersionRevision|4.0-305 Triforce|use=title}}
|-
| <code><nowiki>{{VersionRevision|5.0-rc-0|use=link}}</nowiki></code>
| {{VersionRevision|5.0-rc-0|use=link}}
|-
| <code><nowiki>{{VersionRevision|5.0-rc-0|use=title}}</nowiki></code>
| {{VersionRevision|5.0-rc-0|use=title}}
|-
| <code><nowiki>{{VersionRevision|5.0-rc-20|use=link}}</nowiki></code>
| {{VersionRevision|5.0-rc-20|use=link}}
|-
| <code><nowiki>{{VersionRevision|5.0-rc-20|use=title}}</nowiki></code>
| {{VersionRevision|5.0-rc-20|use=title}}
|-
| <code><nowiki>{{VersionRevision|5.0|use=link}}</nowiki></code>
| {{VersionRevision|5.0|use=link}}
|-
| <code><nowiki>{{VersionRevision|5.0|use=title}}</nowiki></code>
| {{VersionRevision|5.0|use=title}}
|-
| <code><nowiki>{{VersionRevision||use=link}}</nowiki></code>
| {{VersionRevision||use=link}}
|-
| <code><nowiki>{{VersionRevision||use=title}}</nowiki></code>
| {{VersionRevision||use=title}}
|}


== Issues ==
== Issues ==
Line 163: Line 17:
* The last 3.5 era build is [https://dolphin-emu.org/download/dev/0c3cb5066edb5fd5deb66598973501e3f9e6233f/ 3.5-2450].
* The last 3.5 era build is [https://dolphin-emu.org/download/dev/0c3cb5066edb5fd5deb66598973501e3f9e6233f/ 3.5-2450].
* [https://dolphin-emu.org/download/dev/master/4.0-0/ 4.0] / 4.0.1 / 4.0.2 = r11001 (The two bugfix releases, 4.0.1 and 4.0.2, are not a part of the master branch)
* [https://dolphin-emu.org/download/dev/master/4.0-0/ 4.0] / 4.0.1 / 4.0.2 = r11001 (The two bugfix releases, 4.0.1 and 4.0.2, are not a part of the master branch)
* 5.0-rc-1 = r17729
* The final 4.0 era build is [https://dolphin-emu.org/download/dev/master/4.0-9508/ 4.0-9508].
* 5.0 = r20509


=== Exceptions: ===
=== Exceptions: ===

Latest revision as of 14:21, 17 December 2022

The VersionRevision template provides revision numbers from version numbers. It is used in Template:Revision and Template:VersionCompatibilityVersion.

Usage

code result
{{VersionRevision|2|use=link}} 2
{{VersionRevision|2|use=title}} r2
{{VersionRevision|3|use=link}} 3
{{VersionRevision|3|use=title}} r3
{{VersionRevision|4|use=link}} 4
{{VersionRevision|4|use=title}} r4
{{VersionRevision|5|use=link}} 5
{{VersionRevision|5|use=title}} r5
{{VersionRevision|2.0|use=link}} 5384
{{VersionRevision|2.0|use=title}} 2.0
{{VersionRevision|5384|use=link}} 5384
{{VersionRevision|5384|use=title}} 2.0
{{VersionRevision|3.0|use=link}} 7615
{{VersionRevision|3.0|use=title}} 3.0
{{VersionRevision|7615|use=link}} 7615
{{VersionRevision|7615|use=title}} 3.0
{{VersionRevision|6900|use=link}} 6900
{{VersionRevision|6900|use=title}} r6900
{{VersionRevision|3.0-50|use=link}} 7665
{{VersionRevision|3.0-50|use=title}} 3.0-50
{{VersionRevision|3.5|use=link}} 8551
{{VersionRevision|3.5|use=title}} 3.5
{{VersionRevision|3.5-100|use=link}} 8651
{{VersionRevision|3.5-100|use=title}} 3.5-100
{{VersionRevision|4.0|use=link}} 11001
{{VersionRevision|4.0|use=title}} 4.0
{{VersionRevision|4.0.1|use=link}} 11001
{{VersionRevision|4.0.1|use=title}} 4.0.1
{{VersionRevision|4.0.2|use=link}} 11001
{{VersionRevision|4.0.2|use=title}} 4.0.2
{{VersionRevision|4.0-100|use=link}} 11101
{{VersionRevision|4.0-100|use=title}} 4.0-100
{{VersionRevision|4.0-6727|use=link}} 17728
{{VersionRevision|4.0-6727|use=title}} 4.0-6727
{{VersionRevision|4.0-305 Triforce|use=link}} 11306
{{VersionRevision|4.0-305 Triforce|use=title}} 4.0-305 Triforce
{{VersionRevision|5.0-rc-20|use=link}} 17748
{{VersionRevision|5.0-rc-20|use=title}} 5.0-rc-20
{{VersionRevision|5.0|use=link}} 20509
{{VersionRevision|5.0|use=title}} 5.0
{{VersionRevision|5.0-20|use=link}} 20529
{{VersionRevision|5.0-20|use=title}} 5.0-20
{{VersionRevision||use=link}} <revision missing>
{{VersionRevision||use=title}} <revision missing>

Issues

  • 3.0-X revisions and beyond are too low due to not accounting for the rXXXX releases that occurred after 3.0 but before GIT revisions started.

Facts

  • 2.0 = r5384
  • 3.0 = r7615
  • Last SVN build number is r7695 (in git numbering it is 3.0-44)
  • First git build (builds without svn ids) is 3.0-45
  • The last 3.0 era build is 3.0-936
  • 3.5 = r8551
  • The last 3.5 era build is 3.5-2450.
  • 4.0 / 4.0.1 / 4.0.2 = r11001 (The two bugfix releases, 4.0.1 and 4.0.2, are not a part of the master branch)
  • 5.0-rc-1 = r17729
  • The final 4.0 era build is 4.0-9508.
  • 5.0 = r20509

Exceptions:

  • Mamario's site incorrectly listed several revisions after the change to github as SVN: r7696, r7697, r7706, r7710, r7711, r7712, r7714, r7715, r7716, r7717, r7718, r7719, r7722, r7723.
  • Some git builds have SVN IDs even after the move to git, but their SVN IDs are unreliable: 3.0-78 aka r7693 and 3.0-154 aka r7707
  • Original 5.0-rc-1 which was not made into a proper release = 17728 (Initial release candidate based on 4.0-6727)