We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a39b3b commit 08913b6Copy full SHA for 08913b6
crawler.py
@@ -46,7 +46,7 @@
46
repo_set.add(repo.repository.full_name)
47
print("{0}".format(repo.repository))
48
49
- innersource_repo = repo.as_dict()
+ innersource_repo: dict = repo.as_dict()
50
innersource_repo["_InnerSourceMetadata"] = {}
51
52
# fetch innersource.json
@@ -79,6 +79,9 @@
79
# fetch repository topics
80
repo_topics = repo.repository.topics()
81
innersource_repo["_InnerSourceMetadata"]["topics"] = repo_topics.names
82
+
83
+ # set description = '' if no exist
84
+ innersource_repo.set_default('description', '')
85
86
# calculate score
87
innersource_repo["score"] = repo_activity.score.calculate(
0 commit comments