[tor-commits] [metrics-web/master] Add 0.2.4.x to relay versions graph.

karsten at torproject.org karsten at torproject.org
Mon Jul 30 08:37:01 UTC 2012


commit 24dd858fa9927e98894d5a8cee24a9f7e6b51d66
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Mon Jul 30 10:33:11 2012 +0200

    Add 0.2.4.x to relay versions graph.
---
 rserve/graphs.R |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/rserve/graphs.R b/rserve/graphs.R
index 5322376..a28132c 100644
--- a/rserve/graphs.R
+++ b/rserve/graphs.R
@@ -413,13 +413,13 @@ plot_versions <- function(start, end, path, dpi) {
   dbDisconnect(con)
   dbUnloadDriver(drv)
   known_versions <- c("0.1.0", "0.1.1", "0.1.2", "0.2.0", "0.2.1",
-        "0.2.2", "0.2.3")
+        "0.2.2", "0.2.3", "0.2.4")
   versions <- versions[versions$version %in% known_versions, ]
   visible_versions <- sort(unique(versions$version))
   versions <- rbind(data.frame(
-    date = as.Date(rep(end, 7)),
+    date = as.Date(rep(end, length(known_versions))),
     version = known_versions,
-    relays = rep(NA, 7)), versions)
+    relays = rep(NA, length(known_versions))), versions)
   date_breaks <- date_breaks(
     as.numeric(max(as.Date(versions$date, "%Y-%m-%d")) -
     min(as.Date(versions$date, "%Y-%m-%d"))))



More information about the tor-commits mailing list