From 516f98376dbe7515913fe8f8b1bbed65eeb62063 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Thu, 5 May 2016 21:24:28 +0000 Subject: [PATCH] and we make sure we have room for future releases --- roles/web-data-analysis/files/mirror-data.awk | 6 +- roles/web-data-analysis/files/mirror-data.gp | 437 +++++------------- .../files/mirror-moving_avg.py | 57 +-- 3 files changed, 137 insertions(+), 363 deletions(-) diff --git a/roles/web-data-analysis/files/mirror-data.awk b/roles/web-data-analysis/files/mirror-data.awk index 7dc65530f7..817d49053d 100644 --- a/roles/web-data-analysis/files/mirror-data.awk +++ b/roles/web-data-analysis/files/mirror-data.awk @@ -58,7 +58,7 @@ BEGIN{ unknown_arch = 0; centos = 0; rhel = 0; - print olddate ",02-epel4,03-epel5,04-epel6,05-epel7,06-f03,07-f04,08-f05,09-f06,10-f07,11-f08,12-f09,13-f10,14-f11,15-f12,16-f13,17-f14,18-f15,19-f16,20-f17,21-f18,22-f19,23-f20,24-f21,25-f22,26-f23,27-f24,28-rawhide,29-unk_rel,30-epel,31-fedora,32-alpha,33-arm,34-arm64,35-ia64,36-mips,37-ppc,38-s390,39-sparc,40-tilegx,41-x86_32,42-x86_64,43-x86_32_e,44-x86_32_f,45-x86_64_e,46-x86_64_f,47-ppc_e,48-ppc_f,49-unk_arc,50-centos,51-rhel"; + print olddate ",02-epel4,03-epel5,04-epel6,05-epel7,06-f03,07-f04,08-f05,09-f06,10-f07,11-f08,12-f09,13-f10,14-f11,15-f12,16-f13,17-f14,18-f15,19-f16,20-f17,21-f18,22-f19,23-f20,24-f21,25-f22,26-f23,27-f24,28-f25,29-f26,30-f27,31-f28,32-f29,33-rawhide,34-unk_rel,35-epel,36-fedora,37-alpha,38-arm,39-arm64,40-ia64,41-mips,42-ppc,43-s390,44-sparc,45-tilegx,46-x86_32,47-x86_64,48-x86_32_e,49-x86_32_f,50-x86_64_e,51-x86_64_f,52-ppc_e,53-ppc_f,54-unk_arc,55-centos,56-rhel"; } { @@ -127,7 +127,7 @@ BEGIN{ else if ($4 ~"alpha") { alpha = alpha +1 } else {unknown_arch = unknown_arch +1; }; } else { - print olddate "," epel4 "," epel5 "," epel6 "," epel7 "," f03 "," f04 "," f05 "," f06 "," f07 "," f08 "," f09 "," f10 "," f11 "," f12 "," f13 "," f14 "," f15 "," f16 "," f17 "," f18 "," f19 "," f20 "," f21 "," f22 "," f23 "," f24 "," rawhide "," unknown_release "," epel "," fedora "," alpha "," arm "," arm64 "," ia64 "," mips "," ppc "," s390 "," sparc "," tilegx "," x86_32 "," x86_64 "," x86_32_e "," x86_32_f "," x86_64_e "," x86_64_f "," ppc_e "," ppc_f "," unknown_arch "," centos "," rhel; + print olddate "," epel4 "," epel5 "," epel6 "," epel7 "," f03 "," f04 "," f05 "," f06 "," f07 "," f08 "," f09 "," f10 "," f11 "," f12 "," f13 "," f14 "," f15 "," f16 "," f17 "," f18 "," f19 "," f20 "," f21 "," f22 "," f23 "," f24 "," f25 "," f26 "," f27 "," f28 "," f29 "," rawhide "," unknown_release "," epel "," fedora "," alpha "," arm "," arm64 "," ia64 "," mips "," ppc "," s390 "," sparc "," tilegx "," x86_32 "," x86_64 "," x86_32_e "," x86_32_f "," x86_64_e "," x86_64_f "," ppc_e "," ppc_f "," unknown_arch "," centos "," rhel; olddate=$1 epel=0; fedora=0; @@ -191,6 +191,6 @@ BEGIN{ } END { - print olddate "," epel4 "," epel5 "," epel6 "," epel7 "," f03 "," f04 "," f05 "," f06 "," f07 "," f08 "," f09 "," f10 "," f11 "," f12 "," f13 "," f14 "," f15 "," f16 "," f17 "," f18 "," f19 "," f20 "," f21 "," f22 "," f23 "," f24 "," rawhide "," unknown_release "," epel "," fedora "," alpha "," arm "," arm64 "," ia64 "," mips "," ppc "," s390 "," sparc "," tilegx "," x86_32 "," x86_64 "," x86_32_e "," x86_32_f "," x86_64_e "," x86_64_f "," ppc_e "," ppc_f "," unknown_arch "," centos, "," rhel; + print olddate "," epel4 "," epel5 "," epel6 "," epel7 "," f03 "," f04 "," f05 "," f06 "," f07 "," f08 "," f09 "," f10 "," f11 "," f12 "," f13 "," f14 "," f15 "," f16 "," f17 "," f18 "," f19 "," f20 "," f21 "," f22 "," f23 "," f24 "," f25 "," f26 "," f27 "," f28 "," f29 "," rawhide "," unknown_release "," epel "," fedora "," alpha "," arm "," arm64 "," ia64 "," mips "," ppc "," s390 "," sparc "," tilegx "," x86_32 "," x86_64 "," x86_32_e "," x86_32_f "," x86_64_e "," x86_64_f "," ppc_e "," ppc_f "," unknown_arch "," centos "," rhel; } diff --git a/roles/web-data-analysis/files/mirror-data.gp b/roles/web-data-analysis/files/mirror-data.gp index 67e2754eb5..f8507b630b 100644 --- a/roles/web-data-analysis/files/mirror-data.gp +++ b/roles/web-data-analysis/files/mirror-data.gp @@ -36,25 +36,30 @@ plot ["2007-05-17":"2016-12-31"] \ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:25 title 'fed22' with lines lw 3,\ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:26 title 'fed23' with lines lw 3,\ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:27 title 'fed24' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:28 title 'rawhide' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:29 title 'unk_rel' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:30 title 'EPEL' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:50 title 'centos' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:51 title 'rhel' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:31 title 'Fedora' with lines lw 3 + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:28 title 'fed25' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:29 title 'fed26' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:30 title 'fed27' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:31 title 'fed28' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:32 title 'fed29' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:33 title 'rawhide' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:34 title 'unk_rel' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:35 title 'EPEL' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:55 title 'centos' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:56 title 'rhel' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:36 title 'Fedora' with lines lw 3 unset output set output "/var/www/html/csv-reports/images/fedora-and-epel.png" set title "Fedora Epel Totals Unique IPs" plot ["2007-05-17":"2016-12-31"] \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:30 title 'EPEL' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:31 title 'Fedora' with lines lw 3 + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:35 title 'EPEL' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:36 title 'Fedora' with lines lw 3 unset output set output "/var/www/html/csv-reports/images/fedora-daily.png" set title "Fedora Daily Totals Unique IPs" plot ["2007-05-17":"2016-12-31"] \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:31 title 'Fedora' with lines lw 3 + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:36 title 'Fedora' with lines lw 3 unset output set output "/var/www/html/csv-reports/images/fedora-os-all.png" @@ -82,75 +87,86 @@ plot ["2007-05-17":"2016-12-31"] \ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:25 title 'fed22' with lines lw 3,\ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:26 title 'fed23' with lines lw 3,\ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:27 title 'fed24' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:28 title 'rawhide' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:29 title 'unk_rel' with lines lw 3 + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:28 title 'fed25' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:29 title 'fed26' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:30 title 'fed27' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:31 title 'fed28' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:32 title 'fed29' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:33 title 'rawhide' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:34 title 'unk_rel' with lines lw 3 unset output set output "/var/www/html/csv-reports/images/fedora-os-latest.png" set title "Fedora Selected Versions Unique IPs" -plot ["2013-01-01":"2016-12-31"] \ +plot ["2014-01-01":"2016-12-31"] \ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:31 title 'Fedora' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:21 title 'fed18' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:22 title 'fed19' with lines lw 3,\ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:23 title 'fed20' with lines lw 3,\ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:24 title 'fed21' with lines lw 3,\ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:25 title 'fed22' with lines lw 3,\ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:26 title 'fed23' with lines lw 3,\ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:27 title 'fed24' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:28 title 'rawhide' with lines lw 3 + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:28 title 'fed25' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:33 title 'rawhide' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:34 title 'unk_rel' with lines lw 3 unset output set output "/var/www/html/csv-reports/images/fedora-os-latest-stacked.png" set title "Fedora Selected Versions Unique IPs" plot ["2013-01-01":"2016-12-31"] \ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:31 title 'Fedora' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($21+$22+$23+$24+$25+$26+$27+$28) title 'fed18' with filledcurves x1,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($22+$23+$24+$25+$26+$27+$28) title 'fed19' with filledcurves x1,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($23+$24+$25+$26+$27+$28) title 'fed20' with filledcurves x1,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($24+$25+$26+$27+$28) title 'fed21' with filledcurves x1,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($25+$26+$27+$28) title 'fed22' with filledcurves x1,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($26+$27+$28) title 'fed23' with filledcurves x1,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($27+$28) title 'fed24' with filledcurves x1,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($28) title 'rawhide' with filledcurves x1 + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($21+$22+$23+$24+$25+$26+$27+$28+$33) title 'fed18' with filledcurves x1,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($22+$23+$24+$25+$26+$27+$28+$33) title 'fed19' with filledcurves x1,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($23+$24+$25+$26+$27+$28+$33) title 'fed20' with filledcurves x1,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($24+$25+$26+$27+$28+$33) title 'fed21' with filledcurves x1,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($25+$26+$27+$28+$33) title 'fed22' with filledcurves x1,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($26+$27+$28+$33) title 'fed23' with filledcurves x1,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($27+$28+$33) title 'fed24' with filledcurves x1,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($28+$33) title 'fed25' with filledcurves x1,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($33) title 'rawhide' with filledcurves x1 unset output set output "/var/www/html/csv-reports/images/fedora-hardware-full.png" set title "Fedora Hardware via Unique IPs" plot ["2007-05-17":"2016-12-31"] \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:32 title 'alpha' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:33 title 'ARM' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:34 title 'ARM64' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:35 title 'ia64' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:36 title 'mips' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:48 title 'ppc' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:38 title 's390' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:39 title 'sparc' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:40 title 'tilegx' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:44 title 'x86_32' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:46 title 'x86_64' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:49 title 'unknown' with lines lw 3 + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:37 title 'alpha' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:38 title 'ARM' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:39 title 'ARM64' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:40 title 'ia64' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:41 title 'mips' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:42 title 'ppc' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:43 title 's390' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:44 title 'sparc' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:45 title 'tilegx' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:49 title 'x86_32' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:51 title 'x86_64' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:54 title 'unknown' with lines lw 3 unset output set output "/var/www/html/csv-reports/images/fedora-hardware-2nd.png" set title "Fedora Secondary via Unique IPs" plot ["2007-05-17":"2016-12-31"] \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:32 title 'alpha' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:33 title 'ARM' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:34 title 'ARM64' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:35 title 'ia64' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:36 title 'mips' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:48 title 'ppc' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:38 title 's390' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:39 title 'sparc' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:40 title 'tilegx' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:49 title 'unknown' with lines lw 3 + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:37 title 'alpha' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:38 title 'ARM' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:39 title 'ARM64' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:40 title 'ia64' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:41 title 'mips' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:42 title 'ppc' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:43 title 's390' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:44 title 'sparc' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:45 title 'tilegx' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:54 title 'unknown' with lines lw 3 unset output set output "/var/www/html/csv-reports/images/fedora-epel-stacked.png" set title "Fedora Yum Unique IPs" plot ["2007-05-17":"2016-12-31"] \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29) title 'unknown_rel' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28) title 'rawhide' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29+$30+$31+$32+$33+$34) title 'unknown-release' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29+$30+$31+$32+$33) title 'rawhide' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29+$30+$31+$32) title 'fed29' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29+$30+$31) title 'fed28' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29+$30) title 'fed27' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29) title 'fed26' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28) title 'fed25' w filledcurves x1, \ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27) title 'fed24' w filledcurves x1, \ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26) title 'fed23' w filledcurves x1, \ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25) title 'fed22' w filledcurves x1, \ @@ -183,40 +199,44 @@ unset output set output "/var/www/html/csv-reports/images/fedora-stacked.png" set title "Fedora Epel Yum Unique IPs" plot ["2007-05-17":"2016-12-31"] \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29) title 'unknown_rel' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28) title 'rawhide' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27) title 'f24' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26) title 'f23' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25) title 'f22' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24) title 'fed21' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23) title 'fed20' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22) title 'fed19' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21) title 'fed18' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20) title 'fed17' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19) title 'fed16' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18) title 'fed15' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17) title 'fed14' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16) title 'fed13' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15) title 'fed12' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14) title 'fed11' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13) title 'fed10' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12) title 'fed09' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11) title 'fed08' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10) title 'fed07' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9) title 'fed06' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8) title 'fed05' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7) title 'fed04' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6) title 'fed03' w filledcurves x1 + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29+$30+$31+$32+$33+$34) title 'unknown-release' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29+$30+$31+$32+$33) title 'rawhide' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29+$30+$31+$32) title 'fed29' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29+$30+$31) title 'fed28' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29+$30) title 'fed27' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29) title 'fed26' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28) title 'fed25' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27) title 'fed24' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26) title 'fed23' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25) title 'fed22' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24) title 'fed21' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23) title 'fed20' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22) title 'fed19' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21) title 'fed18' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20) title 'fed17' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19) title 'fed16' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18) title 'fed15' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17) title 'fed14' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16) title 'fed13' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15) title 'fed12' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14) title 'fed11' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13) title 'fed10' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12) title 'fed09' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11) title 'fed08' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10) title 'fed07' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9) title 'fed06' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8) title 'fed05' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7) title 'fed04' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6) title 'fed03' w filledcurves x1 unset output set output "/var/www/html/csv-reports/images/fedora-select-stacked.png" set title "Fedora Epel Yum Unique IPs" plot ["2007-05-17":"2016-12-31"] \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29) title 'unknown_rel' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28) title 'rawhide' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27) title 'fed18-24' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20) title 'fed12-17' w filledcurves x1, \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14) title 'fed08-11' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29+$30+$31+$32+$33) title 'fedora-future' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27) title 'fed20-24' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22) title 'fed15-19' w filledcurves x1, \ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17) title 'fed08-14' w filledcurves x1, \ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($6+$7+$8+$9+$10) title 'fed03-07' w filledcurves x1 unset output @@ -231,21 +251,21 @@ plot ["2007-05-17":"2016-12-31"] \ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:3 title 'epel5' with lines lw 3,\ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:4 title 'epel6' with lines lw 3,\ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:5 title 'epel7' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:30 title 'EPEL' with lines lw 3 + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:35 title 'EPEL' with lines lw 3 unset output set output "/var/www/html/csv-reports/images/epel-arch.png" -set title "Epel Yum Unique IPs" +set title "Epel ARCH Unique IPs" plot ["2007-05-17":"2016-12-31"] \ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:43 title 'x86_32' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:45 title 'x86_64' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:47 title 'ppc' with lines lw 3,\ - '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:30 title 'EPEL' with lines lw 3 + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:48 title 'x86_32' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:50 title 'x86_64' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:52 title 'ppc' with lines lw 3,\ + '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:35 title 'EPEL' with lines lw 3 unset output set output "/var/www/html/csv-reports/images/epel-stacked.png" -set title "Epel Yum Unique IPs" +set title "Epel Releases Unique IPs" plot ["2007-05-17":"2016-12-31"] \ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4+$5) title 'epel7' w filledcurves x1, \ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2+$3+$4) title 'epel6' w filledcurves x1, \ @@ -253,254 +273,3 @@ plot ["2007-05-17":"2016-12-31"] \ '/var/www/html/csv-reports/mirrors/mirrordata-all.csv' using 1:($2) title 'epel4' w filledcurves x1 unset output - -# ## -# set output "/var/www/html/csv-reports/images/fedora-all-mov_avg.png" -# set title "Fedora+Epel Yum Unique IPs (7 day moving average)" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:2 title 'epel4' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:3 title 'epel5' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:4 title 'epel6' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:5 title 'epel7' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:6 title 'fed03' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:7 title 'fed04' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:8 title 'fed05' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:9 title 'fed06' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:10 title 'fed07' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:11 title 'fed08' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:12 title 'fed09' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:13 title 'fed10' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:14 title 'fed11' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:15 title 'fed12' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:16 title 'fed13' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:17 title 'fed14' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:18 title 'fed15' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:19 title 'fed16' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:20 title 'fed17' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:21 title 'fed18' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:22 title 'fed19' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:23 title 'fed20' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:24 title 'fed21' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:25 title 'fed22' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:26 title 'fed23' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:27 title 'fed24' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:28 title 'rawhide' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:29 title 'unk_rel' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:30 title 'EPEL' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:50 title 'centos' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:51 title 'rhel' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:31 title 'Fedora' with lines lw 3 -# unset output - - -# set output "/var/www/html/csv-reports/images/fedora-and-epel-mov_avg.png" -# set title "Fedora Epel Totals Unique IPs (7 days moving average)" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:30 title 'EPEL' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:31 title 'Fedora' with lines lw 3 -# unset output - -# set output "/var/www/html/csv-reports/images/fedora-daily-mov_avg.png" -# set title "Fedora Daily Totals Unique IPs" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:31 title 'Fedora' with lines lw 3 -# unset output - -# set output "/var/www/html/csv-reports/images/fedora-os-all-mov_avg.png" -# set title "Fedora OS Yum Unique IPs (7 days moving average)" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:6 title 'fed03' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:7 title 'fed04' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:8 title 'fed05' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:9 title 'fed06' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:10 title 'fed07' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:11 title 'fed08' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:12 title 'fed09' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:13 title 'fed10' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:14 title 'fed11' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:15 title 'fed12' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:16 title 'fed13' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:17 title 'fed14' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:18 title 'fed15' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:19 title 'fed16' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:20 title 'fed17' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:21 title 'fed18' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:22 title 'fed19' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:23 title 'fed20' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:24 title 'fed21' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:25 title 'fed22' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:26 title 'fed23' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:27 title 'fed24' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:28 title 'rawhide' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:29 title 'unk_rel' with lines lw 3 -# unset output - -# set output "/var/www/html/csv-reports/images/fedora-os-latest-mov_avg.png" -# set title "Fedora Selected Versions Unique IPs (7 days moving average)" -# plot ["2014-01-01":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:31 title 'Fedora' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:21 title 'fed18' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:22 title 'fed19' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:23 title 'fed20' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:24 title 'fed21' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:25 title 'fed22' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:26 title 'fed23' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:27 title 'fed24' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:28 title 'rawhide' with lines lw 3 -# unset output - -# set output "/var/www/html/csv-reports/images/fedora-os-latest-stacked-mov_avg.png" -# set title "Fedora Selected Versions Unique IPs (7 days moving average)" -# plot ["2014-01-01":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:31 title 'Fedora' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:($21+$22+$23+$24+$25+$26+$27+$28) title 'fed18' with filledcurves x1,\ -# 'data-mov_avg.csv' using 1:($22+$23+$24+$25+$26+$27+$28) title 'fed19' with filledcurves x1,\ -# 'data-mov_avg.csv' using 1:($23+$24+$25+$26+$27+$28) title 'fed20' with filledcurves x1,\ -# 'data-mov_avg.csv' using 1:($24+$25+$26+$27+$28) title 'fed21' with filledcurves x1,\ -# 'data-mov_avg.csv' using 1:($25+$26+$27+$28) title 'fed22' with filledcurves x1,\ -# 'data-mov_avg.csv' using 1:($26+$27+$28) title 'fed23' with filledcurves x1,\ -# 'data-mov_avg.csv' using 1:($27+$28) title 'fed24' with filledcurves x1,\ -# 'data-mov_avg.csv' using 1:($28) title 'rawhide' with filledcurves x1 -# unset output - -# set output "/var/www/html/csv-reports/images/fedora-hardware-full-mov_avg.png" -# set title "Fedora Hardware via Unique IPs (7 days moving average)" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:32 title 'alpha' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:33 title 'ARM' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:34 title 'ARM64' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:35 title 'ia64' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:36 title 'mips' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:48 title 'ppc' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:38 title 's390' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:39 title 'sparc' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:40 title 'tilegx' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:44 title 'x86_32' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:46 title 'x86_64' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:49 title 'unknown' with lines lw 3 -# unset output - -# set output "/var/www/html/csv-reports/images/fedora-hardware-2nd-mov_avg.png" -# set title "Fedora Secondary via Unique IPs (7 days moving average)" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:32 title 'alpha' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:33 title 'ARM' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:34 title 'ARM64' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:35 title 'ia64' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:36 title 'mips' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:48 title 'ppc' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:38 title 's390' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:39 title 'sparc' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:40 title 'tilegx' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:49 title 'unknown' with lines lw 3 -# unset output - -# set output "/var/www/html/csv-reports/images/fedora-all-stacked-mov_avg.png" -# set title "Fedora Epel Yum Unique IPs (7 days moving average)" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29) title 'unknown_rel' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28) title 'rawhide' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27) title 'fed24' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26) title 'fed23' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25) title 'fed22' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24) title 'fed21' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23) title 'fed20' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22) title 'fed19' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21) title 'fed18' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20) title 'fed17' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19) title 'fed16' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18) title 'fed15' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17) title 'fed14' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16) title 'fed13' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15) title 'fed12' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14) title 'fed11' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13) title 'fed10' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12) title 'fed09' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11) title 'fed08' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10) title 'fed07' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9) title 'fed06' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8) title 'fed05' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7) title 'fed04' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6) title 'fed03' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5) title 'epel7' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4) title 'epel6' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3) title 'epel5' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2) title 'epel4' w filledcurves x1 -# unset output - -# set output "/var/www/html/csv-reports/images/fedora-epel-stacked-mov_avg.png" -# set title "Fedora Epel (consolidated) Yum Unique IPs (7 days moving average)" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28) title 'unknown_rel' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27) title 'rawhide' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26) title 'fedora' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5) title 'epel' w filledcurves x1 -# unset output - -# set output "/var/www/html/csv-reports/images/fedora-stacked-mov_avg.png" -# set title "Fedora Yum Unique IPs (7 day moving avg)" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29) title 'unknown_rel' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28) title 'rawhide' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27) title 'f24' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26) title 'f23' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25) title 'f22' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24) title 'fed21' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23) title 'fed20' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22) title 'fed19' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21) title 'fed18' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20) title 'fed17' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19) title 'fed16' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18) title 'fed15' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17) title 'fed14' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16) title 'fed13' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15) title 'fed12' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14) title 'fed11' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13) title 'fed10' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12) title 'fed09' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11) title 'fed08' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10) title 'fed07' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9) title 'fed06' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8) title 'fed05' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7) title 'fed04' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6) title 'fed03' w filledcurves x1 -# unset output - -# set output "/var/www/html/csv-reports/images/fedora-select-stacked-mov_avg.png" -# set title "Fedora Epel Yum Unique IPs (7 days moving average)" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28+$29) title 'unknown_rel' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27+$28) title 'rawhide' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21+$22+$23+$24+$25+$26+$27) title 'fed18-24' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20) title 'fed12-17' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10+$11+$12+$13+$14) title 'fed08-11' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($6+$7+$8+$9+$10) title 'fed03-07' w filledcurves x1 -# unset output - -# set output "/var/www/html/csv-reports/images/epel-all-mov_avg.png" -# set title "Epel Yum Unique IPs (7 days moving average)" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:2 title 'epel4' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:3 title 'epel5' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:4 title 'epel6' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:5 title 'epel7' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:30 title 'EPEL' with lines lw 3 -# unset output - -# set output "/var/www/html/csv-reports/images/epel-arch-mov_avg.png" -# set title "Epel Yum Unique IPs" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:43 title 'x86_32' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:45 title 'x86_64' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:47 title 'ppc' with lines lw 3,\ -# 'data-mov_avg.csv' using 1:30 title 'EPEL' with lines lw 3 -# unset output - -# set output "/var/www/html/csv-reports/images/epel-stacked-mov_avg.png" -# set title "Epel Yum Unique IPs" -# plot ["2007-05-17":"2016-12-31"] \ -# 'data-mov_avg.csv' using 1:($2+$3+$4+$5) title 'epel7' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3+$4) title 'epel6' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2+$3) title 'epel5' w filledcurves x1, \ -# 'data-mov_avg.csv' using 1:($2) title 'epel4' w filledcurves x1 -# unset output diff --git a/roles/web-data-analysis/files/mirror-moving_avg.py b/roles/web-data-analysis/files/mirror-moving_avg.py index bbae2531f0..c9132ac0c0 100644 --- a/roles/web-data-analysis/files/mirror-moving_avg.py +++ b/roles/web-data-analysis/files/mirror-moving_avg.py @@ -37,34 +37,39 @@ fed21 = pandas.rolling_mean(df['24-f21'], rolling) fed22 = pandas.rolling_mean(df['25-f22'], rolling) fed23 = pandas.rolling_mean(df['26-f23'], rolling) fed24 = pandas.rolling_mean(df['27-f24'], rolling) -rawhide = pandas.rolling_mean(df['28-rawhide'], rolling) -unk_rel = pandas.rolling_mean(df['29-unk_rel'], rolling) -EPEL = pandas.rolling_mean(df['30-epel'], rolling) -Fedora = pandas.rolling_mean(df['31-fedora'], rolling) -alpha = pandas.rolling_mean(df['32-alpha'], rolling) -ARM = pandas.rolling_mean(df['33-arm'], rolling) -ARM64 = pandas.rolling_mean(df['34-arm64'], rolling) -ia64 = pandas.rolling_mean(df['35-ia64'], rolling) -mips = pandas.rolling_mean(df['36-mips'], rolling) -ppc = pandas.rolling_mean(df['37-ppc'], rolling) -s390 = pandas.rolling_mean(df['38-s390'], rolling) -sparc = pandas.rolling_mean(df['39-sparc'], rolling) -tilegx = pandas.rolling_mean(df['40-tilegx'], rolling) -x86_32 = pandas.rolling_mean(df['41-x86_32'], rolling) -x86_64 = pandas.rolling_mean(df['42-x86_64'], rolling) -x86_32_e = pandas.rolling_mean(df['43-x86_32_e'], rolling) -x86_32_f = pandas.rolling_mean(df['44-x86_32_f'], rolling) -x86_64_e = pandas.rolling_mean(df['45-x86_64_e'], rolling) -x86_64_f = pandas.rolling_mean(df['46-x86_64_f'], rolling) -ppc_e = pandas.rolling_mean(df['47-ppc_e'], rolling) -ppc_f = pandas.rolling_mean(df['48-ppc_f'], rolling) -unk_arc = pandas.rolling_mean(df['49-unk_arc'], rolling) -centos = pandas.rolling_mean(df['50-centos'], rolling) -rhel = pandas.rolling_mean(df['51-rhel'], rolling) +fed25 = pandas.rolling_mean(df['28-f25'], rolling) +fed26 = pandas.rolling_mean(df['29-f26'], rolling) +fed27 = pandas.rolling_mean(df['30-f27'], rolling) +fed28 = pandas.rolling_mean(df['31-f28'], rolling) +fed29 = pandas.rolling_mean(df['32-f29'], rolling) +rawhide = pandas.rolling_mean(df['33-rawhide'], rolling) +unk_rel = pandas.rolling_mean(df['34-unk_rel'], rolling) +EPEL = pandas.rolling_mean(df['35-epel'], rolling) +Fedora = pandas.rolling_mean(df['36-fedora'], rolling) +alpha = pandas.rolling_mean(df['37-alpha'], rolling) +ARM = pandas.rolling_mean(df['38-arm'], rolling) +ARM64 = pandas.rolling_mean(df['39-arm64'], rolling) +ia64 = pandas.rolling_mean(df['40-ia64'], rolling) +mips = pandas.rolling_mean(df['41-mips'], rolling) +ppc = pandas.rolling_mean(df['42-ppc'], rolling) +s390 = pandas.rolling_mean(df['43-s390'], rolling) +sparc = pandas.rolling_mean(df['44-sparc'], rolling) +tilegx = pandas.rolling_mean(df['45-tilegx'], rolling) +x86_32 = pandas.rolling_mean(df['46-x86_32'], rolling) +x86_64 = pandas.rolling_mean(df['47-x86_64'], rolling) +x86_32_e = pandas.rolling_mean(df['48-x86_32_e'], rolling) +x86_32_f = pandas.rolling_mean(df['49-x86_32_f'], rolling) +x86_64_e = pandas.rolling_mean(df['50-x86_64_e'], rolling) +x86_64_f = pandas.rolling_mean(df['51-x86_64_f'], rolling) +ppc_e = pandas.rolling_mean(df['52-ppc_e'], rolling) +ppc_f = pandas.rolling_mean(df['53-ppc_f'], rolling) +unk_arc = pandas.rolling_mean(df['54-unk_arc'], rolling) +centos = pandas.rolling_mean(df['55-centos'], rolling) +rhel = pandas.rolling_mean(df['56-rhel'], rolling) for i in xrange(0,len(dates)): if math.isnan(epel4[i]): - csv_line = ",".join([dates[i],"0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0"]) + csv_line = ",".join([dates[i],"0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0"]) else: - csv_line = ",".join([dates[i],str(int(epel4[i])),str(int(epel5[i])),str(int(epel6[i])),str(int(epel7[i])),str(int(fed03[i])),str(int(fed04[i])),str(int(fed05[i])),str(int(fed06[i])),str(int(fed07[i])),str(int(fed08[i])),str(int(fed09[i])),str(int(fed10[i])),str(int(fed11[i])),str(int(fed12[i])),str(int(fed13[i])),str(int(fed14[i])),str(int(fed15[i])),str(int(fed16[i])),str(int(fed17[i])),str(int(fed18[i])),str(int(fed19[i])),str(int(fed20[i])),str(int(fed21[i])),str(int(fed22[i])),str(int(fed23[i])),str(int(fed24[i])),str(int(rawhide[i])),str(int(unk_rel[i])),str(int(EPEL[i])),str(int(Fedora[i])),str(int(alpha[i])),str(int(ARM[i])),str(int(ARM64[i])),str(int(ia64[i])),str(int(mips[i])),str(int(ppc[i])),str(int(s390[i])),str(int(sparc[i])),str(int(tilegx[i])),str(int(x86_32[i])),str(int(x86_64[i])), str(int(x86_32_e[i])),str(int(x86_32_f[i])),str(int(x86_64_e[i])),str(int(x86_64_f[i])),str(int(ppc_e[i])),str(int(ppc_f[i])), str(int(unk_arc[i])),str(int(centos[i])),str(int(rhel[i]))]) + csv_line = ",".join([dates[i],str(int(epel4[i])),str(int(epel5[i])),str(int(epel6[i])),str(int(epel7[i])),str(int(fed03[i])),str(int(fed04[i])),str(int(fed05[i])),str(int(fed06[i])),str(int(fed07[i])),str(int(fed08[i])),str(int(fed09[i])),str(int(fed10[i])),str(int(fed11[i])),str(int(fed12[i])),str(int(fed13[i])),str(int(fed14[i])),str(int(fed15[i])),str(int(fed16[i])),str(int(fed17[i])),str(int(fed18[i])),str(int(fed19[i])),str(int(fed20[i])),str(int(fed21[i])),str(int(fed22[i])),str(int(fed23[i])),str(int(fed24[i])),str(int(fed25[i])),str(int(fed26[i])),str(int(fed27[i])),str(int(fed28[i])),str(int(fed29[i])),str(int(rawhide[i])),str(int(unk_rel[i])),str(int(EPEL[i])),str(int(Fedora[i])),str(int(alpha[i])),str(int(ARM[i])),str(int(ARM64[i])),str(int(ia64[i])),str(int(mips[i])),str(int(ppc[i])),str(int(s390[i])),str(int(sparc[i])),str(int(tilegx[i])),str(int(x86_32[i])),str(int(x86_64[i])), str(int(x86_32_e[i])),str(int(x86_32_f[i])),str(int(x86_64_e[i])),str(int(x86_64_f[i])),str(int(ppc_e[i])),str(int(ppc_f[i])), str(int(unk_arc[i])),str(int(centos[i])),str(int(rhel[i]))]) print csv_line