incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r1372784 - in /incubator/public/trunk: clutch.py content/clutcht.ent content/history/entry.txt
Date Tue, 14 Aug 2012 08:52:30 GMT
Author: crossley
Date: Tue Aug 14 08:52:30 2012
New Revision: 1372784

URL: http://svn.apache.org/viewvc?rev=1372784&view=rev
Log:
Sort history by name then entry date.

Modified:
    incubator/public/trunk/clutch.py
    incubator/public/trunk/content/clutcht.ent
    incubator/public/trunk/content/history/entry.txt

Modified: incubator/public/trunk/clutch.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/clutch.py?rev=1372784&r1=1372783&r2=1372784&view=diff
==============================================================================
--- incubator/public/trunk/clutch.py (original)
+++ incubator/public/trunk/clutch.py Tue Aug 14 08:52:30 2012
@@ -1132,8 +1132,12 @@ fileReport3.close()
 fileHistory = open(SITE_CONTENT_DIR + 'history/entry.txt', 'w')
 fileHistory.write('# podlings entered incubation\n')
 sequence = len(history) + 1
-# sorted by date
-for item in sorted(history.items(), key=lambda x:x[1]['startDate'], reverse=True):
+# sorted by name then date
+historyS = sorted(history.items(), key=lambda x: x[1]['name'])
+#for item in sorted(historyS.items(), key=lambda x:x[1]['startDate'], reverse=True):
+#for item2 in sorted(historyS, key=lambda x: x[1]['startDate'], reverse=True):
+  #print("item: {0}".format(item2))
+for item in sorted(historyS, key=lambda x: x[1]['startDate'], reverse=True):
   sequence -= 1
   startDate = item[1]['startDate'].strftime("%Y-%m-%d")
   fileHistory.write('{0},"{1}",{2}\n'.format(startDate, item[1]['name'], sequence))

Modified: incubator/public/trunk/content/clutcht.ent
URL: http://svn.apache.org/viewvc/incubator/public/trunk/content/clutcht.ent?rev=1372784&r1=1372783&r2=1372784&view=diff
==============================================================================
--- incubator/public/trunk/content/clutcht.ent (original)
+++ incubator/public/trunk/content/clutcht.ent Tue Aug 14 08:52:30 2012
@@ -1,4 +1,4 @@
 <!-- generated by clutch; do not edit -->
 
-        Clutch last gathered: Tue Aug 14 08:41:44 2012 UTC.<br />
+        Clutch last gathered: Tue Aug 14 08:48:01 2012 UTC.<br />
         Number of podlings in incubation: 50

Modified: incubator/public/trunk/content/history/entry.txt
URL: http://svn.apache.org/viewvc/incubator/public/trunk/content/history/entry.txt?rev=1372784&r1=1372783&r2=1372784&view=diff
==============================================================================
--- incubator/public/trunk/content/history/entry.txt (original)
+++ incubator/public/trunk/content/history/entry.txt Tue Aug 14 08:52:30 2012
@@ -95,15 +95,15 @@
 2007-11-01,"Buildr",76
 2007-10-02,"Pig",75
 2007-09-17,"JSPWiki",74
-2007-09-09,"Sling",73
-2007-09-09,"Sanselan",72
+2007-09-09,"Sanselan",73
+2007-09-09,"Sling",72
 2007-04-06,"RCF",71
 2007-03-22,"Tika",70
 2007-02-05,"TripleSoup",69
 2006-12-26,"River",68
 2006-11-17,"NMaven",67
-2006-10-23,"UIMA",66
-2006-10-23,"Ivy",65
+2006-10-23,"Ivy",66
+2006-10-23,"UIMA",65
 2006-08-28,"Wicket",64
 2006-08-27,"Qpid",63
 2006-08-15,"CXF",62
@@ -122,8 +122,8 @@
 2006-01-01,"WebWork 2",49
 2005-12-07,"Tuscany",48
 2005-12-05,"wadi",47
-2005-12-01,"ServiceMix",46
-2005-12-01,"ActiveMQ",45
+2005-12-01,"ActiveMQ",46
+2005-12-01,"ServiceMix",45
 2005-10-27,"Tobago",44
 2005-08-22,"Synapse",43
 2005-08-06,"mod_ftp",42
@@ -138,9 +138,9 @@
 2005-03-24,"Woden",33
 2005-02-21,"Lucene4c",32
 2005-01-01,"Nutch",31
-2004-11-08,"Hermes",30
-2004-11-08,"Muse",29
-2004-11-08,"Apollo",28
+2004-11-08,"Apollo",30
+2004-11-08,"Hermes",29
+2004-11-08,"Muse",28
 2004-09-29,"Agila",27
 2004-09-20,"Graffito",26
 2004-08-28,"Jackrabbit",25
@@ -160,8 +160,8 @@
 2003-10-23,"Directory",11
 2003-09-30,"Pluto",10
 2003-09-03,"WSRP4J",9
-2003-09-01,"jUDDI",8
-2003-09-01,"JaxMe",7
+2003-09-01,"JaxMe",8
+2003-09-01,"jUDDI",7
 2003-08-06,"Geronimo",6
 2003-07-30,"XMLBeans",5
 2003-04-01,"Tapestry",4



---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message