[pypy-svn] r40922 - pypy/dist/pypy/doc/statistic

cfbolz at codespeak.net cfbolz at codespeak.net
Wed Mar 21 14:40:13 CET 2007


Author: cfbolz
Date: Wed Mar 21 14:40:11 2007
New Revision: 40922

Added:
   pypy/dist/pypy/doc/statistic/confrest.py
      - copied unchanged from r40884, pypy/dist/pypy/doc/weekly/confrest.py
   pypy/dist/pypy/doc/statistic/loc.csv
      - copied unchanged from r40884, pypy/dist/pypy/doc/statistic/loc.txt
   pypy/dist/pypy/doc/statistic/loc.png   (contents, props changed)
   pypy/dist/pypy/doc/statistic/number_files.csv
      - copied unchanged from r40884, pypy/dist/pypy/doc/statistic/number_files.txt
   pypy/dist/pypy/doc/statistic/number_files.png   (contents, props changed)
   pypy/dist/pypy/doc/statistic/post.csv
      - copied unchanged from r40884, pypy/dist/pypy/doc/statistic/post.txt
   pypy/dist/pypy/doc/statistic/post.png   (contents, props changed)
   pypy/dist/pypy/doc/statistic/python-list.csv
      - copied unchanged from r40884, pypy/dist/pypy/doc/statistic/python-list.txt
   pypy/dist/pypy/doc/statistic/python-list.png   (contents, props changed)
   pypy/dist/pypy/doc/statistic/release_dates.dat
      - copied unchanged from r40884, pypy/dist/pypy/doc/statistic/release_dates.csv
   pypy/dist/pypy/doc/statistic/sprint_dates.dat
      - copied unchanged from r40884, pypy/dist/pypy/doc/statistic/sprint_dates.csv
   pypy/dist/pypy/doc/statistic/statistic_irc_log.csv
      - copied unchanged from r40884, pypy/dist/pypy/doc/statistic/statistic_irc_log.txt
   pypy/dist/pypy/doc/statistic/statistic_irc_log.png   (contents, props changed)
   pypy/dist/pypy/doc/statistic/style.css
      - copied unchanged from r40884, pypy/dist/pypy/doc/weekly/style.css
   pypy/dist/pypy/doc/statistic/subscribers.csv
      - copied unchanged from r40884, pypy/dist/pypy/doc/statistic/subscribers.txt
   pypy/dist/pypy/doc/statistic/subscribers.png   (contents, props changed)
   pypy/dist/pypy/doc/statistic/webaccess.csv
      - copied unchanged from r40884, pypy/dist/pypy/doc/statistic/webaccess.txt
   pypy/dist/pypy/doc/statistic/webaccess.png   (contents, props changed)
Removed:
   pypy/dist/pypy/doc/statistic/conftest.py
   pypy/dist/pypy/doc/statistic/loc.txt
   pypy/dist/pypy/doc/statistic/number_files.txt
   pypy/dist/pypy/doc/statistic/post.txt
   pypy/dist/pypy/doc/statistic/python-list.txt
   pypy/dist/pypy/doc/statistic/release_dates.csv
   pypy/dist/pypy/doc/statistic/sprint_dates.csv
   pypy/dist/pypy/doc/statistic/statistic_irc_log.txt
   pypy/dist/pypy/doc/statistic/subscribers.txt
   pypy/dist/pypy/doc/statistic/webaccess.txt
Modified:
   pypy/dist/pypy/doc/statistic/format.py
Log:
reorder stuff to be able to create a page showing all the graphs


Modified: pypy/dist/pypy/doc/statistic/format.py
==============================================================================
--- pypy/dist/pypy/doc/statistic/format.py	(original)
+++ pypy/dist/pypy/doc/statistic/format.py	Wed Mar 21 14:40:11 2007
@@ -46,15 +46,15 @@
 else:
     colors = "brg"
 
-def txt2png(p):
+def csv2png(p):
     print p
     title, axis, data = get_data(p)
     dates = data[0]
 
-    release_title, release_axis, release_data = get_data( py.path.local("release_dates.csv") )
+    release_title, release_axis, release_data = get_data( py.path.local("release_dates.dat") )
     release_dates, release_names = release_data
  
-    sprint_title, sprint_axis, sprint_data = get_data( py.path.local("sprint_dates.csv") )
+    sprint_title, sprint_axis, sprint_data = get_data( py.path.local("sprint_dates.dat") )
     sprint_locations, sprint_begin_dates, sprint_end_dates = sprint_data
  
     ax = pylab.subplot(111)
@@ -111,7 +111,7 @@
         py.std.sys.exit()
     for arg in args[1:]:
         if arg == "--all":
-            for p in py.path.local().listdir("*.txt"):
+            for p in py.path.local().listdir("*.csv"):
                 py.std.os.system("python %s %s" % (args[0], p.basename))
         else:
-            txt2png(py.path.local(arg))
+            csv2png(py.path.local(arg))

Added: pypy/dist/pypy/doc/statistic/loc.png
==============================================================================
Binary file. No diff available.

Added: pypy/dist/pypy/doc/statistic/number_files.png
==============================================================================
Binary file. No diff available.

Added: pypy/dist/pypy/doc/statistic/post.png
==============================================================================
Binary file. No diff available.

Added: pypy/dist/pypy/doc/statistic/python-list.png
==============================================================================
Binary file. No diff available.

Added: pypy/dist/pypy/doc/statistic/statistic_irc_log.png
==============================================================================
Binary file. No diff available.

Added: pypy/dist/pypy/doc/statistic/subscribers.png
==============================================================================
Binary file. No diff available.

Added: pypy/dist/pypy/doc/statistic/webaccess.png
==============================================================================
Binary file. No diff available.



More information about the Pypy-commit mailing list