community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1709320 - /comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py
Date Sun, 18 Oct 2015 21:38:36 GMT
Author: sebb
Date: Sun Oct 18 21:38:35 2015
New Revision: 1709320

URL: http://svn.apache.org/viewvc?rev=1709320&view=rev
Log:
shortdescs override no longer needed

Modified:
    comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py

Modified: comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py?rev=1709320&r1=1709319&r2=1709320&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/parsecommitteeinfo.py Sun Oct 18 21:38:35
2015
@@ -42,14 +42,10 @@ group_ids = {
 
 # homepages not matching http://<committee id>.apache.org/ and not defined in committee-info.json
/ index.html
 homepages = {
-    'comdev': 'http://community.apache.org/',
+    'comdev': 'http://community.apache.org/', # temporary (accidentally used https: in site.rb
local table)
     'whimsy': 'http://whimsical.apache.org/', # incorrect in index.html because actual site
does not yet exist
 }
 
-# short description for non-classical committees, that are not listed in http://www.apache.org/#projects-list
-shortdescs = {
-    'comdev': 'Resources to help people become involved with Apache projects',
-}
 
 # Delete a path using SVN
 def svndel(path):
@@ -211,10 +207,7 @@ for group in sorted(committees, key=keyo
             if ctte['description']:
                 committee['shortdesc'] = ctte['description']
             else:
-                if committeeId in shortdescs:
-                    committee['shortdesc'] = shortdescs[committeeId]
-                else:
-                    print("WARN: %s (%s) missing from http://www.apache.org/#projects-list"
% (group, fullName))
+                print("WARN: %s (%s) missing from http://www.apache.org/#projects-list" %
(group, fullName))
 
             if committeeId in pmcDataUrls:
                 committee['rdf'] = pmcDataUrls[committeeId]



Mime
View raw message