incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject svn commit: r1805360 - /incubator/public/trunk/clutch.py
Date Fri, 18 Aug 2017 02:20:15 GMT
Author: johndament
Date: Fri Aug 18 02:20:15 2017
New Revision: 1805360

URL: http://svn.apache.org/viewvc?rev=1805360&view=rev
Log:
Don't check for SVN, most projects are using git at this point.

Modified:
    incubator/public/trunk/clutch.py

Modified: incubator/public/trunk/clutch.py
URL: http://svn.apache.org/viewvc/incubator/public/trunk/clutch.py?rev=1805360&r1=1805359&r2=1805360&view=diff
==============================================================================
--- incubator/public/trunk/clutch.py (original)
+++ incubator/public/trunk/clutch.py Fri Aug 18 02:20:15 2017
@@ -804,41 +804,6 @@ for k in sorted(projectNames, key=str.lo
     if projects[k]['committersSvn'] == None and optionInfo:
         print("INFO: {0}: Does not yet have committers accounts".format(k))
 
-    # Detect if they have SVN yet.
-    # First, try the URL from their status page
-    # then, try URLs based on their resourceNames.
-    if optionUseClutchState and projects[k]['hasClutchState'] and state[k]['urlSvn']:
-        projects[k]['urlSvn'] = state[k]['urlSvn']
-        incubatorSvnDirs[normaliseSVNurl(state[k]['urlSvn'])] = 'used'
-    else:
-        urls = []
-        try:
-            projects[k]['urlSvn']
-        except:
-            pass
-        else:
-            if projects[k]['urlSvn'] != '':
-                urls.append(projects[k]['urlSvn'])
-        for name in projects[k]['resourceNames']:
-            urls.append(
-                "https://svn.apache.org/repos/asf/incubator/{0}/".format(name))
-        for url in urls:
-            if optionVerbose:
-                print("DEBUG: Trying SVN URL " + url)
-            if normaliseSVNurl(url) in incubatorSvnDirs:
-                projects[k]['urlSvn'] = url
-                incubatorSvnDirs[url] = name  # mark used
-                break
-            try:
-                getUrl(url)
-            except IOError:
-                projects[k]['urlSvn'] = ''
-            else:
-                projects[k]['urlSvn'] = url
-                break
-        if not projects[k]['urlSvn'] and optionInfo:
-            print("INFO: {0}: Does not yet have SVN".format(k))
-
     # Detect if they have Tracker yet.
     # First, try the url from their status page
     # then, try a standard url.



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


Mime
View raw message