[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [metrics-web/master] Sort Tor versions in versions.png.



Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Tue, 19 Oct 2010 12:51:31 +0200
Subject: Sort Tor versions in versions.png.
Commit: 933844e64481250fe76fa230b849c15fee87c415

---
 rserve/graphs.R |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rserve/graphs.R b/rserve/graphs.R
index 7949c1b..b810461 100644
--- a/rserve/graphs.R
+++ b/rserve/graphs.R
@@ -48,7 +48,7 @@ plot_versions <- function(start, end, path) {
   versions <- fetch(rs, n = -1)
   dbDisconnect(con)
   dbUnloadDriver(drv)
-  visible_versions <- unique(versions$version)
+  visible_versions <- sort(unique(versions$version))
   versions <- rbind(data.frame(
     date = as.Date(rep(end, 7)),
     version = c("0.1.0", "0.1.1", "0.1.2", "0.2.0", "0.2.1", "0.2.2",
-- 
1.7.1