From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/ruby-scripts:master commit in: ruby-stats/
Date: Mon, 21 Jan 2019 18:17:04 +0000 (UTC) [thread overview]
Message-ID: <1548094621.c44aba5158944dab72e154b8c7d08b54560e53e1.graaff@gentoo> (raw)
commit: c44aba5158944dab72e154b8c7d08b54560e53e1
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon Jan 21 18:16:31 2019 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jan 21 18:17:01 2019 +0000
URL: https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=c44aba51
Add ruby26 to the stats scripts
Signed-off-by: Hans de Graaff <hans <AT> degraaff.org>
ruby-stats/plot | 4 +---
ruby-stats/ruby_stats.py | 9 ++++++++-
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/ruby-stats/plot b/ruby-stats/plot
index 07e0905..e588ec0 100644
--- a/ruby-stats/plot
+++ b/ruby-stats/plot
@@ -24,6 +24,4 @@ plot "data.txt" using 1:3 with lines lt 2 title "total", \
"data.txt" using 1:12 with lines lt 1 lc 9 title "ruby23", \
"data.txt" using 1:13 with lines lt 1 lc 10 title "ruby24", \
"data.txt" using 1:14 with lines lt 1 lc 11 title "ruby25", \
- "data.txt" using 1:7 with lines lt 1 lc 4 title "jruby", \
- "data.txt" using 1:8 with lines lt 1 lc 5 title "ree18", \
- "data.txt" using 1:9 with lines lt 1 lc 6 title "rbx"
+ "data.txt" using 1:15 with lines lt 1 lc 12 title "ruby26"
diff --git a/ruby-stats/ruby_stats.py b/ruby-stats/ruby_stats.py
index 6ca294c..d8f7a9d 100755
--- a/ruby-stats/ruby_stats.py
+++ b/ruby-stats/ruby_stats.py
@@ -4,13 +4,18 @@
# 2010-01-21 180 144 142 68 52
date_fmt = "%Y-%m-%d"
-bins = ('ruby', 'ruby-ng', 'ruby_targets_ruby18', 'ruby_targets_ruby19', 'ruby_targets_ruby20', 'ruby_targets_jruby', 'ruby_targets_ree18', 'ruby_targets_rbx', 'ruby_targets_ruby21', 'ruby_targets_ruby22', 'ruby_targets_ruby23', 'ruby_targets_ruby24', 'ruby_targets_ruby25')
+bins = ('ruby', 'ruby-ng', 'ruby_targets_ruby18', 'ruby_targets_ruby19',
+ 'ruby_targets_ruby20', 'ruby_targets_jruby', 'ruby_targets_ree18',
+ 'ruby_targets_rbx', 'ruby_targets_ruby21', 'ruby_targets_ruby22',
+ 'ruby_targets_ruby23', 'ruby_targets_ruby24', 'ruby_targets_ruby25',
+ 'ruby_targets_ruby26')
import sys
import time
import os
import portage
+
def main():
stats = {}
for k in bins:
@@ -49,6 +54,8 @@ def main():
stats['ruby_targets_ruby24'].add(cpv)
if 'ruby_targets_ruby25' in iuse:
stats['ruby_targets_ruby25'].add(cpv)
+ if 'ruby_targets_ruby26' in iuse:
+ stats['ruby_targets_ruby26'].add(cpv)
if 'ruby_targets_jruby' in iuse:
stats['ruby_targets_jruby'].add(cpv)
if 'ruby_targets_ree18' in iuse:
next reply other threads:[~2019-01-21 18:17 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-21 18:17 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-12 7:12 [gentoo-commits] proj/ruby-scripts:master commit in: ruby-stats/ Hans de Graaff
2024-08-12 7:12 Hans de Graaff
2023-04-09 7:37 Hans de Graaff
2023-04-09 7:37 Hans de Graaff
2022-03-13 7:11 Hans de Graaff
2020-01-05 8:15 Hans de Graaff
2020-01-05 8:15 Hans de Graaff
2018-02-16 16:33 Hans de Graaff
2016-12-25 6:56 Hans de Graaff
2015-12-27 8:46 Hans de Graaff
2015-10-01 6:27 Hans de Graaff
2015-01-01 16:42 Manuel Rüger
2014-12-27 19:53 Manuel Rüger
2014-12-27 19:22 Manuel Rüger
2014-12-27 19:20 Manuel Rüger
2014-12-27 19:07 Manuel Rüger
2014-11-09 8:10 Hans de Graaff
2014-05-31 20:56 Manuel Rüger
2014-05-31 20:56 Manuel Rüger
2013-12-28 7:03 Hans de Graaff
2013-12-25 19:42 Hans de Graaff
2013-10-30 5:56 Hans de Graaff
2013-10-22 6:11 Hans de Graaff
2013-10-19 7:06 Hans de Graaff
2013-10-15 15:58 Hans de Graaff
2013-10-15 15:58 Hans de Graaff
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=1548094621.c44aba5158944dab72e154b8c7d08b54560e53e1.graaff@gentoo \
--to=graaff@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