From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/elections:master commit in: /
Date: Sat, 18 Jun 2016 17:28:57 +0000 (UTC) [thread overview]
Message-ID: <1435469615.398f72c9a0d1da496a7fb408cef3c2d156cff170.robbat2@gentoo> (raw)
commit: 398f72c9a0d1da496a7fb408cef3c2d156cff170
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 27 16:37:58 2015 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Jun 28 05:33:35 2015 +0000
URL: https://gitweb.gentoo.org/proj/elections.git/commit/?id=398f72c9
Start some cleanup of Election code.
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Votify.pm | 42 ++----------------------------------------
countify | 13 ++-----------
listify | 6 ++++--
votify | 18 ++----------------
4 files changed, 10 insertions(+), 69 deletions(-)
diff --git a/Votify.pm b/Votify.pm
index c99685d..1be8de7 100644
--- a/Votify.pm
+++ b/Votify.pm
@@ -1,6 +1,6 @@
# $Id: Votify.pm,v 1.5 2005/05/16 23:58:09 agriffis Exp $
#
-# Copyright 2005 Gentoo Foundation
+# Copyright 2005-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# votify.pm: common classes for votify and countify
@@ -14,6 +14,7 @@ use strict;
our ($datadir) = '/etc/elections/current';
(our $zero = $0) =~ s,.*/,,;
+our $version = '1.6';
sub import {
my ($class, $mode) = @_;
@@ -642,43 +643,4 @@ sub to_s {
1;
__END__
-
-$Log: Votify.pm,v $
-Revision 1.5 2005/05/16 23:58:09 agriffis
-change wording
-
-Revision 1.4 2005/05/16 18:40:07 agriffis
-fix shortname calculation
-
-Revision 1.3 2005/05/16 18:10:46 agriffis
-ranking works completely now, even if it needs badly to be refactored
-
-Revision 1.2 2005/05/16 04:03:46 agriffis
-add first pass at countify --rank
-
-
-__END__
-
-$Log: Votify.pm,v $
-Revision 1.5 2005/05/16 23:58:09 agriffis
-change wording
-
-Revision 1.4 2005/05/16 18:40:07 agriffis
-fix shortname calculation
-
-Revision 1.3 2005/05/16 18:10:46 agriffis
-ranking works completely now, even if it needs badly to be refactored
-
-Revision 1.2 2005/05/16 04:03:46 agriffis
-add first pass at countify --rank
-
-Revision 1.3 2005/05/09 23:12:02 agriffis
-Add support for registered voters
-
-Revision 1.2 2005/05/05 23:03:46 agriffis
-Fix indentation (and some output as well)
-
-Revision 1.1 2005/05/05 22:05:34 agriffis
-first pass at Gentoo Foundation voting program
-
# vim:sw=4 et
diff --git a/countify b/countify
index a831d4b..975a7ec 100755
--- a/countify
+++ b/countify
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
# $Id: countify,v 1.3 2005/05/16 18:10:46 agriffis Exp $
#
-# Copyright 2005 Gentoo Foundation
+# Copyright 2005-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# countify: collect, tabulate and announce ballot results
@@ -21,7 +21,7 @@ use strict;
######################################################################
(my $zero = $0) =~ s,.*/,,;
-(my $version = '$Revision: 1.3 $') =~ s/.*?(\d.*\d).*/$zero version $1\n/;
+(my $version = $Votify::version) =~ s/.*?(\d.*\d).*/$zero version $1\n/;
my %opt;
sub grabfile_int {
@@ -162,13 +162,4 @@ if ($opt{'rank'}) {
}
__END__
-
-$Log: countify,v $
-Revision 1.3 2005/05/16 18:10:46 agriffis
-ranking works completely now, even if it needs badly to be refactored
-
-Revision 1.2 2005/05/16 04:03:46 agriffis
-add first pass at countify --rank
-
-
# vim:sw=4 et
diff --git a/listify b/listify
index c7fdf80..10b4b82 100755
--- a/listify
+++ b/listify
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
# $Id: votify,v 1.5 2005/05/16 04:03:46 agriffis Exp $
#
-# Copyright 2005 Gentoo Foundation
+# Copyright 2005-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# votify: generate, verify and submit voting ballots for trustee elections
@@ -21,7 +21,7 @@ use strict;
######################################################################
(my $zero = $0) =~ s,.*/,,;
-(my $version = '$Revision: 1.5 $') =~ s/.*?(\d.*\d).*/$zero version $1\n/;
+(my $version = $Votify::version) =~ s/.*?(\d.*\d).*/$zero version $1\n/;
my (%opt, %elections);
sub grabfile_int {
@@ -76,4 +76,6 @@ EOF
print $usage_elections;
exit;
+
+__END__
# vim:sw=4 et
diff --git a/votify b/votify
index 94c532a..40607b7 100755
--- a/votify
+++ b/votify
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
# $Id: votify,v 1.5 2005/05/16 04:03:46 agriffis Exp $
#
-# Copyright 2005 Gentoo Foundation
+# Copyright 2005-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# votify: generate, verify and submit voting ballots for trustee elections
@@ -21,7 +21,7 @@ use strict;
######################################################################
(my $zero = $0) =~ s,.*/,,;
-(my $version = '$Revision: 1.5 $') =~ s/.*?(\d.*\d).*/$zero version $1\n/;
+(my $version = $Votify::version) =~ s/.*?(\d.*\d).*/$zero version $1\n/;
my (%opt);
sub grabfile_int {
@@ -226,18 +226,4 @@ EOF
}
__END__
-
-$Log: votify,v $
-Revision 1.5 2005/05/16 04:03:46 agriffis
-add first pass at countify --rank
-
-Revision 1.3 2005/05/09 23:12:02 agriffis
-Add support for registered voters
-
-Revision 1.2 2005/05/05 23:03:46 agriffis
-Fix indentation (and some output as well)
-
-Revision 1.1 2005/05/05 22:05:34 agriffis
-first pass at Gentoo Foundation voting program
-
# vim:sw=4 et
next reply other threads:[~2016-06-18 17:29 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-18 17:28 Robin H. Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-02 0:13 [gentoo-commits] proj/elections:master commit in: / Robin H. Johnson
2024-05-25 17:14 Robin H. Johnson
2023-04-19 22:28 Robin H. Johnson
2022-07-01 19:12 Robin H. Johnson
2022-07-01 15:50 Robin H. Johnson
2022-06-30 22:36 Robin H. Johnson
2022-06-25 16:31 Robin H. Johnson
2022-06-25 13:58 Jorge Manuel B. S. Vicetto
2021-06-18 6:57 Robin H. Johnson
2021-06-18 6:57 Robin H. Johnson
2020-07-06 5:10 Robin H. Johnson
2020-06-20 5:17 Robin H. Johnson
2020-06-20 5:17 Robin H. Johnson
2017-06-25 0:04 Robin H. Johnson
2017-06-24 23:54 Robin H. Johnson
2016-07-21 18:07 Robin H. Johnson
2016-07-21 18:07 Robin H. Johnson
2016-07-03 15:01 Robin H. Johnson
2016-07-03 11:04 Jorge Manuel B. S. Vicetto
2016-06-19 12:13 Jorge Manuel B. S. Vicetto
2016-06-19 12:13 Jorge Manuel B. S. Vicetto
2016-06-18 17:28 Robin H. Johnson
2016-06-18 17:28 Robin H. Johnson
2016-06-18 17:28 Robin H. Johnson
2015-06-28 0:12 Jorge Manuel B. S. Vicetto
2015-06-27 16:18 Robin H. Johnson
2013-06-30 6:32 Jorge Manuel B. S. Vicetto
2013-02-06 0:09 Jorge Manuel B. S. Vicetto
2012-07-16 19:01 Christian Ruppert
2012-06-18 21:08 Christian Ruppert
2012-02-15 2:07 Robin H. Johnson
2011-06-20 6:14 Robin H. Johnson
2011-06-20 6:13 Robin H. Johnson
2011-06-20 6:13 Robin H. Johnson
2011-06-20 6:13 Robin H. Johnson
2011-06-20 6:13 Robin H. Johnson
2011-06-20 6:08 Robin H. Johnson
2011-06-09 7:46 Robin H. Johnson
2011-04-09 0:09 Robin H. Johnson
2011-03-12 18:41 Robin H. Johnson
2011-03-12 10:57 Robin H. Johnson
2011-03-12 10:56 Robin H. Johnson
2011-02-13 2:21 Robin H. Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1435469615.398f72c9a0d1da496a7fb408cef3c2d156cff170.robbat2@gentoo \
--to=robbat2@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox