incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject svn commit: r1858491 - /incubator/public/trunk/clutch2status.py
Date Wed, 01 May 2019 14:45:56 GMT
Author: wave
Date: Wed May  1 14:45:55 2019
New Revision: 1858491

URL: http://svn.apache.org/viewvc?rev=1858491&view=rev
Log:
Number of commits is not currently available in http://gitbox.apache.org/repositories.json

Modified:
    incubator/public/trunk/clutch2status.py

Modified: incubator/public/trunk/clutch2status.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/clutch2status.py?rev=1858491&r1=1858490&r2=1858491&view=diff
==============================================================================
--- incubator/public/trunk/clutch2status.py (original)
+++ incubator/public/trunk/clutch2status.py Wed May  1 14:45:55 2019
@@ -164,7 +164,7 @@ for k in projects:
             #if jj > 1 or lsvn > 0:
             #    print("",file=f)
             desc = str(l[1]['description'])
-            commits = str(l[1]['commits'])
+            #commits = str(l[1]['commits'])
             last_update = str(l[1]['last_update_txt'])
             gityear = datetime.datetime.fromtimestamp(l[1]['last_update_int']).strftime('%Y')
             gitdate = datetime.datetime.fromtimestamp(l[1]['last_update_int']).strftime('%m/%d/%Y')
@@ -176,7 +176,7 @@ for k in projects:
             print("| *{0}{1}{2}[Gitbox]* | *{3}{4}/[Github]* | {5}".format(
                   "https://gitbox.apache.org/repos/asf?p=",repos,".git;a=tree;hb=HEAD",
                   "https://github.com/apache/",repos,desc),file=f)
-            print("-- Commits: {0}".format(commits),file=f)
+            #print("-- Commits: {0}".format(commits),file=f)
             print("-- Updated: {0}".format(gitdate),file=f)
             print("",file=f)
 



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


Mime
View raw message