public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/gwn: print-dev-stats.py
@ 2008-05-21  0:41 Anant Narayanan (anant)
  0 siblings, 0 replies; 6+ messages in thread
From: Anant Narayanan (anant) @ 2008-05-21  0:41 UTC (permalink / raw
  To: gentoo-commits

anant       08/05/21 00:41:07

  Added:                print-dev-stats.py
  Log:
  Add dev stats script

Revision  Changes    Path
1.1                  src/gwn/print-dev-stats.py

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/gwn/print-dev-stats.py?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/gwn/print-dev-stats.py?rev=1.1&content-type=text/plain

Index: print-dev-stats.py
===================================================================
import xml.dom.minidom

dom = xml.dom.minidom.parse('/home/anant/gentoo/gentoo/xml/htdocs/proj/en/devrel/roll-call/userinfo.xml')
aom = xml.dom.minidom.parse('devaway.xml')

dev = dom.getElementsByTagName('user')
tot = len(dev)
awa = aom.getElementsByTagName('dev')
awa = len(awa)
cnt = 0

for d in dev:
	ret = d.getElementsByTagName('status')
	if not ret:
		cnt += 1

print tot, cnt, awa



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo commit in src/gwn: print-dev-stats.py
@ 2008-06-29  5:09 Anant Narayanan (anant)
  0 siblings, 0 replies; 6+ messages in thread
From: Anant Narayanan (anant) @ 2008-06-29  5:09 UTC (permalink / raw
  To: gentoo-commits

anant       08/06/29 05:09:37

  Modified:             print-dev-stats.py
  Log:
  Add comment giving link to devaway.xml because I keep forgetting where it comes from.

Revision  Changes    Path
1.2                  src/gwn/print-dev-stats.py

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/gwn/print-dev-stats.py?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/gwn/print-dev-stats.py?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/src/gwn/print-dev-stats.py?r1=1.1&r2=1.2

Index: print-dev-stats.py
===================================================================
RCS file: /var/cvsroot/gentoo/src/gwn/print-dev-stats.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- print-dev-stats.py	21 May 2008 00:41:07 -0000	1.1
+++ print-dev-stats.py	29 Jun 2008 05:09:36 -0000	1.2
@@ -1,3 +1,4 @@
+# Get devaway.xml from http://www.gentoo.org/dyn/devaway/devaway.xml?passthru=1
 import xml.dom.minidom
 
 dom = xml.dom.minidom.parse('/home/anant/gentoo/gentoo/xml/htdocs/proj/en/devrel/roll-call/userinfo.xml')



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo commit in src/gwn: print-dev-stats.py
@ 2013-10-06  9:57 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 6+ messages in thread
From: Markos Chandras (hwoarang) @ 2013-10-06  9:57 UTC (permalink / raw
  To: gentoo-commits

hwoarang    13/10/06 09:57:11

  Modified:             print-dev-stats.py
  Log:
  print-dev-stats.py: Add missing python shebang
  
  Also reword output

Revision  Changes    Path
1.4                  src/gwn/print-dev-stats.py

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/print-dev-stats.py?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/print-dev-stats.py?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/print-dev-stats.py?r1=1.3&r2=1.4

Index: print-dev-stats.py
===================================================================
RCS file: /var/cvsroot/gentoo/src/gwn/print-dev-stats.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- print-dev-stats.py	29 Sep 2013 14:06:09 -0000	1.3
+++ print-dev-stats.py	6 Oct 2013 09:57:10 -0000	1.4
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 # Get devaway.xml from http://www.gentoo.org/dyn/devaway/devaway.xml?passthru=1
 import xml.dom.minidom
 import urllib2
@@ -22,6 +24,10 @@
 	if not ret:
 		cnt += 1
 
-print tot, cnt, awa
+print """
+Total develpers: %s
+Active Developers: %s
+Inactive Developers: %s
+""" % (tot, cnt, awa)
 
 os.remove("devaway.txt")





^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo commit in src/gwn: print-dev-stats.py
@ 2013-10-06  9:59 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 6+ messages in thread
From: Markos Chandras (hwoarang) @ 2013-10-06  9:59 UTC (permalink / raw
  To: gentoo-commits

hwoarang    13/10/06 09:59:47

  Modified:             print-dev-stats.py
  Log:
  print-dev-stats.py: Reword output again
  
  So it can be compatible with the wp blog posts

Revision  Changes    Path
1.5                  src/gwn/print-dev-stats.py

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/print-dev-stats.py?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/print-dev-stats.py?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/print-dev-stats.py?r1=1.4&r2=1.5

Index: print-dev-stats.py
===================================================================
RCS file: /var/cvsroot/gentoo/src/gwn/print-dev-stats.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- print-dev-stats.py	6 Oct 2013 09:57:10 -0000	1.4
+++ print-dev-stats.py	6 Oct 2013 09:59:47 -0000	1.5
@@ -25,9 +25,9 @@
 		cnt += 1
 
 print """
-Total develpers: %s
-Active Developers: %s
-Inactive Developers: %s
-""" % (tot, cnt, awa)
+<h2>Summary</h2>
+Gentoo is made up of %s active developers, of which %s are currently away.
+Gentoo has recruited a total of %s developers since its inception.
+""" % (cnt, awa, tot)
 
 os.remove("devaway.txt")





^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo commit in src/gwn: print-dev-stats.py
@ 2013-10-06 10:03 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 6+ messages in thread
From: Markos Chandras (hwoarang) @ 2013-10-06 10:03 UTC (permalink / raw
  To: gentoo-commits

hwoarang    13/10/06 10:03:14

  Modified:             print-dev-stats.py
  Log:
  print-dev-stats.py: Better make it bold

Revision  Changes    Path
1.6                  src/gwn/print-dev-stats.py

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/print-dev-stats.py?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/print-dev-stats.py?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/print-dev-stats.py?r1=1.5&r2=1.6

Index: print-dev-stats.py
===================================================================
RCS file: /var/cvsroot/gentoo/src/gwn/print-dev-stats.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- print-dev-stats.py	6 Oct 2013 09:59:47 -0000	1.5
+++ print-dev-stats.py	6 Oct 2013 10:03:14 -0000	1.6
@@ -26,8 +26,8 @@
 
 print """
 <h2>Summary</h2>
-Gentoo is made up of %s active developers, of which %s are currently away.
-Gentoo has recruited a total of %s developers since its inception.
+Gentoo is made up of <strong>%s</strong> active developers, of which <strong>%s</strong> are currently away.
+Gentoo has recruited a total of <strong>%s</strong> developers since its inception.
 """ % (cnt, awa, tot)
 
 os.remove("devaway.txt")





^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-commits] gentoo commit in src/gwn: print-dev-stats.py
@ 2013-12-29 15:20 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 6+ messages in thread
From: Markos Chandras (hwoarang) @ 2013-12-29 15:20 UTC (permalink / raw
  To: gentoo-commits

hwoarang    13/12/29 15:20:51

  Modified:             print-dev-stats.py
  Log:
  print-dev-stats.py: Also print main header

Revision  Changes    Path
1.7                  src/gwn/print-dev-stats.py

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/print-dev-stats.py?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/print-dev-stats.py?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/gwn/print-dev-stats.py?r1=1.6&r2=1.7

Index: print-dev-stats.py
===================================================================
RCS file: /var/cvsroot/gentoo/src/gwn/print-dev-stats.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- print-dev-stats.py	6 Oct 2013 10:03:14 -0000	1.6
+++ print-dev-stats.py	29 Dec 2013 15:20:51 -0000	1.7
@@ -25,6 +25,7 @@
 		cnt += 1
 
 print """
+<h1>Gentoo Developer Moves</h1>
 <h2>Summary</h2>
 Gentoo is made up of <strong>%s</strong> active developers, of which <strong>%s</strong> are currently away.
 Gentoo has recruited a total of <strong>%s</strong> developers since its inception.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-29 15:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-06 10:03 [gentoo-commits] gentoo commit in src/gwn: print-dev-stats.py Markos Chandras (hwoarang)
  -- strict thread matches above, loose matches on Subject: below --
2013-12-29 15:20 Markos Chandras (hwoarang)
2013-10-06  9:59 Markos Chandras (hwoarang)
2013-10-06  9:57 Markos Chandras (hwoarang)
2008-06-29  5:09 Anant Narayanan (anant)
2008-05-21  0:41 Anant Narayanan (anant)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox