Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions compareRels.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
headers = {'Accept': 'application/vnd.github.hellcat-preview+json'}

db = client['fdac18mp2'] # added in class
collName = 'releases_audris'
collName = 'releases_ssteinb2'
coll = db [collName]
def wait (left):
while (left < 20):
Expand Down Expand Up @@ -64,7 +64,6 @@ def cmp_rel (url):
else:
sys.stderr.write ("Could not compare releases for: " + url + "; There exists no common ancestor between the two versions." + "\n")


p2r = {}
for l in sys.stdin.readlines():
l = l.rstrip()
Expand Down
2 changes: 1 addition & 1 deletion extrNpm.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pymongo, json, sys
client = pymongo.MongoClient (host="da1")
db = client ['fdac18mp2']
id = "audris"
id = "ssteinb2"
coll = db [ 'npm_' + id]
for r in coll.find():
if 'collected' in r:
Expand Down
2 changes: 1 addition & 1 deletion extrRels.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pymongo, json, sys
client = pymongo.MongoClient (host="da1")
db = client ['fdac18mp2']
id = "audris"
id = "ssteinb2"
coll = db [ 'releases_' + id]
for r in coll.find():
n = r['name']
Expand Down
2 changes: 1 addition & 1 deletion readGit.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
headers = {'Accept': 'application/vnd.github.hellcat-preview+json'}

db = client['fdac18mp2'] # added in class
collName = 'releases_audris'
collName = 'releases_ssteinb2'
coll = db [collName]
def wait (left):
while (left < 20):
Expand Down
2 changes: 1 addition & 1 deletion readNpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
db = client ['fdac18mp2']

#replace audris with your utkid
coll = db['npm_audris']
coll = db['npm_ssteinb2']

pre = 'https://api.npms.io/v2/package/'

Expand Down
Loading