From 2829b570f10ef2a314fbadcde8481b4ca3192a5d Mon Sep 17 00:00:00 2001 From: Laura Weber Date: Fri, 11 Dec 2020 14:11:14 -0800 Subject: [PATCH 1/2] Generalize data collection scripts. Remove member org hard coding. --- _explore/input_lists.json | 3 +++ _explore/scripts/MASTER.sh | 2 +- _explore/scripts/build_yearlist.py | 2 +- _explore/scripts/cleanup_inputs.py | 2 +- _explore/scripts/gather_repo_metadata.py | 2 +- _explore/scripts/get_dependency_info.py | 2 +- .../{get_llnl_members.py => get_internal_members.py} | 7 ++++--- _explore/scripts/get_members_extrepos.py | 8 ++++---- _explore/scripts/get_repos_activitycommits.py | 2 +- _explore/scripts/get_repos_activitylines.py | 2 +- _explore/scripts/get_repos_creationhistory.py | 2 +- _explore/scripts/get_repos_dependencies.py | 2 +- _explore/scripts/get_repos_info.py | 2 +- _explore/scripts/get_repos_languages.py | 2 +- _explore/scripts/get_repos_releases.py | 2 +- _explore/scripts/get_repos_starhistory.py | 2 +- _explore/scripts/get_repos_topics.py | 2 +- _explore/scripts/get_repos_users.py | 8 ++++---- 18 files changed, 29 insertions(+), 25 deletions(-) rename _explore/scripts/{get_llnl_members.py => get_internal_members.py} (87%) diff --git a/_explore/input_lists.json b/_explore/input_lists.json index f9f1f5890..b32076bf9 100644 --- a/_explore/input_lists.json +++ b/_explore/input_lists.json @@ -1,4 +1,7 @@ { + "memberOrgs": [ + "llnl" + ], "orgs": [ "cdat", "chaos", diff --git a/_explore/scripts/MASTER.sh b/_explore/scripts/MASTER.sh index aefe1f920..81ab1f21f 100755 --- a/_explore/scripts/MASTER.sh +++ b/_explore/scripts/MASTER.sh @@ -46,7 +46,7 @@ runScript cleanup_inputs.py # Required before any other repo scripts (output used as repo list) runScript get_repos_info.py # Required before any other member scripts (output used as member list) -runScript get_llnl_members.py +runScript get_internal_members.py # --- EXTERNAL V INTERNAL --- diff --git a/_explore/scripts/build_yearlist.py b/_explore/scripts/build_yearlist.py index 237393d70..422c4957a 100644 --- a/_explore/scripts/build_yearlist.py +++ b/_explore/scripts/build_yearlist.py @@ -29,6 +29,6 @@ yearDict[prefix] = yearList yearData = qm.DataManager("%s/YEARS.json" % ghDataDir, False) -yearData.fileSave() +yearData.fileSave(newline="\n") print("Done!\n") diff --git a/_explore/scripts/cleanup_inputs.py b/_explore/scripts/cleanup_inputs.py index 2030241d6..59cf04e8b 100644 --- a/_explore/scripts/cleanup_inputs.py +++ b/_explore/scripts/cleanup_inputs.py @@ -17,6 +17,6 @@ listWIP.sort() # List in alphabetical order inputLists.data[aList] = listWIP -inputLists.fileSave() +inputLists.fileSave(newline="\n") print("Primary input lists cleaned!") diff --git a/_explore/scripts/gather_repo_metadata.py b/_explore/scripts/gather_repo_metadata.py index ef208457a..567622ee3 100644 --- a/_explore/scripts/gather_repo_metadata.py +++ b/_explore/scripts/gather_repo_metadata.py @@ -41,6 +41,6 @@ infoWriter.data[repo] = repoData # write data to file -infoWriter.fileSave() +infoWriter.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_dependency_info.py b/_explore/scripts/get_dependency_info.py index 564991d6f..f3a6e7442 100644 --- a/_explore/scripts/get_dependency_info.py +++ b/_explore/scripts/get_dependency_info.py @@ -57,6 +57,6 @@ print("\nCollective data gathering complete!") # Write output file -dataCollector.fileSave() +dataCollector.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_llnl_members.py b/_explore/scripts/get_internal_members.py similarity index 87% rename from _explore/scripts/get_llnl_members.py rename to _explore/scripts/get_internal_members.py index bd2228c9e..7f2629b8d 100644 --- a/_explore/scripts/get_llnl_members.py +++ b/_explore/scripts/get_internal_members.py @@ -5,8 +5,9 @@ datfilepath = "%s/labUsers.json" % ghDataDir queryPath = "../queries/org-Members.gql" -# Only looking at LLNL org members -orglist = ["llnl"] +# Read input list of member organizations +inputLists = qm.DataManager("../input_lists.json", True) +orglist = inputLists.data["memberOrgs"] # Initialize data collector dataCollector = qm.DataManager(datfilepath, False) @@ -43,6 +44,6 @@ print("\nCollective data gathering complete!") # Write output file -dataCollector.fileSave() +dataCollector.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_members_extrepos.py b/_explore/scripts/get_members_extrepos.py index 87746c97f..5341f027f 100644 --- a/_explore/scripts/get_members_extrepos.py +++ b/_explore/scripts/get_members_extrepos.py @@ -13,11 +13,11 @@ repolist = sorted(inputLists.data["data"].keys()) print("Repo list complete. Found %d repos." % (len(repolist))) -# Read lab user data file (to use as member list) +# Read internal user data file (to use as member list) inputLists = qm.DataManager("%s/labUsers.json" % ghDataDir, True) # Populate member list memberlist = [] -print("Getting LLNL members ...") +print("Getting internal members ...") memberlist = sorted(inputLists.data["data"].keys()) print("Member list complete. Found %d users." % (len(memberlist))) @@ -28,7 +28,7 @@ # Initialize query manager queryMan = qm.GitHubQueryManager() -# Iterate through lab members +# Iterate through internal members print("Gathering data across multiple paginated queries...") for usr in memberlist: print("\n'%s'" % (usr)) @@ -62,6 +62,6 @@ print("\nCollective data gathering complete!") # Write output file -dataCollector.fileSave() +dataCollector.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_repos_activitycommits.py b/_explore/scripts/get_repos_activitycommits.py index df1fd6288..b7e6c16d3 100644 --- a/_explore/scripts/get_repos_activitycommits.py +++ b/_explore/scripts/get_repos_activitycommits.py @@ -58,6 +58,6 @@ print("\nCollective data gathering complete!") # Write output file -dataCollector.fileSave() +dataCollector.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_repos_activitylines.py b/_explore/scripts/get_repos_activitylines.py index 236b07428..5df90d76b 100644 --- a/_explore/scripts/get_repos_activitylines.py +++ b/_explore/scripts/get_repos_activitylines.py @@ -60,6 +60,6 @@ print("\nCollective data gathering complete!") # Write output file -dataCollector.fileSave() +dataCollector.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_repos_creationhistory.py b/_explore/scripts/get_repos_creationhistory.py index 3e37305bc..ce6223d01 100644 --- a/_explore/scripts/get_repos_creationhistory.py +++ b/_explore/scripts/get_repos_creationhistory.py @@ -119,6 +119,6 @@ print("Removed '%s'" % (repo)) # Write output file -dataCollector.fileSave() +dataCollector.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_repos_dependencies.py b/_explore/scripts/get_repos_dependencies.py index 112a28c47..744628209 100644 --- a/_explore/scripts/get_repos_dependencies.py +++ b/_explore/scripts/get_repos_dependencies.py @@ -54,6 +54,6 @@ print("\nCollective data gathering complete!") # Write output file -dataCollector.fileSave() +dataCollector.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_repos_info.py b/_explore/scripts/get_repos_info.py index c5c46bf7b..d47c47f60 100644 --- a/_explore/scripts/get_repos_info.py +++ b/_explore/scripts/get_repos_info.py @@ -70,6 +70,6 @@ print("\nCollective data gathering Part2of2 complete!") # Write output file -dataCollector.fileSave() +dataCollector.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_repos_languages.py b/_explore/scripts/get_repos_languages.py index 2852b06a8..f7a752e44 100644 --- a/_explore/scripts/get_repos_languages.py +++ b/_explore/scripts/get_repos_languages.py @@ -47,6 +47,6 @@ print("\nCollective data gathering complete!") # Write output file -dataCollector.fileSave() +dataCollector.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_repos_releases.py b/_explore/scripts/get_repos_releases.py index 2de201c60..b1f15e56c 100644 --- a/_explore/scripts/get_repos_releases.py +++ b/_explore/scripts/get_repos_releases.py @@ -47,6 +47,6 @@ print("\nCollective data gathering complete!") # Write output files -dataCollector.fileSave() +dataCollector.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_repos_starhistory.py b/_explore/scripts/get_repos_starhistory.py index 3e74ad0af..cb4029127 100644 --- a/_explore/scripts/get_repos_starhistory.py +++ b/_explore/scripts/get_repos_starhistory.py @@ -78,6 +78,6 @@ def toDate(isoStr): dataCollector.data["data"][repo] = dateList # Write output files -dataCollector.fileSave() +dataCollector.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_repos_topics.py b/_explore/scripts/get_repos_topics.py index 89fb732e2..35108598f 100644 --- a/_explore/scripts/get_repos_topics.py +++ b/_explore/scripts/get_repos_topics.py @@ -47,6 +47,6 @@ print("\nCollective data gathering complete!") # Write output file -dataCollector.fileSave() +dataCollector.fileSave(newline="\n") print("\nDone!\n") diff --git a/_explore/scripts/get_repos_users.py b/_explore/scripts/get_repos_users.py index 1f9a23dc8..4695aa128 100644 --- a/_explore/scripts/get_repos_users.py +++ b/_explore/scripts/get_repos_users.py @@ -15,11 +15,11 @@ print("Repo list complete. Found %d repos." % (len(repolist))) # Initialize internal user data collector -# and Read lab user data file (to use as member list) +# and Read internal user data file (to use as member list) dataCollectorInt = qm.DataManager(datfilepathInt, True) # Populate member list memberlist = [] -print("Getting LLNL members ...") +print("Getting internal members ...") memberlist = sorted(dataCollectorInt.data["data"].keys()) print("Member list complete. Found %d users." % (len(memberlist))) @@ -84,7 +84,7 @@ print("\nCollective data gathering complete!") # Write output files -dataCollectorExt.fileSave() -dataCollectorInt.fileSave() +dataCollectorExt.fileSave(newline="\n") +dataCollectorInt.fileSave(newline="\n") print("\nDone!\n") From 73c25356f08dc6191fa47727999719bec3300290 Mon Sep 17 00:00:00 2001 From: Laura Weber Date: Fri, 11 Dec 2020 16:53:37 -0800 Subject: [PATCH 2/2] Change filenames from "lab" to "int" --- _explore/scripts/gather_repo_metadata.py | 6 +++--- _explore/scripts/get_dependency_info.py | 2 +- _explore/scripts/get_internal_members.py | 2 +- _explore/scripts/get_members_extrepos.py | 4 ++-- _explore/scripts/get_repos_activitycommits.py | 4 ++-- _explore/scripts/get_repos_activitylines.py | 4 ++-- _explore/scripts/get_repos_creationhistory.py | 4 ++-- _explore/scripts/get_repos_dependencies.py | 4 ++-- _explore/scripts/get_repos_info.py | 2 +- _explore/scripts/get_repos_languages.py | 4 ++-- _explore/scripts/get_repos_releases.py | 4 ++-- _explore/scripts/get_repos_starhistory.py | 4 ++-- _explore/scripts/get_repos_topics.py | 4 ++-- _explore/scripts/get_repos_users.py | 4 ++-- .../{labRepo_Metadata.json => intRepo_Metadata.json} | 0 .../github-data/{labReposInfo.json => intReposInfo.json} | 0 ...s_ActivityCommits.json => intRepos_ActivityCommits.json} | 0 ...Repos_ActivityLines.json => intRepos_ActivityLines.json} | 0 ...s_CreationHistory.json => intRepos_CreationHistory.json} | 0 ...abRepos_Dependencies.json => intRepos_Dependencies.json} | 0 .../{labRepos_Languages.json => intRepos_Languages.json} | 0 ...pos_ReleaseHistory.json => intRepos_ReleaseHistory.json} | 0 ...{labRepos_StarHistory.json => intRepos_StarHistory.json} | 0 .../{labRepos_Topics.json => intRepos_Topics.json} | 0 explore/github-data/{labUsers.json => intUsers.json} | 0 explore/popular-repos/index.html | 2 +- js/category-info.js | 4 ++-- js/explore/cloud_languages.js | 2 +- js/explore/cloud_licenses.js | 2 +- js/explore/cloud_topics.js | 2 +- js/explore/dependencies/force_dependencyGraph.js | 2 +- js/explore/largeRepos/cluster_repoSize.js | 2 +- js/explore/largeRepos/line_repoActivity.js | 4 ++-- js/explore/largeRepos/line_repoCreationHistory.js | 2 +- js/explore/largeRepos/line_repoStarHistory.js | 2 +- js/explore/largeRepos/pie_activityCommits.js | 2 +- js/explore/largeRepos/pie_activityLines.js | 2 +- js/explore/largeRepos/sunburst_licenses.js | 2 +- js/explore/line_repoActivity.js | 2 +- js/explore/line_repoActivityExplore.js | 4 ++-- js/explore/line_repoCreationHistory.js | 2 +- js/explore/line_repoStarHistory.js | 4 ++-- js/explore/line_repoStarHistoryExplore.js | 2 +- js/explore/pack_hierarchy.js | 2 +- js/explore/pie_language.js | 2 +- js/explore/pie_languageExplore.js | 2 +- js/explore/pie_members.js | 2 +- js/explore/pie_repoIssues.js | 2 +- js/explore/pie_repoPulls.js | 2 +- js/explore/pie_repoUsers.js | 2 +- js/explore/pie_repos.js | 2 +- js/explore/scatter_repoIssues.js | 2 +- js/explore/scatter_repoPulls.js | 2 +- js/explore/sunburst_licenses.js | 2 +- js/focused-category-info.js | 4 ++-- js/radiuss/category-info-radiuss.js | 4 ++-- js/repo/repo-dynamic.js | 2 +- 57 files changed, 64 insertions(+), 64 deletions(-) rename explore/github-data/{labRepo_Metadata.json => intRepo_Metadata.json} (100%) rename explore/github-data/{labReposInfo.json => intReposInfo.json} (100%) rename explore/github-data/{labRepos_ActivityCommits.json => intRepos_ActivityCommits.json} (100%) rename explore/github-data/{labRepos_ActivityLines.json => intRepos_ActivityLines.json} (100%) rename explore/github-data/{labRepos_CreationHistory.json => intRepos_CreationHistory.json} (100%) rename explore/github-data/{labRepos_Dependencies.json => intRepos_Dependencies.json} (100%) rename explore/github-data/{labRepos_Languages.json => intRepos_Languages.json} (100%) rename explore/github-data/{labRepos_ReleaseHistory.json => intRepos_ReleaseHistory.json} (100%) rename explore/github-data/{labRepos_StarHistory.json => intRepos_StarHistory.json} (100%) rename explore/github-data/{labRepos_Topics.json => intRepos_Topics.json} (100%) rename explore/github-data/{labUsers.json => intUsers.json} (100%) diff --git a/_explore/scripts/gather_repo_metadata.py b/_explore/scripts/gather_repo_metadata.py index 567622ee3..bfb3891ef 100644 --- a/_explore/scripts/gather_repo_metadata.py +++ b/_explore/scripts/gather_repo_metadata.py @@ -1,9 +1,9 @@ from scraper.github import queryManager as qm ghDataDir = "../../explore/github-data" -genDatafile = "%s/labReposInfo.json" % ghDataDir -topicsDatafile = "%s/labRepos_Topics.json" % ghDataDir -writeFile = "%s/labRepo_Metadata.json" % ghDataDir +genDatafile = "%s/intReposInfo.json" % ghDataDir +topicsDatafile = "%s/intRepos_Topics.json" % ghDataDir +writeFile = "%s/intRepo_Metadata.json" % ghDataDir # initialize data manager and load repo info genDataCollector = qm.DataManager(genDatafile, True) diff --git a/_explore/scripts/get_dependency_info.py b/_explore/scripts/get_dependency_info.py index f3a6e7442..2e0668528 100644 --- a/_explore/scripts/get_dependency_info.py +++ b/_explore/scripts/get_dependency_info.py @@ -6,7 +6,7 @@ queryPath = "../queries/dependency-Info.gql" # Read repo info data file (to use as repo list) -inputLists = qm.DataManager("%s/labRepos_Dependencies.json" % ghDataDir, True) +inputLists = qm.DataManager("%s/intRepos_Dependencies.json" % ghDataDir, True) # Populate repo list repolist = [] print("Getting dependency repos ...") diff --git a/_explore/scripts/get_internal_members.py b/_explore/scripts/get_internal_members.py index 7f2629b8d..16de29cd3 100644 --- a/_explore/scripts/get_internal_members.py +++ b/_explore/scripts/get_internal_members.py @@ -2,7 +2,7 @@ from os import environ as env ghDataDir = env.get("GITHUB_DATA", "../github-data") -datfilepath = "%s/labUsers.json" % ghDataDir +datfilepath = "%s/intUsers.json" % ghDataDir queryPath = "../queries/org-Members.gql" # Read input list of member organizations diff --git a/_explore/scripts/get_members_extrepos.py b/_explore/scripts/get_members_extrepos.py index 5341f027f..c5459441a 100644 --- a/_explore/scripts/get_members_extrepos.py +++ b/_explore/scripts/get_members_extrepos.py @@ -6,7 +6,7 @@ queryPath = "../queries/user-Repos.gql" # Read repo info data file (to use as repo list) -inputLists = qm.DataManager("%s/labReposInfo.json" % ghDataDir, True) +inputLists = qm.DataManager("%s/intReposInfo.json" % ghDataDir, True) # Populate repo list repolist = [] print("Getting internal repos ...") @@ -14,7 +14,7 @@ print("Repo list complete. Found %d repos." % (len(repolist))) # Read internal user data file (to use as member list) -inputLists = qm.DataManager("%s/labUsers.json" % ghDataDir, True) +inputLists = qm.DataManager("%s/intUsers.json" % ghDataDir, True) # Populate member list memberlist = [] print("Getting internal members ...") diff --git a/_explore/scripts/get_repos_activitycommits.py b/_explore/scripts/get_repos_activitycommits.py index b7e6c16d3..956307914 100644 --- a/_explore/scripts/get_repos_activitycommits.py +++ b/_explore/scripts/get_repos_activitycommits.py @@ -4,11 +4,11 @@ from datetime import datetime ghDataDir = env.get("GITHUB_DATA", "../github-data") -datfilepath = "%s/labRepos_ActivityCommits.json" % ghDataDir +datfilepath = "%s/intRepos_ActivityCommits.json" % ghDataDir query_in = "/repos/OWNNAME/REPONAME/stats/commit_activity" # Read repo info data file (to use as repo list) -inputLists = qm.DataManager("%s/labReposInfo.json" % ghDataDir, True) +inputLists = qm.DataManager("%s/intReposInfo.json" % ghDataDir, True) # Populate repo list repolist = [] print("Getting internal repos ...") diff --git a/_explore/scripts/get_repos_activitylines.py b/_explore/scripts/get_repos_activitylines.py index 5df90d76b..07cf3c2ab 100644 --- a/_explore/scripts/get_repos_activitylines.py +++ b/_explore/scripts/get_repos_activitylines.py @@ -5,11 +5,11 @@ from dateutil.relativedelta import relativedelta ghDataDir = env.get("GITHUB_DATA", "../github-data") -datfilepath = "%s/labRepos_ActivityLines.json" % ghDataDir +datfilepath = "%s/intRepos_ActivityLines.json" % ghDataDir query_in = "/repos/OWNNAME/REPONAME/stats/code_frequency" # Read repo info data file (to use as repo list) -inputLists = qm.DataManager("%s/labReposInfo.json" % ghDataDir, True) +inputLists = qm.DataManager("%s/intReposInfo.json" % ghDataDir, True) # Populate repo list repolist = [] print("Getting internal repos ...") diff --git a/_explore/scripts/get_repos_creationhistory.py b/_explore/scripts/get_repos_creationhistory.py index ce6223d01..ac5ab2dd7 100644 --- a/_explore/scripts/get_repos_creationhistory.py +++ b/_explore/scripts/get_repos_creationhistory.py @@ -3,12 +3,12 @@ import re ghDataDir = env.get("GITHUB_DATA", "../github-data") -datfilepath = "%s/labRepos_CreationHistory.json" % ghDataDir +datfilepath = "%s/intRepos_CreationHistory.json" % ghDataDir query_commits_in = "/repos/OWNNAME/REPONAME/commits?until=CREATETIME&per_page=100" query_commits_in2 = "/repos/OWNNAME/REPONAME/commits?per_page=100" # Read repo info data file (to use as repo list) -inputLists = qm.DataManager("%s/labReposInfo.json" % ghDataDir, True) +inputLists = qm.DataManager("%s/intReposInfo.json" % ghDataDir, True) # Populate repo list repolist = [] print("Getting internal repos ...") diff --git a/_explore/scripts/get_repos_dependencies.py b/_explore/scripts/get_repos_dependencies.py index 744628209..2822c3e06 100644 --- a/_explore/scripts/get_repos_dependencies.py +++ b/_explore/scripts/get_repos_dependencies.py @@ -2,11 +2,11 @@ from os import environ as env ghDataDir = env.get("GITHUB_DATA", "../github-data") -datfilepath = "%s/labRepos_Dependencies.json" % ghDataDir +datfilepath = "%s/intRepos_Dependencies.json" % ghDataDir queryPath = "../queries/repo-Dependencies.gql" # Read repo info data file (to use as repo list) -inputLists = qm.DataManager("%s/labReposInfo.json" % ghDataDir, True) +inputLists = qm.DataManager("%s/intReposInfo.json" % ghDataDir, True) # Populate repo list repolist = [] print("Getting internal repos ...") diff --git a/_explore/scripts/get_repos_info.py b/_explore/scripts/get_repos_info.py index d47c47f60..78a455c38 100644 --- a/_explore/scripts/get_repos_info.py +++ b/_explore/scripts/get_repos_info.py @@ -2,7 +2,7 @@ from os import environ as env ghDataDir = env.get("GITHUB_DATA", "../github-data") -datfilepath = "%s/labReposInfo.json" % ghDataDir +datfilepath = "%s/intReposInfo.json" % ghDataDir queryPath = "../queries/org-Repos-Info.gql" queryPathInd = "../queries/repo-Info.gql" diff --git a/_explore/scripts/get_repos_languages.py b/_explore/scripts/get_repos_languages.py index f7a752e44..ca0547a4c 100644 --- a/_explore/scripts/get_repos_languages.py +++ b/_explore/scripts/get_repos_languages.py @@ -2,11 +2,11 @@ from os import environ as env ghDataDir = env.get("GITHUB_DATA", "../github-data") -datfilepath = "%s/labRepos_Languages.json" % ghDataDir +datfilepath = "%s/intRepos_Languages.json" % ghDataDir queryPath = "../queries/repo-Languages.gql" # Read repo info data file (to use as repo list) -inputLists = qm.DataManager("%s/labReposInfo.json" % ghDataDir, True) +inputLists = qm.DataManager("%s/intReposInfo.json" % ghDataDir, True) # Populate repo list repolist = [] print("Getting internal repos ...") diff --git a/_explore/scripts/get_repos_releases.py b/_explore/scripts/get_repos_releases.py index b1f15e56c..07ce592d7 100644 --- a/_explore/scripts/get_repos_releases.py +++ b/_explore/scripts/get_repos_releases.py @@ -2,11 +2,11 @@ from os import environ as env ghDataDir = env.get("GITHUB_DATA", "../github-data") -datfilepath = "%s/labRepos_ReleaseHistory.json" % ghDataDir +datfilepath = "%s/intRepos_ReleaseHistory.json" % ghDataDir queryPath = "../queries/repo-Releases.gql" # Read repo info data file (to use as repo list) -inputLists = qm.DataManager("%s/labReposInfo.json" % ghDataDir, True) +inputLists = qm.DataManager("%s/intReposInfo.json" % ghDataDir, True) # Populate repo list repolist = [] print("Getting internal repos ...") diff --git a/_explore/scripts/get_repos_starhistory.py b/_explore/scripts/get_repos_starhistory.py index cb4029127..8e631e656 100644 --- a/_explore/scripts/get_repos_starhistory.py +++ b/_explore/scripts/get_repos_starhistory.py @@ -3,11 +3,11 @@ from datetime import date, timedelta ghDataDir = env.get("GITHUB_DATA", "../github-data") -datfilepath = "%s/labRepos_StarHistory.json" % ghDataDir +datfilepath = "%s/intRepos_StarHistory.json" % ghDataDir queryPath = "../queries/repo-Stargazers.gql" # Read repo info data file (to use as repo list) -inputLists = qm.DataManager("%s/labReposInfo.json" % ghDataDir, True) +inputLists = qm.DataManager("%s/intReposInfo.json" % ghDataDir, True) # Populate repo list repolist = [] print("Getting internal repos ...") diff --git a/_explore/scripts/get_repos_topics.py b/_explore/scripts/get_repos_topics.py index 35108598f..2f9136ee2 100644 --- a/_explore/scripts/get_repos_topics.py +++ b/_explore/scripts/get_repos_topics.py @@ -2,11 +2,11 @@ from os import environ as env ghDataDir = env.get("GITHUB_DATA", "../github-data") -datfilepath = "%s/labRepos_Topics.json" % ghDataDir +datfilepath = "%s/intRepos_Topics.json" % ghDataDir queryPath = "../queries/repo-Topics.gql" # Read repo info data file (to use as repo list) -inputLists = qm.DataManager("%s/labReposInfo.json" % ghDataDir, True) +inputLists = qm.DataManager("%s/intReposInfo.json" % ghDataDir, True) # Populate repo list repolist = [] print("Getting internal repos ...") diff --git a/_explore/scripts/get_repos_users.py b/_explore/scripts/get_repos_users.py index 4695aa128..2a3b75a33 100644 --- a/_explore/scripts/get_repos_users.py +++ b/_explore/scripts/get_repos_users.py @@ -3,11 +3,11 @@ ghDataDir = env.get("GITHUB_DATA", "../github-data") datfilepathExt = "%s/extUsers.json" % ghDataDir -datfilepathInt = "%s/labUsers.json" % ghDataDir +datfilepathInt = "%s/intUsers.json" % ghDataDir queryPath = "../queries/repo-Users.gql" # Read repo info data file (to use as repo list) -inputLists = qm.DataManager("%s/labReposInfo.json" % ghDataDir, True) +inputLists = qm.DataManager("%s/intReposInfo.json" % ghDataDir, True) # Populate repo list repolist = [] print("Getting internal repos ...") diff --git a/explore/github-data/labRepo_Metadata.json b/explore/github-data/intRepo_Metadata.json similarity index 100% rename from explore/github-data/labRepo_Metadata.json rename to explore/github-data/intRepo_Metadata.json diff --git a/explore/github-data/labReposInfo.json b/explore/github-data/intReposInfo.json similarity index 100% rename from explore/github-data/labReposInfo.json rename to explore/github-data/intReposInfo.json diff --git a/explore/github-data/labRepos_ActivityCommits.json b/explore/github-data/intRepos_ActivityCommits.json similarity index 100% rename from explore/github-data/labRepos_ActivityCommits.json rename to explore/github-data/intRepos_ActivityCommits.json diff --git a/explore/github-data/labRepos_ActivityLines.json b/explore/github-data/intRepos_ActivityLines.json similarity index 100% rename from explore/github-data/labRepos_ActivityLines.json rename to explore/github-data/intRepos_ActivityLines.json diff --git a/explore/github-data/labRepos_CreationHistory.json b/explore/github-data/intRepos_CreationHistory.json similarity index 100% rename from explore/github-data/labRepos_CreationHistory.json rename to explore/github-data/intRepos_CreationHistory.json diff --git a/explore/github-data/labRepos_Dependencies.json b/explore/github-data/intRepos_Dependencies.json similarity index 100% rename from explore/github-data/labRepos_Dependencies.json rename to explore/github-data/intRepos_Dependencies.json diff --git a/explore/github-data/labRepos_Languages.json b/explore/github-data/intRepos_Languages.json similarity index 100% rename from explore/github-data/labRepos_Languages.json rename to explore/github-data/intRepos_Languages.json diff --git a/explore/github-data/labRepos_ReleaseHistory.json b/explore/github-data/intRepos_ReleaseHistory.json similarity index 100% rename from explore/github-data/labRepos_ReleaseHistory.json rename to explore/github-data/intRepos_ReleaseHistory.json diff --git a/explore/github-data/labRepos_StarHistory.json b/explore/github-data/intRepos_StarHistory.json similarity index 100% rename from explore/github-data/labRepos_StarHistory.json rename to explore/github-data/intRepos_StarHistory.json diff --git a/explore/github-data/labRepos_Topics.json b/explore/github-data/intRepos_Topics.json similarity index 100% rename from explore/github-data/labRepos_Topics.json rename to explore/github-data/intRepos_Topics.json diff --git a/explore/github-data/labUsers.json b/explore/github-data/intUsers.json similarity index 100% rename from explore/github-data/labUsers.json rename to explore/github-data/intUsers.json diff --git a/explore/popular-repos/index.html b/explore/popular-repos/index.html index 025c3fd22..df6378de9 100644 --- a/explore/popular-repos/index.html +++ b/explore/popular-repos/index.html @@ -54,7 +54,7 @@

stdLgndDotRadius = 5, stdLgndSpacing = 20; // Call draw functions - var popularityURL = ghDataDir + '/labReposInfo.json'; + var popularityURL = ghDataDir + '/intReposInfo.json'; var popularityFiles = [popularityURL]; var mostPopularRepositories = []; var cutOffSize = 10; diff --git a/js/category-info.js b/js/category-info.js index 31de917dd..a347eba6d 100644 --- a/js/category-info.js +++ b/js/category-info.js @@ -3,11 +3,11 @@ app.controller('gitHubDataController', function($scope, $http, $window, Category cache: true }); - var getReposTopics = $http.get('./explore/github-data/labRepos_Topics.json', { + var getReposTopics = $http.get('./explore/github-data/intRepos_Topics.json', { cache: true }); - var getReposInfo = $http.get('./explore/github-data/labReposInfo.json', { + var getReposInfo = $http.get('./explore/github-data/intReposInfo.json', { cache: true }); diff --git a/js/explore/cloud_languages.js b/js/explore/cloud_languages.js index cb6470332..b02708446 100644 --- a/js/explore/cloud_languages.js +++ b/js/explore/cloud_languages.js @@ -1,7 +1,7 @@ /* Creates word cloud visualization for webpage */ function draw_cloud_languages(areaID, repoNameWOwner) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labRepos_Languages.json'; + var url = ghDataDir + '/intRepos_Languages.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0]); diff --git a/js/explore/cloud_licenses.js b/js/explore/cloud_licenses.js index db321e7ff..cee80ca39 100644 --- a/js/explore/cloud_licenses.js +++ b/js/explore/cloud_licenses.js @@ -1,7 +1,7 @@ /* Creates word cloud visualization for webpage */ function draw_cloud_licenses(areaID) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labReposInfo.json'; + var url = ghDataDir + '/intReposInfo.json'; d3.json(url, function(obj) { var fullnameDict = {}; var data = reformatData(obj, fullnameDict); diff --git a/js/explore/cloud_topics.js b/js/explore/cloud_topics.js index 02c66af76..5fee5f6cc 100644 --- a/js/explore/cloud_topics.js +++ b/js/explore/cloud_topics.js @@ -1,7 +1,7 @@ /* Creates word cloud visualization for webpage */ function draw_cloud_topics(areaID, repoNameWOwner) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labRepos_Topics.json'; + var url = ghDataDir + '/intRepos_Topics.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0]); diff --git a/js/explore/dependencies/force_dependencyGraph.js b/js/explore/dependencies/force_dependencyGraph.js index ae820b311..689e6ff9e 100644 --- a/js/explore/dependencies/force_dependencyGraph.js +++ b/js/explore/dependencies/force_dependencyGraph.js @@ -1,6 +1,6 @@ function draw_force_graph(areaID, adjacentAreaID) { // URL for data - var url1 = ghDataDir + '/labRepos_Dependencies.json'; + var url1 = ghDataDir + '/intRepos_Dependencies.json'; var url2 = ghDataDir + '/dependencyInfo.json'; var files = [url1, url2]; // Converts json file into object, reformats data, and then draws graph. diff --git a/js/explore/largeRepos/cluster_repoSize.js b/js/explore/largeRepos/cluster_repoSize.js index 2ec19c1f6..218351afe 100644 --- a/js/explore/largeRepos/cluster_repoSize.js +++ b/js/explore/largeRepos/cluster_repoSize.js @@ -1,7 +1,7 @@ /* Creates cluster graph visualization for webpage */ function draw_cluster(areaID) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labReposInfo.json'; + var url = ghDataDir + '/intReposInfo.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0]); diff --git a/js/explore/largeRepos/line_repoActivity.js b/js/explore/largeRepos/line_repoActivity.js index 5f6e5b924..9e14c9245 100644 --- a/js/explore/largeRepos/line_repoActivity.js +++ b/js/explore/largeRepos/line_repoActivity.js @@ -1,8 +1,8 @@ /* Creates line graph visualization for webpage */ function draw_line_repoActivity(areaID, byCommits=true, repoNameWOwner) { // load data file, process data, and draw visualization - var url0 = ghDataDir + '/labRepos_ActivityCommits.json'; - var url1 = ghDataDir + '/labRepos_ActivityLines.json'; + var url0 = ghDataDir + '/intRepos_ActivityCommits.json'; + var url1 = ghDataDir + '/intRepos_ActivityLines.json'; var files = [url0, url1]; Promise.all(files.map(url => d3.json(url))).then(values => { let options = ['Show Activity by Commits', 'Show Activity by Line Additions']; diff --git a/js/explore/largeRepos/line_repoCreationHistory.js b/js/explore/largeRepos/line_repoCreationHistory.js index faf70e6e6..39fd003c3 100644 --- a/js/explore/largeRepos/line_repoCreationHistory.js +++ b/js/explore/largeRepos/line_repoCreationHistory.js @@ -1,7 +1,7 @@ /* Creates line graph visualization for webpage */ function draw_line_repoCreationHistory(areaID, repoNamesWOwner) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labRepos_CreationHistory.json'; + var url = ghDataDir + '/intRepos_CreationHistory.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0]); diff --git a/js/explore/largeRepos/line_repoStarHistory.js b/js/explore/largeRepos/line_repoStarHistory.js index 03346f202..42e1adf33 100644 --- a/js/explore/largeRepos/line_repoStarHistory.js +++ b/js/explore/largeRepos/line_repoStarHistory.js @@ -1,7 +1,7 @@ /* Creates line graph visualization for webpage */ function draw_line_repoStarHistory(areaID) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labRepos_StarHistory.json'; + var url = ghDataDir + '/intRepos_StarHistory.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0]); diff --git a/js/explore/largeRepos/pie_activityCommits.js b/js/explore/largeRepos/pie_activityCommits.js index 24009591e..f618225f9 100644 --- a/js/explore/largeRepos/pie_activityCommits.js +++ b/js/explore/largeRepos/pie_activityCommits.js @@ -1,7 +1,7 @@ /* Creates pie chart visualization for webpage */ function draw_pie_commits(areaID) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labRepos_ActivityCommits.json'; + var url = ghDataDir + '/intRepos_ActivityCommits.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(response => { var data = reformatData(response[0]); diff --git a/js/explore/largeRepos/pie_activityLines.js b/js/explore/largeRepos/pie_activityLines.js index 533294b38..85280ef69 100644 --- a/js/explore/largeRepos/pie_activityLines.js +++ b/js/explore/largeRepos/pie_activityLines.js @@ -1,7 +1,7 @@ /* Creates pie chart visualization for webpage */ function draw_pie_lines(areaID) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labRepos_ActivityLines.json'; + var url = ghDataDir + '/intRepos_ActivityLines.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(response => { var data = reformatData(response[0]); diff --git a/js/explore/largeRepos/sunburst_licenses.js b/js/explore/largeRepos/sunburst_licenses.js index a9ce67c6d..c1bde51b9 100644 --- a/js/explore/largeRepos/sunburst_licenses.js +++ b/js/explore/largeRepos/sunburst_licenses.js @@ -1,7 +1,7 @@ /* Creates a zoomable sunburst visualization for webpage */ function draw_sunburst_licenses(areaID) { // Load data file, process data, and draw visualization - var url = ghDataDir + '/labReposInfo.json'; + var url = ghDataDir + '/intReposInfo.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => drawSunburst(values[0], areaID)); diff --git a/js/explore/line_repoActivity.js b/js/explore/line_repoActivity.js index bb93ab1ca..668333254 100644 --- a/js/explore/line_repoActivity.js +++ b/js/explore/line_repoActivity.js @@ -1,7 +1,7 @@ /* Creates line graph visualization for webpage */ function draw_line_repoActivity(areaID, repoNameWOwner) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labRepos_ActivityCommits.json'; + var url = ghDataDir + '/intRepos_ActivityCommits.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0]); diff --git a/js/explore/line_repoActivityExplore.js b/js/explore/line_repoActivityExplore.js index bc6c93e04..7e73ddd0d 100644 --- a/js/explore/line_repoActivityExplore.js +++ b/js/explore/line_repoActivityExplore.js @@ -1,8 +1,8 @@ /* Creates line graph visualization for webpage */ function draw_line_repoActivity(areaID, repoNameWOwner) { // load data file, process data, and draw visualization - var url0 = ghDataDir + '/labRepos_ActivityCommits.json'; - var url1 = ghDataDir + '/labReposInfo.json'; + var url0 = ghDataDir + '/intRepos_ActivityCommits.json'; + var url1 = ghDataDir + '/intReposInfo.json'; var files = [url0, url1]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0], values[1]); diff --git a/js/explore/line_repoCreationHistory.js b/js/explore/line_repoCreationHistory.js index 62b04662e..c1897f24d 100644 --- a/js/explore/line_repoCreationHistory.js +++ b/js/explore/line_repoCreationHistory.js @@ -1,7 +1,7 @@ /* Creates line graph visualization for webpage */ function draw_line_repoCreationHistory(areaID, repoNameWOwner) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labRepos_CreationHistory.json'; + var url = ghDataDir + '/intRepos_CreationHistory.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0]); diff --git a/js/explore/line_repoStarHistory.js b/js/explore/line_repoStarHistory.js index 274cb67ba..9ecfaa612 100644 --- a/js/explore/line_repoStarHistory.js +++ b/js/explore/line_repoStarHistory.js @@ -1,8 +1,8 @@ /* Creates line graph visualization for webpage */ function draw_line_repoStarHistory(areaID, repoNameWOwner) { // load data file, process data, and draw visualization - var url0 = ghDataDir + '/labRepos_StarHistory.json'; - var url1 = ghDataDir + '/labRepos_ReleaseHistory.json'; + var url0 = ghDataDir + '/intRepos_StarHistory.json'; + var url1 = ghDataDir + '/intRepos_ReleaseHistory.json'; var files = [url0, url1]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0], values[1]); diff --git a/js/explore/line_repoStarHistoryExplore.js b/js/explore/line_repoStarHistoryExplore.js index 0eaa361a1..e45e153ac 100644 --- a/js/explore/line_repoStarHistoryExplore.js +++ b/js/explore/line_repoStarHistoryExplore.js @@ -1,7 +1,7 @@ /* Creates line graph visualization for webpage */ function draw_line_repoStarHistory(areaID) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labRepos_StarHistory.json'; + var url = ghDataDir + '/intRepos_StarHistory.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0]); diff --git a/js/explore/pack_hierarchy.js b/js/explore/pack_hierarchy.js index bb40de1dc..6a1998569 100644 --- a/js/explore/pack_hierarchy.js +++ b/js/explore/pack_hierarchy.js @@ -1,7 +1,7 @@ /* Creates line graph visualization for webpage */ function draw_pack_hierarchy(areaID) { // load data file, process data, and draw visualization - var url1 = ghDataDir + '/labUsers.json'; + var url1 = ghDataDir + '/intUsers.json'; var url2 = ghDataDir + '/extUsers.json'; var files = [url1, url2]; Promise.all(files.map(url => d3.json(url))).then(values => { diff --git a/js/explore/pie_language.js b/js/explore/pie_language.js index 4859b8c10..a06c9143b 100644 --- a/js/explore/pie_language.js +++ b/js/explore/pie_language.js @@ -1,7 +1,7 @@ /* Creates pie chart visualization for webpage */ function draw_pie_languages(areaID, repoNameWOwner) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labRepos_Languages.json'; + var url = ghDataDir + '/intRepos_Languages.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(response => { var data = reformatData(response[0]); diff --git a/js/explore/pie_languageExplore.js b/js/explore/pie_languageExplore.js index 45455f6a5..32881ee6e 100644 --- a/js/explore/pie_languageExplore.js +++ b/js/explore/pie_languageExplore.js @@ -1,7 +1,7 @@ /* Creates pie chart visualization for webpage */ function draw_pie_language(areaID) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labRepos_Languages.json'; + var url = ghDataDir + '/intRepos_Languages.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(response => { var data = reformatData(response[0]); diff --git a/js/explore/pie_members.js b/js/explore/pie_members.js index b1f5daba6..d3cb6a7f3 100644 --- a/js/explore/pie_members.js +++ b/js/explore/pie_members.js @@ -1,7 +1,7 @@ /* Creates pie chart visualization for webpage */ function draw_pie_members(areaID) { // load data file, process data, and draw visualization - var url0 = ghDataDir + '/labUsers.json'; + var url0 = ghDataDir + '/intUsers.json'; var url1 = ghDataDir + '/extRepos.json'; var files = [url0,url1]; var promises = []; diff --git a/js/explore/pie_repoIssues.js b/js/explore/pie_repoIssues.js index 366d27eb7..e16576602 100644 --- a/js/explore/pie_repoIssues.js +++ b/js/explore/pie_repoIssues.js @@ -1,7 +1,7 @@ /* Creates pie chart visualization for webpage */ function draw_pie_repoIssues(areaID, repoNameWOwner) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labReposInfo.json'; + var url = ghDataDir + '/intReposInfo.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0]); diff --git a/js/explore/pie_repoPulls.js b/js/explore/pie_repoPulls.js index 86ed13324..f77d12b45 100644 --- a/js/explore/pie_repoPulls.js +++ b/js/explore/pie_repoPulls.js @@ -1,7 +1,7 @@ /* Creates pie chart visualization for webpage */ function draw_pie_repoPulls(areaID, repoNameWOwner) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labReposInfo.json'; + var url = ghDataDir + '/intReposInfo.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0]); diff --git a/js/explore/pie_repoUsers.js b/js/explore/pie_repoUsers.js index 7f8e46f7d..aa9c03603 100644 --- a/js/explore/pie_repoUsers.js +++ b/js/explore/pie_repoUsers.js @@ -1,7 +1,7 @@ /* Creates pie chart visualization for webpage */ function draw_pie_repoUsers(areaID, repoNameWOwner) { // load data file, process data, and draw visualization - var url0 = ghDataDir + '/labUsers.json'; + var url0 = ghDataDir + '/intUsers.json'; var url1 = ghDataDir + '/extUsers.json'; var files = [url0,url1]; var promises = []; diff --git a/js/explore/pie_repos.js b/js/explore/pie_repos.js index 78e9f4fac..42e044893 100644 --- a/js/explore/pie_repos.js +++ b/js/explore/pie_repos.js @@ -1,7 +1,7 @@ /* Creates pie chart visualization for webpage */ function draw_pie_repos(areaID) { // load data file, process data, and draw visualization - var url0 = ghDataDir + '/labReposInfo.json'; + var url0 = ghDataDir + '/intReposInfo.json'; var url1 = ghDataDir + '/extUsers.json'; var files = [url0,url1]; var promises = []; diff --git a/js/explore/scatter_repoIssues.js b/js/explore/scatter_repoIssues.js index 79ef75ee1..356e675ac 100644 --- a/js/explore/scatter_repoIssues.js +++ b/js/explore/scatter_repoIssues.js @@ -1,7 +1,7 @@ /* Creates scatter plot graph visualization for webpage */ function draw_scatter_repoIssues(areaID) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labReposInfo.json'; + var url = ghDataDir + '/intReposInfo.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0]); diff --git a/js/explore/scatter_repoPulls.js b/js/explore/scatter_repoPulls.js index 484852b16..5be63e3a0 100644 --- a/js/explore/scatter_repoPulls.js +++ b/js/explore/scatter_repoPulls.js @@ -1,7 +1,7 @@ /* Creates scatter plot graph visualization for webpage */ function draw_scatter_repoPulls(areaID) { // load data file, process data, and draw visualization - var url = ghDataDir + '/labReposInfo.json'; + var url = ghDataDir + '/intReposInfo.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => { var data = reformatData(values[0]); diff --git a/js/explore/sunburst_licenses.js b/js/explore/sunburst_licenses.js index 5b29d3205..c8263641e 100644 --- a/js/explore/sunburst_licenses.js +++ b/js/explore/sunburst_licenses.js @@ -1,7 +1,7 @@ /* Creates a zoomable sunburst visualization for webpage */ function draw_sunburst_licenses(areaID) { // Load data file, process data, and draw visualization - var url = ghDataDir + '/labReposInfo.json'; + var url = ghDataDir + '/intReposInfo.json'; var files = [url]; Promise.all(files.map(url => d3.json(url))).then(values => drawSunburst(values[0], areaID)); diff --git a/js/focused-category-info.js b/js/focused-category-info.js index 1e94495eb..1c42d16d1 100644 --- a/js/focused-category-info.js +++ b/js/focused-category-info.js @@ -8,11 +8,11 @@ angular.module('app', []).controller('gitHubDataController', [ cache: true }); - var getReposTopics = $http.get('/explore/github-data/labRepos_Topics.json', { + var getReposTopics = $http.get('/explore/github-data/intRepos_Topics.json', { cache: true }); - var getReposInfo = $http.get('/explore/github-data/labReposInfo.json', { + var getReposInfo = $http.get('/explore/github-data/intReposInfo.json', { cache: true }); diff --git a/js/radiuss/category-info-radiuss.js b/js/radiuss/category-info-radiuss.js index a3cde35cd..7c1748de7 100644 --- a/js/radiuss/category-info-radiuss.js +++ b/js/radiuss/category-info-radiuss.js @@ -3,11 +3,11 @@ app.controller('gitHubDataController', function($scope, $http, $window, Category cache: true }); - var getReposTopics = $http.get('../explore/github-data/labRepos_Topics.json', { + var getReposTopics = $http.get('../explore/github-data/intRepos_Topics.json', { cache: true }); - var getReposInfo = $http.get('../explore/github-data/labReposInfo.json', { + var getReposInfo = $http.get('../explore/github-data/intReposInfo.json', { cache: true }); diff --git a/js/repo/repo-dynamic.js b/js/repo/repo-dynamic.js index 4d67749c2..ca4c5bf03 100644 --- a/js/repo/repo-dynamic.js +++ b/js/repo/repo-dynamic.js @@ -5,7 +5,7 @@ angular.module('app', []).controller('repoDataController', [ function($scope, $http, $location) { var hash = $location.url().substring(1); - var promiseRepoInfo = $http.get('../explore/github-data/labReposInfo.json', { + var promiseRepoInfo = $http.get('../explore/github-data/intReposInfo.json', { cache: true });