Permalink
Browse files

make it better

  • Loading branch information...
1 parent 088d4a9 commit 91ba2736d5f8a4069a48b30cb4257b1955b5b4f8 @harishvc committed Dec 24, 2015
Showing 306 changed files with 265,304 additions and 3 deletions.
View
Oops, something went wrong.
View
@@ -87,7 +87,6 @@ def ProcessQuery(query,offset, per_page):
return (0, "", ReportTopLanguages("Top Languages"),"")
elif (query.startswith("repository")):
repoName = query.replace('repository ', '')
- #show interesting topics
response2 = ""
return (0,"",ProcessRepositories(repoName),response2)
elif (query.startswith("organization")):
View
@@ -14,7 +14,7 @@
connection = MongoClient(MONGO_URL)
db = connection.githublive.pushevent
else:
- MONGO_URL = os.environ['connectURLReaddev']
+ MONGO_URL = os.environ['connectURLRead']
connection = MongoClient(MONGO_URL)
db = connection.githubdev.pushevent
@@ -75,4 +75,4 @@ def GetInterestTopics(type,value):
else:
output = "<p class=\"tpadding text-success\">Sorry, no topic found based on contributor comment(s)</p>"
return output
-
+
View
@@ -1,11 +1,14 @@
from py2neo import authenticate, Graph
import os.path
import bleach
+import sys
from flask import Flask
app = Flask(__name__)
def FindSimilarRepositories(InputrepoK):
#Sanitize input
+ print("got ......",InputrepoK)
+ sys.stdout.flush()
Inputrepo = bleach.clean(InputrepoK).strip()
host = os.environ['LOCALNEO4JIPPORT']
login = os.environ['LOCALNEO4JLOGIN']
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>RemoteSystemsTempFiles</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.rse.ui.remoteSystemsTempNature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,17 @@
+2015-03-06 22:24:01 start: creating new nodes and relations since 1425701341000
+Nodes:108,708 (Repositories:48,892 People:52,453 Organization:7,363) Relations:75,834 (Repositories->People:64,541, Repositories->Organization:11,293)
+2015-03-06 22:24:08: start batch ... 1
+2015-03-06 22:24:41: start batch ... 2
+2015-03-06 22:25:09: start batch ... 3
+2015-03-06 22:25:34: start commit transactions ....
+2015-03-06 22:25:56: end commit transactions .....
+2015-03-06 22:25:56 end: generating new nodes and building new relations ...
+2015-03-06 22:25:56: #Nodes: Nodes:108,774 (Repositories:48,927 People:52,483 Organization:7,364) #Relations: Relations:75,870 (Repositories->People:64,576, Repositories->Organization:11,294)
+2015-03-06 22:25:58: Deleting nodes and relations older than 24 hours ...
+2015-03-06 22:25:59: #Nodes: Nodes:108,774 (Repositories:48,927 People:52,483 Organization:7,364) #Relations: Relations:75,870 (Repositories->People:64,576, Repositories->Organization:11,294)
+2015-03-06 22:33:01 start: creating new nodes and relations since 1425701881000
+Nodes:108,774 (Repositories:48,927 People:52,483 Organization:7,364) Relations:75,870 (Repositories->People:64,576, Repositories->Organization:11,294)
+2015-03-06 22:51:02 start: creating new nodes and relations since 1425702962000
+Nodes:109,704 (Repositories:48,927 People:52,483 Organization:7,364) Relations:75,870 (Repositories->People:64,576, Repositories->Organization:11,294)
+2015-03-06 22:51:09: #entries to process ....4413
+2015-03-06 22:51:09: start batch ... 1
Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 91ba273

Please sign in to comment.