global changes to version declaration/display
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 22 Apr 2009 22:12:17 +0000 (22:12 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Wed, 22 Apr 2009 22:12:17 +0000 (22:12 +0000)
- prepend 'v' to version vars
- do not show modification time, since it often sends the wrong message
  to end-users
- link to repository at git.shiar.nl

Shiar_Sheet/KeySigns.pm
Shiar_Sheet/Keyboard.pm
bash.plp
charset.plp
digraphs.plp
digraphs.vim.plp
nethack.plp
unicode.plp
vim.plp
vimperator.plp

index 83289ab1b639ba73b1724fb28749d95752a8b042..a22a07aa32e73422f0990d0c397c638589f15337 100644 (file)
@@ -4,7 +4,7 @@ use utf8;
 use strict;
 use warnings;
 
-our $VERSION = '1.00';
+our $VERSION = 'v1.00';
 
 sub import {
        my $class = shift;
index 05df1070020df3d3b889d3e5681aad69b474eceb..e6982f71c1101cc22410aff1f217f6e3e9b62cba 100644 (file)
@@ -5,7 +5,7 @@ use warnings;
 no  warnings 'uninitialized';  # save some useless checks for more legible code
 use Carp;
 
-our $VERSION = '1.03';
+our $VERSION = 'v1.03';
 
 my @casedesc = (undef, qw/shift ctrl meta/, 'shift meta');
 my @rowdesc = qw(numeric top home bottom);
index ec244dcaf5194ee97d512633d3bfd406b4c6f0f1..dfaeda4d83ed93716a367043e4993d5806ee63be 100644 (file)
--- a/bash.plp
+++ b/bash.plp
@@ -7,7 +7,7 @@ no  warnings 'uninitialized';  # save some useless checks for more legible code
 
 use Shiar_Sheet::KeySigns qw(%sign);  # dependant on $get{ascii}
 
-our $VERSION = '1.2';
+our $VERSION = 'v1.2';
 
 $header{content_type} = "text/html; charset=$sign{charset}";
 
@@ -109,15 +109,11 @@ $keys->print_rows($get{static} || '543');
 </div>
 
 <p class="footer">
-       <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/vim
-       <a href="git://dev.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= "v$VERSION" :></a>
+       <a href="/" rel="home">sheet.shiar.nl</a>/vim
+       <a href="git://git.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= $VERSION :></a>
        created by <a href="http://shiar.nl/" rel="author">Shiar</a> <:= $sign{sep} :>
        <a title="Licensed under the GNU Affero General Public License, version 3" rel="copyright"
-          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a> <:= $sign{sep} :>
-       last update <:
-               use Time::Format qw(time_format);
-               print time_format('yyyy-mm-dd', (stat 'vim.inc.pl')[9]);
-       :>
+          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a>
 </p>
 
 </html>
index 6b6e7d0bf7655e36d7887b8b51433c9d30b20c91..bce918b698955bd75229f9ff3077dde3aaf4b9a7 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 use open IO => ':utf8';
 
-our $VERSION = '1.0';
+our $VERSION = 'v1.0';
 
 $header{content_type} = 'text/html; charset=utf-8';
 
@@ -203,15 +203,11 @@ print "</ul>\n";
 </div>
 
 <p class="footer">
-       <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/charset
-       <a href="git://git.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= "v$VERSION" :></a>
+       <a href="/" rel="home">sheet.shiar.nl</a>/charset
+       <a href="git://git.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= $VERSION :></a>
        created by <a href="http://shiar.nl/" rel="author">Shiar</a> •
        <a title="Licensed under the GNU Affero General Public License, version 3" rel="copyright"
-          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a> •
-       last update <:
-               use Time::Format qw(time_format);
-               print time_format('yyyy-mm-dd', (stat $ENV{SCRIPT_FILENAME})[9]);
-       :>
+          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a>
 </p>
 
 </html>
index 73189c9d0522ae66f162bacf27e4ba13a1a1d0d0..fbe8a5de1de34b46bea1956af3899e9c2dc95f83 100644 (file)
@@ -5,7 +5,7 @@ use warnings;
 no  warnings 'qw';  # to quote or not to quote, that is the question
 use open IO => ':utf8';
 
-our $VERSION = '1.0';
+our $VERSION = 'v1.0';
 
 $header{content_type} = 'text/html; charset=utf-8';
 
@@ -124,15 +124,11 @@ print "</table>\n";
 </div>
 
 <p class="footer">
-       <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/digraphs
-       <a href="git://dev.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= "v$VERSION" :></a>
+       <a href="/" rel="home">sheet.shiar.nl</a>/digraphs
+       <a href="git://git.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= $VERSION :></a>
        created by <a href="http://shiar.nl/" rel="author">Shiar</a> •
        <a title="Licensed under the GNU Affero General Public License, version 3" rel="copyright"
-          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a> •
-       last update <:
-               use Time::Format qw(time_format);
-               print time_format('yyyy-mm-dd', (stat 'digraphs.inc.pl')[9]);
-       :>
+          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a>
 </p>
 
 </html>
index 6123fea187d8a3e2be0275fe48e7577d89968ce1..d19b72a3aa5d673be600e132738995b918046a8b 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 use warnings;
 use open IO => ':utf8';
 
-our $VERSION = '1.0';
+our $VERSION = 'v1.0';
 
 $header{content_type} = 'text/plain; charset=us-ascii';
 print '" vim digraph proposals <http://sheet.shiar.nl/digraphs>', "\n";
index ca7433eeffe2df1272eb458c17cc700c6cb732a1..5db14cd4c24fbda23c227c1bf958112d0c166184 100644 (file)
@@ -7,7 +7,7 @@ no  warnings 'uninitialized';  # save some useless checks for more legible code
 
 use Shiar_Sheet::KeySigns qw(%sign);
 
-our $VERSION = '1.0';
+our $VERSION = 'v1.0';
 
 $header{content_type} = "text/html; charset=$sign{charset}";
 
@@ -103,15 +103,11 @@ $keys->print_rows($get{static} || '4321-421');
 </div>
 
 <p class="footer">
-       <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/nethack
-       <a href="git://dev.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= "v$VERSION" :></a>
+       <a href="/" rel="home">sheet.shiar.nl</a>/nethack
+       <a href="git://git.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= $VERSION :></a>
        created by <a href="http://shiar.nl/" rel="author">Shiar</a> <:= $sign{sep} :>
        <a title="Licensed under the GNU Affero General Public License, version 3" rel="copyright"
-          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a> <:= $sign{sep} :>
-       last update <:
-               use Time::Format qw(time_format);
-               print time_format('yyyy-mm-dd', (stat 'nethack.inc.pl')[9]);
-       :>
+          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a>
 </p>
 
 </html>
index 25f89de638afb27cdbe212c52b7cea65eb9e5d63..e4e45dcfb2906b73f036c3ee06a8093a3fa84df5 100644 (file)
@@ -5,7 +5,7 @@ use warnings;
 no  warnings 'qw';  # that's not a comment, it's a NUMBER SIGN
 use open IO => ':utf8';
 
-our $VERSION = '1.0';
+our $VERSION = 'v1.0';
 
 $header{content_type} = 'text/html; charset=utf-8';
 
@@ -286,15 +286,11 @@ print_glyph_tables(
 </div>
 
 <p class="footer">
-       <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/unicode
-       <a href="git://dev.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= "v$VERSION" :></a>
+       <a href="/" rel="home">sheet.shiar.nl</a>/unicode
+       <a href="git://git.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= $VERSION :></a>
        created by <a href="http://shiar.nl/" rel="author">Shiar</a> •
        <a title="Licensed under the GNU Affero General Public License, version 3" rel="copyright"
-          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a> •
-       last update <:
-               use Time::Format qw(time_format);
-               print time_format('yyyy-mm-dd', (stat $ENV{SCRIPT_FILENAME})[9]);
-       :>
+          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a>
 </p>
 
 </html>
diff --git a/vim.plp b/vim.plp
index af7407400cd15e283f421b865a5b454437c96cda..1e1d762318e7a6c2fedc758d610598018a6833ac 100644 (file)
--- a/vim.plp
+++ b/vim.plp
@@ -7,7 +7,7 @@ no  warnings 'uninitialized';  # save some useless checks for more legible code
 
 use Shiar_Sheet::KeySigns qw(%sign);  # dependant on $get{ascii}
 
-our $VERSION = '1.2';
+our $VERSION = 'v1.2';
 
 $header{content_type} = "text/html; charset=$sign{charset}";
 
@@ -109,15 +109,11 @@ $keys->print_rows($get{static});
 </div>
 
 <p class="footer">
-       <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/vim
-       <a href="git://dev.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= "v$VERSION" :></a>
+       <a href="/" rel="home">sheet.shiar.nl</a>/vim
+       <a href="git://git.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= $VERSION :></a>
        created by <a href="http://shiar.nl/" rel="author">Shiar</a> <:= $sign{sep} :>
        <a title="Licensed under the GNU Affero General Public License, version 3" rel="copyright"
-          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a> <:= $sign{sep} :>
-       last update <:
-               use Time::Format qw(time_format);
-               print time_format('yyyy-mm-dd', (stat 'vim.inc.pl')[9]);
-       :>
+          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a>
 </p>
 
 </html>
index 19298d1b4042e9d8d6995f877c6412768ab69302..731c0f20db6d5e4dd1ef805855430f122e8936a3 100644 (file)
@@ -7,7 +7,7 @@ no  warnings 'uninitialized';  # save some useless checks for more legible code
 
 use Shiar_Sheet::KeySigns qw(%sign);
 
-our $VERSION = '1.0';
+our $VERSION = 'v1.0';
 
 $header{content_type} = "text/html; charset=$sign{charset}";
 
@@ -107,15 +107,11 @@ $keys->print_rows($get{static});
 </div>
 
 <p class="footer">
-       <a href="http://sheet.shiar.nl/" rel="home">sheet.shiar.nl</a>/vimperator
-       <a href="git://dev.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= "v$VERSION" :></a>
+       <a href="/" rel="home">sheet.shiar.nl</a>/vimperator
+       <a href="git://git.shiar.nl/sheet" rel="vcs-git" title="Git repository"><:= $VERSION :></a>
        created by <a href="http://shiar.nl/" rel="author">Shiar</a> <:= $sign{sep} :>
        <a title="Licensed under the GNU Affero General Public License, version 3" rel="copyright"
-          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a> <:= $sign{sep} :>
-       last update <:
-               use Time::Format qw(time_format);
-               print time_format('yyyy-mm-dd', (stat 'vimperator.inc.pl')[9]);
-       :>
+          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a>
 </p>
 
 </html>