Skip to content

Commit 6f0b281

Browse files
committed
12_repos.ipynb: Don't rescan android-base repository
There is a problem with large repositories in which running git commands might time out, like for example the 'android-base' repository. The results of cloning the repositories, then extracting the commit graph structure were added to the repository in the datasets/ directory as *-commit_graph.adjlist.txt files. Avoid re-creating those files. This should fic the problem where number of nodes in 'android-base' is computed to be 0, which results in division by zero when calculating relative density of edges (number of edges to number of nodes).
1 parent bc53e9f commit 6f0b281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

12_repos.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1818,7 +1818,7 @@
18181818
],
18191819
"source": [
18201820
"%%time\n",
1821-
"android_graph = commit_graph('https://android.googlesource.com/platform/frameworks/base/', 'android-base', rescan=True)"
1821+
"android_graph = commit_graph('https://android.googlesource.com/platform/frameworks/base/', 'android-base')"
18221822
]
18231823
},
18241824
{

0 commit comments

Comments
 (0)