File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,10 @@ RELEASE: while ( my $release = $scroll->next ) {
147
147
closedPullRequests: pullRequests(states: [CLOSED, MERGED]) {
148
148
totalCount
149
149
}
150
+ watchers: watchers {
151
+ totalCount
152
+ }
153
+ stargazerCount: stargazerCount
150
154
}
151
155
}
152
156
END_QUERY
@@ -157,6 +161,7 @@ END_QUERY
157
161
= " [$release ->{distribution}] $error ->{message}" ;
158
162
if ( $error -> {type } eq ' NOT_FOUND' ) {
159
163
delete $dist_summary -> {' bugs' }{' github' };
164
+ delete $dist_summary -> {' repo' }{' github' };
160
165
log_info {$log_message };
161
166
}
162
167
else {
@@ -183,6 +188,10 @@ END_QUERY
183
188
source => $source ,
184
189
};
185
190
191
+ $dist_summary -> {' repo' }{' github' } = {
192
+ stars => $repo_data -> {stargazerCount },
193
+ watchers => $repo_data -> {watchers }{totalCount },
194
+ };
186
195
}
187
196
188
197
log_info {" writing github data" };
You can’t perform that action at this time.
0 commit comments