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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
task_categories:
|
4 |
+
- text-classification
|
5 |
+
- zero-shot-classification
|
6 |
+
- summarization
|
7 |
+
- text2text-generation
|
8 |
+
- sentence-similarity
|
9 |
+
tags:
|
10 |
+
- chemistry
|
11 |
+
- biology
|
12 |
+
- finance
|
13 |
+
- legal
|
14 |
+
- music
|
15 |
+
- art
|
16 |
+
- code
|
17 |
+
- climate
|
18 |
+
- medical
|
19 |
+
pretty_name: One million commits
|
20 |
+
size_categories:
|
21 |
+
- 1M<n<10M
|
22 |
---
|
23 |
+
|
24 |
+
# One million commits
|
25 |
+
|
26 |
+
A large variety of git commits pulled from across GitHub.
|
27 |
+
|
28 |
+
Created by **William Entriken**, released **2023-09-26**, version **1**.
|
29 |
+
|
30 |
+
This composition is licensed under the **MIT license**.
|
31 |
+
|
32 |
+
## Intended use
|
33 |
+
|
34 |
+
This dataset could be used to train a model concerned with programming tasks:
|
35 |
+
|
36 |
+
1. Summarize some programming work
|
37 |
+
1. Perform work given a description of the work to do
|
38 |
+
1. Learn-by-example the syntax for all active programming languages and structured data formats
|
39 |
+
|
40 |
+
This dataset could be used to train a model concerned with scoring and trend analysis:
|
41 |
+
|
42 |
+
1. Identify trends in programming across years
|
43 |
+
1. Compare popularity and impact of programming topics/languages (using stars, quality as a signal)
|
44 |
+
1. Score programming work as good or bad (using authors' ratings as a signal)
|
45 |
+
1. Identify popular project file layouts for each programming language
|
46 |
+
|
47 |
+
Because this dataset comprises about a half terabyte of text, it may be useful for a training a general text processing model. Or at least a niche of such a model.
|
48 |
+
|
49 |
+
## Factors
|
50 |
+
|
51 |
+
An attempt was made at providing a large variety of repositories. To example the potential biases, here is a comparison of our dataset to sampling at random from the list of all commits across GitHub.
|
52 |
+
|
53 |
+
1. This dataset should overrepresent repositories with 7+ character words.
|
54 |
+
1. This dataset should overrepresent repositories with few commits (because only one commit is included per repository).
|
55 |
+
1. This dataset should overrepresent repositories from authors with many repositories.
|
56 |
+
|
57 |
+
## Metrics
|
58 |
+
|
59 |
+
* Commits: 1,000,000
|
60 |
+
* Distinct repositories: 1,000,000
|
61 |
+
* Distinct authors: xxx
|
62 |
+
* Bytes:
|
63 |
+
|
64 |
+
## Data format
|
65 |
+
|
66 |
+
The files are distributed as SQLite databases with the schema:
|
67 |
+
|
68 |
+
```sql
|
69 |
+
CREATE TABLE commits (repo_full_name TEXT UNIQUE, repo JSON, `commit` JSON, commit_patch TEXT, author JSON);
|
70 |
+
```
|
71 |
+
|
72 |
+
Each repository is included at most once, which is why `repo_full_name` is a unique key. The `commit_patch` is the full `.patch` file for the commit. Other columns `repo`, `commit` and `author` are JSON blobs following the GitHub API schema:
|
73 |
+
|
74 |
+
<details>
|
75 |
+
|
76 |
+
<summary>repository</summary>
|
77 |
+
|
78 |
+
```json
|
79 |
+
{
|
80 |
+
"title": "Repo Search Result Item",
|
81 |
+
"description": "Repo Search Result Item",
|
82 |
+
"type": "object",
|
83 |
+
"properties": {
|
84 |
+
"id": {
|
85 |
+
"type": "integer"
|
86 |
+
},
|
87 |
+
"node_id": {
|
88 |
+
"type": "string"
|
89 |
+
},
|
90 |
+
"name": {
|
91 |
+
"type": "string"
|
92 |
+
},
|
93 |
+
"full_name": {
|
94 |
+
"type": "string"
|
95 |
+
},
|
96 |
+
"owner": {
|
97 |
+
"anyOf": [
|
98 |
+
{
|
99 |
+
"type": "null"
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"title": "Simple User",
|
103 |
+
"description": "A GitHub user.",
|
104 |
+
"type": "object",
|
105 |
+
"properties": {
|
106 |
+
"name": {
|
107 |
+
"type": [
|
108 |
+
"string",
|
109 |
+
"null"
|
110 |
+
]
|
111 |
+
},
|
112 |
+
"email": {
|
113 |
+
"type": [
|
114 |
+
"string",
|
115 |
+
"null"
|
116 |
+
]
|
117 |
+
},
|
118 |
+
"login": {
|
119 |
+
"type": "string",
|
120 |
+
"examples": [
|
121 |
+
"octocat"
|
122 |
+
]
|
123 |
+
},
|
124 |
+
"id": {
|
125 |
+
"type": "integer",
|
126 |
+
"examples": [
|
127 |
+
1
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"node_id": {
|
131 |
+
"type": "string",
|
132 |
+
"examples": [
|
133 |
+
"MDQ6VXNlcjE="
|
134 |
+
]
|
135 |
+
},
|
136 |
+
"avatar_url": {
|
137 |
+
"type": "string",
|
138 |
+
"format": "uri",
|
139 |
+
"examples": [
|
140 |
+
"https://github.com/images/error/octocat_happy.gif"
|
141 |
+
]
|
142 |
+
},
|
143 |
+
"gravatar_id": {
|
144 |
+
"type": [
|
145 |
+
"string",
|
146 |
+
"null"
|
147 |
+
],
|
148 |
+
"examples": [
|
149 |
+
"41d064eb2195891e12d0413f63227ea7"
|
150 |
+
]
|
151 |
+
},
|
152 |
+
"url": {
|
153 |
+
"type": "string",
|
154 |
+
"format": "uri",
|
155 |
+
"examples": [
|
156 |
+
"https://api.github.com/users/octocat"
|
157 |
+
]
|
158 |
+
},
|
159 |
+
"html_url": {
|
160 |
+
"type": "string",
|
161 |
+
"format": "uri",
|
162 |
+
"examples": [
|
163 |
+
"https://github.com/octocat"
|
164 |
+
]
|
165 |
+
},
|
166 |
+
"followers_url": {
|
167 |
+
"type": "string",
|
168 |
+
"format": "uri",
|
169 |
+
"examples": [
|
170 |
+
"https://api.github.com/users/octocat/followers"
|
171 |
+
]
|
172 |
+
},
|
173 |
+
"following_url": {
|
174 |
+
"type": "string",
|
175 |
+
"examples": [
|
176 |
+
"https://api.github.com/users/octocat/following{/other_user}"
|
177 |
+
]
|
178 |
+
},
|
179 |
+
"gists_url": {
|
180 |
+
"type": "string",
|
181 |
+
"examples": [
|
182 |
+
"https://api.github.com/users/octocat/gists{/gist_id}"
|
183 |
+
]
|
184 |
+
},
|
185 |
+
"starred_url": {
|
186 |
+
"type": "string",
|
187 |
+
"examples": [
|
188 |
+
"https://api.github.com/users/octocat/starred{/owner}{/repo}"
|
189 |
+
]
|
190 |
+
},
|
191 |
+
"subscriptions_url": {
|
192 |
+
"type": "string",
|
193 |
+
"format": "uri",
|
194 |
+
"examples": [
|
195 |
+
"https://api.github.com/users/octocat/subscriptions"
|
196 |
+
]
|
197 |
+
},
|
198 |
+
"organizations_url": {
|
199 |
+
"type": "string",
|
200 |
+
"format": "uri",
|
201 |
+
"examples": [
|
202 |
+
"https://api.github.com/users/octocat/orgs"
|
203 |
+
]
|
204 |
+
},
|
205 |
+
"repos_url": {
|
206 |
+
"type": "string",
|
207 |
+
"format": "uri",
|
208 |
+
"examples": [
|
209 |
+
"https://api.github.com/users/octocat/repos"
|
210 |
+
]
|
211 |
+
},
|
212 |
+
"events_url": {
|
213 |
+
"type": "string",
|
214 |
+
"examples": [
|
215 |
+
"https://api.github.com/users/octocat/events{/privacy}"
|
216 |
+
]
|
217 |
+
},
|
218 |
+
"received_events_url": {
|
219 |
+
"type": "string",
|
220 |
+
"format": "uri",
|
221 |
+
"examples": [
|
222 |
+
"https://api.github.com/users/octocat/received_events"
|
223 |
+
]
|
224 |
+
},
|
225 |
+
"type": {
|
226 |
+
"type": "string",
|
227 |
+
"examples": [
|
228 |
+
"User"
|
229 |
+
]
|
230 |
+
},
|
231 |
+
"site_admin": {
|
232 |
+
"type": "boolean"
|
233 |
+
},
|
234 |
+
"starred_at": {
|
235 |
+
"type": "string",
|
236 |
+
"examples": [
|
237 |
+
"\"2020-07-09T00:17:55Z\""
|
238 |
+
]
|
239 |
+
}
|
240 |
+
},
|
241 |
+
"required": [
|
242 |
+
"avatar_url",
|
243 |
+
"events_url",
|
244 |
+
"followers_url",
|
245 |
+
"following_url",
|
246 |
+
"gists_url",
|
247 |
+
"gravatar_id",
|
248 |
+
"html_url",
|
249 |
+
"id",
|
250 |
+
"node_id",
|
251 |
+
"login",
|
252 |
+
"organizations_url",
|
253 |
+
"received_events_url",
|
254 |
+
"repos_url",
|
255 |
+
"site_admin",
|
256 |
+
"starred_url",
|
257 |
+
"subscriptions_url",
|
258 |
+
"type",
|
259 |
+
"url"
|
260 |
+
]
|
261 |
+
}
|
262 |
+
]
|
263 |
+
},
|
264 |
+
"private": {
|
265 |
+
"type": "boolean"
|
266 |
+
},
|
267 |
+
"html_url": {
|
268 |
+
"type": "string",
|
269 |
+
"format": "uri"
|
270 |
+
},
|
271 |
+
"description": {
|
272 |
+
"type": [
|
273 |
+
"string",
|
274 |
+
"null"
|
275 |
+
]
|
276 |
+
},
|
277 |
+
"fork": {
|
278 |
+
"type": "boolean"
|
279 |
+
},
|
280 |
+
"url": {
|
281 |
+
"type": "string",
|
282 |
+
"format": "uri"
|
283 |
+
},
|
284 |
+
"created_at": {
|
285 |
+
"type": "string",
|
286 |
+
"format": "date-time"
|
287 |
+
},
|
288 |
+
"updated_at": {
|
289 |
+
"type": "string",
|
290 |
+
"format": "date-time"
|
291 |
+
},
|
292 |
+
"pushed_at": {
|
293 |
+
"type": "string",
|
294 |
+
"format": "date-time"
|
295 |
+
},
|
296 |
+
"homepage": {
|
297 |
+
"type": [
|
298 |
+
"string",
|
299 |
+
"null"
|
300 |
+
],
|
301 |
+
"format": "uri"
|
302 |
+
},
|
303 |
+
"size": {
|
304 |
+
"type": "integer"
|
305 |
+
},
|
306 |
+
"stargazers_count": {
|
307 |
+
"type": "integer"
|
308 |
+
},
|
309 |
+
"watchers_count": {
|
310 |
+
"type": "integer"
|
311 |
+
},
|
312 |
+
"language": {
|
313 |
+
"type": [
|
314 |
+
"string",
|
315 |
+
"null"
|
316 |
+
]
|
317 |
+
},
|
318 |
+
"forks_count": {
|
319 |
+
"type": "integer"
|
320 |
+
},
|
321 |
+
"open_issues_count": {
|
322 |
+
"type": "integer"
|
323 |
+
},
|
324 |
+
"master_branch": {
|
325 |
+
"type": "string"
|
326 |
+
},
|
327 |
+
"default_branch": {
|
328 |
+
"type": "string"
|
329 |
+
},
|
330 |
+
"score": {
|
331 |
+
"type": "number"
|
332 |
+
},
|
333 |
+
"forks_url": {
|
334 |
+
"type": "string",
|
335 |
+
"format": "uri"
|
336 |
+
},
|
337 |
+
"keys_url": {
|
338 |
+
"type": "string"
|
339 |
+
},
|
340 |
+
"collaborators_url": {
|
341 |
+
"type": "string"
|
342 |
+
},
|
343 |
+
"teams_url": {
|
344 |
+
"type": "string",
|
345 |
+
"format": "uri"
|
346 |
+
},
|
347 |
+
"hooks_url": {
|
348 |
+
"type": "string",
|
349 |
+
"format": "uri"
|
350 |
+
},
|
351 |
+
"issue_events_url": {
|
352 |
+
"type": "string"
|
353 |
+
},
|
354 |
+
"events_url": {
|
355 |
+
"type": "string",
|
356 |
+
"format": "uri"
|
357 |
+
},
|
358 |
+
"assignees_url": {
|
359 |
+
"type": "string"
|
360 |
+
},
|
361 |
+
"branches_url": {
|
362 |
+
"type": "string"
|
363 |
+
},
|
364 |
+
"tags_url": {
|
365 |
+
"type": "string",
|
366 |
+
"format": "uri"
|
367 |
+
},
|
368 |
+
"blobs_url": {
|
369 |
+
"type": "string"
|
370 |
+
},
|
371 |
+
"git_tags_url": {
|
372 |
+
"type": "string"
|
373 |
+
},
|
374 |
+
"git_refs_url": {
|
375 |
+
"type": "string"
|
376 |
+
},
|
377 |
+
"trees_url": {
|
378 |
+
"type": "string"
|
379 |
+
},
|
380 |
+
"statuses_url": {
|
381 |
+
"type": "string"
|
382 |
+
},
|
383 |
+
"languages_url": {
|
384 |
+
"type": "string",
|
385 |
+
"format": "uri"
|
386 |
+
},
|
387 |
+
"stargazers_url": {
|
388 |
+
"type": "string",
|
389 |
+
"format": "uri"
|
390 |
+
},
|
391 |
+
"contributors_url": {
|
392 |
+
"type": "string",
|
393 |
+
"format": "uri"
|
394 |
+
},
|
395 |
+
"subscribers_url": {
|
396 |
+
"type": "string",
|
397 |
+
"format": "uri"
|
398 |
+
},
|
399 |
+
"subscription_url": {
|
400 |
+
"type": "string",
|
401 |
+
"format": "uri"
|
402 |
+
},
|
403 |
+
"commits_url": {
|
404 |
+
"type": "string"
|
405 |
+
},
|
406 |
+
"git_commits_url": {
|
407 |
+
"type": "string"
|
408 |
+
},
|
409 |
+
"comments_url": {
|
410 |
+
"type": "string"
|
411 |
+
},
|
412 |
+
"issue_comment_url": {
|
413 |
+
"type": "string"
|
414 |
+
},
|
415 |
+
"contents_url": {
|
416 |
+
"type": "string"
|
417 |
+
},
|
418 |
+
"compare_url": {
|
419 |
+
"type": "string"
|
420 |
+
},
|
421 |
+
"merges_url": {
|
422 |
+
"type": "string",
|
423 |
+
"format": "uri"
|
424 |
+
},
|
425 |
+
"archive_url": {
|
426 |
+
"type": "string"
|
427 |
+
},
|
428 |
+
"downloads_url": {
|
429 |
+
"type": "string",
|
430 |
+
"format": "uri"
|
431 |
+
},
|
432 |
+
"issues_url": {
|
433 |
+
"type": "string"
|
434 |
+
},
|
435 |
+
"pulls_url": {
|
436 |
+
"type": "string"
|
437 |
+
},
|
438 |
+
"milestones_url": {
|
439 |
+
"type": "string"
|
440 |
+
},
|
441 |
+
"notifications_url": {
|
442 |
+
"type": "string"
|
443 |
+
},
|
444 |
+
"labels_url": {
|
445 |
+
"type": "string"
|
446 |
+
},
|
447 |
+
"releases_url": {
|
448 |
+
"type": "string"
|
449 |
+
},
|
450 |
+
"deployments_url": {
|
451 |
+
"type": "string",
|
452 |
+
"format": "uri"
|
453 |
+
},
|
454 |
+
"git_url": {
|
455 |
+
"type": "string"
|
456 |
+
},
|
457 |
+
"ssh_url": {
|
458 |
+
"type": "string"
|
459 |
+
},
|
460 |
+
"clone_url": {
|
461 |
+
"type": "string"
|
462 |
+
},
|
463 |
+
"svn_url": {
|
464 |
+
"type": "string",
|
465 |
+
"format": "uri"
|
466 |
+
},
|
467 |
+
"forks": {
|
468 |
+
"type": "integer"
|
469 |
+
},
|
470 |
+
"open_issues": {
|
471 |
+
"type": "integer"
|
472 |
+
},
|
473 |
+
"watchers": {
|
474 |
+
"type": "integer"
|
475 |
+
},
|
476 |
+
"topics": {
|
477 |
+
"type": "array",
|
478 |
+
"items": {
|
479 |
+
"type": "string"
|
480 |
+
}
|
481 |
+
},
|
482 |
+
"mirror_url": {
|
483 |
+
"type": [
|
484 |
+
"string",
|
485 |
+
"null"
|
486 |
+
],
|
487 |
+
"format": "uri"
|
488 |
+
},
|
489 |
+
"has_issues": {
|
490 |
+
"type": "boolean"
|
491 |
+
},
|
492 |
+
"has_projects": {
|
493 |
+
"type": "boolean"
|
494 |
+
},
|
495 |
+
"has_pages": {
|
496 |
+
"type": "boolean"
|
497 |
+
},
|
498 |
+
"has_wiki": {
|
499 |
+
"type": "boolean"
|
500 |
+
},
|
501 |
+
"has_downloads": {
|
502 |
+
"type": "boolean"
|
503 |
+
},
|
504 |
+
"has_discussions": {
|
505 |
+
"type": "boolean"
|
506 |
+
},
|
507 |
+
"archived": {
|
508 |
+
"type": "boolean"
|
509 |
+
},
|
510 |
+
"disabled": {
|
511 |
+
"type": "boolean",
|
512 |
+
"description": "Returns whether or not this repository disabled."
|
513 |
+
},
|
514 |
+
"visibility": {
|
515 |
+
"description": "The repository visibility: public, private, or internal.",
|
516 |
+
"type": "string"
|
517 |
+
},
|
518 |
+
"license": {
|
519 |
+
"anyOf": [
|
520 |
+
{
|
521 |
+
"type": "null"
|
522 |
+
},
|
523 |
+
{
|
524 |
+
"title": "License Simple",
|
525 |
+
"description": "License Simple",
|
526 |
+
"type": "object",
|
527 |
+
"properties": {
|
528 |
+
"key": {
|
529 |
+
"type": "string",
|
530 |
+
"examples": [
|
531 |
+
"mit"
|
532 |
+
]
|
533 |
+
},
|
534 |
+
"name": {
|
535 |
+
"type": "string",
|
536 |
+
"examples": [
|
537 |
+
"MIT License"
|
538 |
+
]
|
539 |
+
},
|
540 |
+
"url": {
|
541 |
+
"type": [
|
542 |
+
"string",
|
543 |
+
"null"
|
544 |
+
],
|
545 |
+
"format": "uri",
|
546 |
+
"examples": [
|
547 |
+
"https://api.github.com/licenses/mit"
|
548 |
+
]
|
549 |
+
},
|
550 |
+
"spdx_id": {
|
551 |
+
"type": [
|
552 |
+
"string",
|
553 |
+
"null"
|
554 |
+
],
|
555 |
+
"examples": [
|
556 |
+
"MIT"
|
557 |
+
]
|
558 |
+
},
|
559 |
+
"node_id": {
|
560 |
+
"type": "string",
|
561 |
+
"examples": [
|
562 |
+
"MDc6TGljZW5zZW1pdA=="
|
563 |
+
]
|
564 |
+
},
|
565 |
+
"html_url": {
|
566 |
+
"type": "string",
|
567 |
+
"format": "uri"
|
568 |
+
}
|
569 |
+
},
|
570 |
+
"required": [
|
571 |
+
"key",
|
572 |
+
"name",
|
573 |
+
"url",
|
574 |
+
"spdx_id",
|
575 |
+
"node_id"
|
576 |
+
]
|
577 |
+
}
|
578 |
+
]
|
579 |
+
},
|
580 |
+
"permissions": {
|
581 |
+
"type": "object",
|
582 |
+
"properties": {
|
583 |
+
"admin": {
|
584 |
+
"type": "boolean"
|
585 |
+
},
|
586 |
+
"maintain": {
|
587 |
+
"type": "boolean"
|
588 |
+
},
|
589 |
+
"push": {
|
590 |
+
"type": "boolean"
|
591 |
+
},
|
592 |
+
"triage": {
|
593 |
+
"type": "boolean"
|
594 |
+
},
|
595 |
+
"pull": {
|
596 |
+
"type": "boolean"
|
597 |
+
}
|
598 |
+
},
|
599 |
+
"required": [
|
600 |
+
"admin",
|
601 |
+
"pull",
|
602 |
+
"push"
|
603 |
+
]
|
604 |
+
},
|
605 |
+
"text_matches": {
|
606 |
+
"title": "Search Result Text Matches",
|
607 |
+
"type": "array",
|
608 |
+
"items": {
|
609 |
+
"type": "object",
|
610 |
+
"properties": {
|
611 |
+
"object_url": {
|
612 |
+
"type": "string"
|
613 |
+
},
|
614 |
+
"object_type": {
|
615 |
+
"type": [
|
616 |
+
"string",
|
617 |
+
"null"
|
618 |
+
]
|
619 |
+
},
|
620 |
+
"property": {
|
621 |
+
"type": "string"
|
622 |
+
},
|
623 |
+
"fragment": {
|
624 |
+
"type": "string"
|
625 |
+
},
|
626 |
+
"matches": {
|
627 |
+
"type": "array",
|
628 |
+
"items": {
|
629 |
+
"type": "object",
|
630 |
+
"properties": {
|
631 |
+
"text": {
|
632 |
+
"type": "string"
|
633 |
+
},
|
634 |
+
"indices": {
|
635 |
+
"type": "array",
|
636 |
+
"items": {
|
637 |
+
"type": "integer"
|
638 |
+
}
|
639 |
+
}
|
640 |
+
}
|
641 |
+
}
|
642 |
+
}
|
643 |
+
}
|
644 |
+
}
|
645 |
+
},
|
646 |
+
"temp_clone_token": {
|
647 |
+
"type": "string"
|
648 |
+
},
|
649 |
+
"allow_merge_commit": {
|
650 |
+
"type": "boolean"
|
651 |
+
},
|
652 |
+
"allow_squash_merge": {
|
653 |
+
"type": "boolean"
|
654 |
+
},
|
655 |
+
"allow_rebase_merge": {
|
656 |
+
"type": "boolean"
|
657 |
+
},
|
658 |
+
"allow_auto_merge": {
|
659 |
+
"type": "boolean"
|
660 |
+
},
|
661 |
+
"delete_branch_on_merge": {
|
662 |
+
"type": "boolean"
|
663 |
+
},
|
664 |
+
"allow_forking": {
|
665 |
+
"type": "boolean"
|
666 |
+
},
|
667 |
+
"is_template": {
|
668 |
+
"type": "boolean"
|
669 |
+
},
|
670 |
+
"web_commit_signoff_required": {
|
671 |
+
"type": "boolean",
|
672 |
+
"examples": [
|
673 |
+
false
|
674 |
+
]
|
675 |
+
}
|
676 |
+
},
|
677 |
+
"required": [
|
678 |
+
"archive_url",
|
679 |
+
"assignees_url",
|
680 |
+
"blobs_url",
|
681 |
+
"branches_url",
|
682 |
+
"collaborators_url",
|
683 |
+
"comments_url",
|
684 |
+
"commits_url",
|
685 |
+
"compare_url",
|
686 |
+
"contents_url",
|
687 |
+
"contributors_url",
|
688 |
+
"deployments_url",
|
689 |
+
"description",
|
690 |
+
"downloads_url",
|
691 |
+
"events_url",
|
692 |
+
"fork",
|
693 |
+
"forks_url",
|
694 |
+
"full_name",
|
695 |
+
"git_commits_url",
|
696 |
+
"git_refs_url",
|
697 |
+
"git_tags_url",
|
698 |
+
"hooks_url",
|
699 |
+
"html_url",
|
700 |
+
"id",
|
701 |
+
"node_id",
|
702 |
+
"issue_comment_url",
|
703 |
+
"issue_events_url",
|
704 |
+
"issues_url",
|
705 |
+
"keys_url",
|
706 |
+
"labels_url",
|
707 |
+
"languages_url",
|
708 |
+
"merges_url",
|
709 |
+
"milestones_url",
|
710 |
+
"name",
|
711 |
+
"notifications_url",
|
712 |
+
"owner",
|
713 |
+
"private",
|
714 |
+
"pulls_url",
|
715 |
+
"releases_url",
|
716 |
+
"stargazers_url",
|
717 |
+
"statuses_url",
|
718 |
+
"subscribers_url",
|
719 |
+
"subscription_url",
|
720 |
+
"tags_url",
|
721 |
+
"teams_url",
|
722 |
+
"trees_url",
|
723 |
+
"url",
|
724 |
+
"clone_url",
|
725 |
+
"default_branch",
|
726 |
+
"forks",
|
727 |
+
"forks_count",
|
728 |
+
"git_url",
|
729 |
+
"has_downloads",
|
730 |
+
"has_issues",
|
731 |
+
"has_projects",
|
732 |
+
"has_wiki",
|
733 |
+
"has_pages",
|
734 |
+
"homepage",
|
735 |
+
"language",
|
736 |
+
"archived",
|
737 |
+
"disabled",
|
738 |
+
"mirror_url",
|
739 |
+
"open_issues",
|
740 |
+
"open_issues_count",
|
741 |
+
"license",
|
742 |
+
"pushed_at",
|
743 |
+
"size",
|
744 |
+
"ssh_url",
|
745 |
+
"stargazers_count",
|
746 |
+
"svn_url",
|
747 |
+
"watchers",
|
748 |
+
"watchers_count",
|
749 |
+
"created_at",
|
750 |
+
"updated_at",
|
751 |
+
"score"
|
752 |
+
]
|
753 |
+
}
|
754 |
+
```
|
755 |
+
|
756 |
+
</details>
|
757 |
+
|
758 |
+
<details>
|
759 |
+
|
760 |
+
<summary>commit</summary>
|
761 |
+
|
762 |
+
```json
|
763 |
+
{
|
764 |
+
"title": "Commit",
|
765 |
+
"description": "Commit",
|
766 |
+
"type": "object",
|
767 |
+
"properties": {
|
768 |
+
"url": {
|
769 |
+
"type": "string",
|
770 |
+
"format": "uri",
|
771 |
+
"examples": [
|
772 |
+
"https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
|
773 |
+
]
|
774 |
+
},
|
775 |
+
"sha": {
|
776 |
+
"type": "string",
|
777 |
+
"examples": [
|
778 |
+
"6dcb09b5b57875f334f61aebed695e2e4193db5e"
|
779 |
+
]
|
780 |
+
},
|
781 |
+
"node_id": {
|
782 |
+
"type": "string",
|
783 |
+
"examples": [
|
784 |
+
"MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
|
785 |
+
]
|
786 |
+
},
|
787 |
+
"html_url": {
|
788 |
+
"type": "string",
|
789 |
+
"format": "uri",
|
790 |
+
"examples": [
|
791 |
+
"https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
|
792 |
+
]
|
793 |
+
},
|
794 |
+
"comments_url": {
|
795 |
+
"type": "string",
|
796 |
+
"format": "uri",
|
797 |
+
"examples": [
|
798 |
+
"https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
|
799 |
+
]
|
800 |
+
},
|
801 |
+
"commit": {
|
802 |
+
"type": "object",
|
803 |
+
"properties": {
|
804 |
+
"url": {
|
805 |
+
"type": "string",
|
806 |
+
"format": "uri",
|
807 |
+
"examples": [
|
808 |
+
"https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
|
809 |
+
]
|
810 |
+
},
|
811 |
+
"author": {
|
812 |
+
"anyOf": [
|
813 |
+
{
|
814 |
+
"type": "null"
|
815 |
+
},
|
816 |
+
{
|
817 |
+
"title": "Git User",
|
818 |
+
"description": "Metaproperties for Git author/committer information.",
|
819 |
+
"type": "object",
|
820 |
+
"properties": {
|
821 |
+
"name": {
|
822 |
+
"type": "string",
|
823 |
+
"examples": [
|
824 |
+
"\"Chris Wanstrath\""
|
825 |
+
]
|
826 |
+
},
|
827 |
+
"email": {
|
828 |
+
"type": "string",
|
829 |
+
"examples": [
|
830 |
+
"\"chris@ozmm.org\""
|
831 |
+
]
|
832 |
+
},
|
833 |
+
"date": {
|
834 |
+
"type": "string",
|
835 |
+
"examples": [
|
836 |
+
"\"2007-10-29T02:42:39.000-07:00\""
|
837 |
+
]
|
838 |
+
}
|
839 |
+
}
|
840 |
+
}
|
841 |
+
]
|
842 |
+
},
|
843 |
+
"committer": {
|
844 |
+
"anyOf": [
|
845 |
+
{
|
846 |
+
"type": "null"
|
847 |
+
},
|
848 |
+
{
|
849 |
+
"title": "Git User",
|
850 |
+
"description": "Metaproperties for Git author/committer information.",
|
851 |
+
"type": "object",
|
852 |
+
"properties": {
|
853 |
+
"name": {
|
854 |
+
"type": "string",
|
855 |
+
"examples": [
|
856 |
+
"\"Chris Wanstrath\""
|
857 |
+
]
|
858 |
+
},
|
859 |
+
"email": {
|
860 |
+
"type": "string",
|
861 |
+
"examples": [
|
862 |
+
"\"chris@ozmm.org\""
|
863 |
+
]
|
864 |
+
},
|
865 |
+
"date": {
|
866 |
+
"type": "string",
|
867 |
+
"examples": [
|
868 |
+
"\"2007-10-29T02:42:39.000-07:00\""
|
869 |
+
]
|
870 |
+
}
|
871 |
+
}
|
872 |
+
}
|
873 |
+
]
|
874 |
+
},
|
875 |
+
"message": {
|
876 |
+
"type": "string",
|
877 |
+
"examples": [
|
878 |
+
"Fix all the bugs"
|
879 |
+
]
|
880 |
+
},
|
881 |
+
"comment_count": {
|
882 |
+
"type": "integer",
|
883 |
+
"examples": [
|
884 |
+
0
|
885 |
+
]
|
886 |
+
},
|
887 |
+
"tree": {
|
888 |
+
"type": "object",
|
889 |
+
"properties": {
|
890 |
+
"sha": {
|
891 |
+
"type": "string",
|
892 |
+
"examples": [
|
893 |
+
"827efc6d56897b048c772eb4087f854f46256132"
|
894 |
+
]
|
895 |
+
},
|
896 |
+
"url": {
|
897 |
+
"type": "string",
|
898 |
+
"format": "uri",
|
899 |
+
"examples": [
|
900 |
+
"https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
|
901 |
+
]
|
902 |
+
}
|
903 |
+
},
|
904 |
+
"required": [
|
905 |
+
"sha",
|
906 |
+
"url"
|
907 |
+
]
|
908 |
+
},
|
909 |
+
"verification": {
|
910 |
+
"title": "Verification",
|
911 |
+
"type": "object",
|
912 |
+
"properties": {
|
913 |
+
"verified": {
|
914 |
+
"type": "boolean"
|
915 |
+
},
|
916 |
+
"reason": {
|
917 |
+
"type": "string"
|
918 |
+
},
|
919 |
+
"payload": {
|
920 |
+
"type": [
|
921 |
+
"string",
|
922 |
+
"null"
|
923 |
+
]
|
924 |
+
},
|
925 |
+
"signature": {
|
926 |
+
"type": [
|
927 |
+
"string",
|
928 |
+
"null"
|
929 |
+
]
|
930 |
+
}
|
931 |
+
},
|
932 |
+
"required": [
|
933 |
+
"verified",
|
934 |
+
"reason",
|
935 |
+
"payload",
|
936 |
+
"signature"
|
937 |
+
]
|
938 |
+
}
|
939 |
+
},
|
940 |
+
"required": [
|
941 |
+
"author",
|
942 |
+
"committer",
|
943 |
+
"comment_count",
|
944 |
+
"message",
|
945 |
+
"tree",
|
946 |
+
"url"
|
947 |
+
]
|
948 |
+
},
|
949 |
+
"author": {
|
950 |
+
"anyOf": [
|
951 |
+
{
|
952 |
+
"type": "null"
|
953 |
+
},
|
954 |
+
{
|
955 |
+
"title": "Simple User",
|
956 |
+
"description": "A GitHub user.",
|
957 |
+
"type": "object",
|
958 |
+
"properties": {
|
959 |
+
"name": {
|
960 |
+
"type": [
|
961 |
+
"string",
|
962 |
+
"null"
|
963 |
+
]
|
964 |
+
},
|
965 |
+
"email": {
|
966 |
+
"type": [
|
967 |
+
"string",
|
968 |
+
"null"
|
969 |
+
]
|
970 |
+
},
|
971 |
+
"login": {
|
972 |
+
"type": "string",
|
973 |
+
"examples": [
|
974 |
+
"octocat"
|
975 |
+
]
|
976 |
+
},
|
977 |
+
"id": {
|
978 |
+
"type": "integer",
|
979 |
+
"examples": [
|
980 |
+
1
|
981 |
+
]
|
982 |
+
},
|
983 |
+
"node_id": {
|
984 |
+
"type": "string",
|
985 |
+
"examples": [
|
986 |
+
"MDQ6VXNlcjE="
|
987 |
+
]
|
988 |
+
},
|
989 |
+
"avatar_url": {
|
990 |
+
"type": "string",
|
991 |
+
"format": "uri",
|
992 |
+
"examples": [
|
993 |
+
"https://github.com/images/error/octocat_happy.gif"
|
994 |
+
]
|
995 |
+
},
|
996 |
+
"gravatar_id": {
|
997 |
+
"type": [
|
998 |
+
"string",
|
999 |
+
"null"
|
1000 |
+
],
|
1001 |
+
"examples": [
|
1002 |
+
"41d064eb2195891e12d0413f63227ea7"
|
1003 |
+
]
|
1004 |
+
},
|
1005 |
+
"url": {
|
1006 |
+
"type": "string",
|
1007 |
+
"format": "uri",
|
1008 |
+
"examples": [
|
1009 |
+
"https://api.github.com/users/octocat"
|
1010 |
+
]
|
1011 |
+
},
|
1012 |
+
"html_url": {
|
1013 |
+
"type": "string",
|
1014 |
+
"format": "uri",
|
1015 |
+
"examples": [
|
1016 |
+
"https://github.com/octocat"
|
1017 |
+
]
|
1018 |
+
},
|
1019 |
+
"followers_url": {
|
1020 |
+
"type": "string",
|
1021 |
+
"format": "uri",
|
1022 |
+
"examples": [
|
1023 |
+
"https://api.github.com/users/octocat/followers"
|
1024 |
+
]
|
1025 |
+
},
|
1026 |
+
"following_url": {
|
1027 |
+
"type": "string",
|
1028 |
+
"examples": [
|
1029 |
+
"https://api.github.com/users/octocat/following{/other_user}"
|
1030 |
+
]
|
1031 |
+
},
|
1032 |
+
"gists_url": {
|
1033 |
+
"type": "string",
|
1034 |
+
"examples": [
|
1035 |
+
"https://api.github.com/users/octocat/gists{/gist_id}"
|
1036 |
+
]
|
1037 |
+
},
|
1038 |
+
"starred_url": {
|
1039 |
+
"type": "string",
|
1040 |
+
"examples": [
|
1041 |
+
"https://api.github.com/users/octocat/starred{/owner}{/repo}"
|
1042 |
+
]
|
1043 |
+
},
|
1044 |
+
"subscriptions_url": {
|
1045 |
+
"type": "string",
|
1046 |
+
"format": "uri",
|
1047 |
+
"examples": [
|
1048 |
+
"https://api.github.com/users/octocat/subscriptions"
|
1049 |
+
]
|
1050 |
+
},
|
1051 |
+
"organizations_url": {
|
1052 |
+
"type": "string",
|
1053 |
+
"format": "uri",
|
1054 |
+
"examples": [
|
1055 |
+
"https://api.github.com/users/octocat/orgs"
|
1056 |
+
]
|
1057 |
+
},
|
1058 |
+
"repos_url": {
|
1059 |
+
"type": "string",
|
1060 |
+
"format": "uri",
|
1061 |
+
"examples": [
|
1062 |
+
"https://api.github.com/users/octocat/repos"
|
1063 |
+
]
|
1064 |
+
},
|
1065 |
+
"events_url": {
|
1066 |
+
"type": "string",
|
1067 |
+
"examples": [
|
1068 |
+
"https://api.github.com/users/octocat/events{/privacy}"
|
1069 |
+
]
|
1070 |
+
},
|
1071 |
+
"received_events_url": {
|
1072 |
+
"type": "string",
|
1073 |
+
"format": "uri",
|
1074 |
+
"examples": [
|
1075 |
+
"https://api.github.com/users/octocat/received_events"
|
1076 |
+
]
|
1077 |
+
},
|
1078 |
+
"type": {
|
1079 |
+
"type": "string",
|
1080 |
+
"examples": [
|
1081 |
+
"User"
|
1082 |
+
]
|
1083 |
+
},
|
1084 |
+
"site_admin": {
|
1085 |
+
"type": "boolean"
|
1086 |
+
},
|
1087 |
+
"starred_at": {
|
1088 |
+
"type": "string",
|
1089 |
+
"examples": [
|
1090 |
+
"\"2020-07-09T00:17:55Z\""
|
1091 |
+
]
|
1092 |
+
}
|
1093 |
+
},
|
1094 |
+
"required": [
|
1095 |
+
"avatar_url",
|
1096 |
+
"events_url",
|
1097 |
+
"followers_url",
|
1098 |
+
"following_url",
|
1099 |
+
"gists_url",
|
1100 |
+
"gravatar_id",
|
1101 |
+
"html_url",
|
1102 |
+
"id",
|
1103 |
+
"node_id",
|
1104 |
+
"login",
|
1105 |
+
"organizations_url",
|
1106 |
+
"received_events_url",
|
1107 |
+
"repos_url",
|
1108 |
+
"site_admin",
|
1109 |
+
"starred_url",
|
1110 |
+
"subscriptions_url",
|
1111 |
+
"type",
|
1112 |
+
"url"
|
1113 |
+
]
|
1114 |
+
}
|
1115 |
+
]
|
1116 |
+
},
|
1117 |
+
"committer": {
|
1118 |
+
"anyOf": [
|
1119 |
+
{
|
1120 |
+
"type": "null"
|
1121 |
+
},
|
1122 |
+
{
|
1123 |
+
"title": "Simple User",
|
1124 |
+
"description": "A GitHub user.",
|
1125 |
+
"type": "object",
|
1126 |
+
"properties": {
|
1127 |
+
"name": {
|
1128 |
+
"type": [
|
1129 |
+
"string",
|
1130 |
+
"null"
|
1131 |
+
]
|
1132 |
+
},
|
1133 |
+
"email": {
|
1134 |
+
"type": [
|
1135 |
+
"string",
|
1136 |
+
"null"
|
1137 |
+
]
|
1138 |
+
},
|
1139 |
+
"login": {
|
1140 |
+
"type": "string",
|
1141 |
+
"examples": [
|
1142 |
+
"octocat"
|
1143 |
+
]
|
1144 |
+
},
|
1145 |
+
"id": {
|
1146 |
+
"type": "integer",
|
1147 |
+
"examples": [
|
1148 |
+
1
|
1149 |
+
]
|
1150 |
+
},
|
1151 |
+
"node_id": {
|
1152 |
+
"type": "string",
|
1153 |
+
"examples": [
|
1154 |
+
"MDQ6VXNlcjE="
|
1155 |
+
]
|
1156 |
+
},
|
1157 |
+
"avatar_url": {
|
1158 |
+
"type": "string",
|
1159 |
+
"format": "uri",
|
1160 |
+
"examples": [
|
1161 |
+
"https://github.com/images/error/octocat_happy.gif"
|
1162 |
+
]
|
1163 |
+
},
|
1164 |
+
"gravatar_id": {
|
1165 |
+
"type": [
|
1166 |
+
"string",
|
1167 |
+
"null"
|
1168 |
+
],
|
1169 |
+
"examples": [
|
1170 |
+
"41d064eb2195891e12d0413f63227ea7"
|
1171 |
+
]
|
1172 |
+
},
|
1173 |
+
"url": {
|
1174 |
+
"type": "string",
|
1175 |
+
"format": "uri",
|
1176 |
+
"examples": [
|
1177 |
+
"https://api.github.com/users/octocat"
|
1178 |
+
]
|
1179 |
+
},
|
1180 |
+
"html_url": {
|
1181 |
+
"type": "string",
|
1182 |
+
"format": "uri",
|
1183 |
+
"examples": [
|
1184 |
+
"https://github.com/octocat"
|
1185 |
+
]
|
1186 |
+
},
|
1187 |
+
"followers_url": {
|
1188 |
+
"type": "string",
|
1189 |
+
"format": "uri",
|
1190 |
+
"examples": [
|
1191 |
+
"https://api.github.com/users/octocat/followers"
|
1192 |
+
]
|
1193 |
+
},
|
1194 |
+
"following_url": {
|
1195 |
+
"type": "string",
|
1196 |
+
"examples": [
|
1197 |
+
"https://api.github.com/users/octocat/following{/other_user}"
|
1198 |
+
]
|
1199 |
+
},
|
1200 |
+
"gists_url": {
|
1201 |
+
"type": "string",
|
1202 |
+
"examples": [
|
1203 |
+
"https://api.github.com/users/octocat/gists{/gist_id}"
|
1204 |
+
]
|
1205 |
+
},
|
1206 |
+
"starred_url": {
|
1207 |
+
"type": "string",
|
1208 |
+
"examples": [
|
1209 |
+
"https://api.github.com/users/octocat/starred{/owner}{/repo}"
|
1210 |
+
]
|
1211 |
+
},
|
1212 |
+
"subscriptions_url": {
|
1213 |
+
"type": "string",
|
1214 |
+
"format": "uri",
|
1215 |
+
"examples": [
|
1216 |
+
"https://api.github.com/users/octocat/subscriptions"
|
1217 |
+
]
|
1218 |
+
},
|
1219 |
+
"organizations_url": {
|
1220 |
+
"type": "string",
|
1221 |
+
"format": "uri",
|
1222 |
+
"examples": [
|
1223 |
+
"https://api.github.com/users/octocat/orgs"
|
1224 |
+
]
|
1225 |
+
},
|
1226 |
+
"repos_url": {
|
1227 |
+
"type": "string",
|
1228 |
+
"format": "uri",
|
1229 |
+
"examples": [
|
1230 |
+
"https://api.github.com/users/octocat/repos"
|
1231 |
+
]
|
1232 |
+
},
|
1233 |
+
"events_url": {
|
1234 |
+
"type": "string",
|
1235 |
+
"examples": [
|
1236 |
+
"https://api.github.com/users/octocat/events{/privacy}"
|
1237 |
+
]
|
1238 |
+
},
|
1239 |
+
"received_events_url": {
|
1240 |
+
"type": "string",
|
1241 |
+
"format": "uri",
|
1242 |
+
"examples": [
|
1243 |
+
"https://api.github.com/users/octocat/received_events"
|
1244 |
+
]
|
1245 |
+
},
|
1246 |
+
"type": {
|
1247 |
+
"type": "string",
|
1248 |
+
"examples": [
|
1249 |
+
"User"
|
1250 |
+
]
|
1251 |
+
},
|
1252 |
+
"site_admin": {
|
1253 |
+
"type": "boolean"
|
1254 |
+
},
|
1255 |
+
"starred_at": {
|
1256 |
+
"type": "string",
|
1257 |
+
"examples": [
|
1258 |
+
"\"2020-07-09T00:17:55Z\""
|
1259 |
+
]
|
1260 |
+
}
|
1261 |
+
},
|
1262 |
+
"required": [
|
1263 |
+
"avatar_url",
|
1264 |
+
"events_url",
|
1265 |
+
"followers_url",
|
1266 |
+
"following_url",
|
1267 |
+
"gists_url",
|
1268 |
+
"gravatar_id",
|
1269 |
+
"html_url",
|
1270 |
+
"id",
|
1271 |
+
"node_id",
|
1272 |
+
"login",
|
1273 |
+
"organizations_url",
|
1274 |
+
"received_events_url",
|
1275 |
+
"repos_url",
|
1276 |
+
"site_admin",
|
1277 |
+
"starred_url",
|
1278 |
+
"subscriptions_url",
|
1279 |
+
"type",
|
1280 |
+
"url"
|
1281 |
+
]
|
1282 |
+
}
|
1283 |
+
]
|
1284 |
+
},
|
1285 |
+
"parents": {
|
1286 |
+
"type": "array",
|
1287 |
+
"items": {
|
1288 |
+
"type": "object",
|
1289 |
+
"properties": {
|
1290 |
+
"sha": {
|
1291 |
+
"type": "string",
|
1292 |
+
"examples": [
|
1293 |
+
"7638417db6d59f3c431d3e1f261cc637155684cd"
|
1294 |
+
]
|
1295 |
+
},
|
1296 |
+
"url": {
|
1297 |
+
"type": "string",
|
1298 |
+
"format": "uri",
|
1299 |
+
"examples": [
|
1300 |
+
"https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
|
1301 |
+
]
|
1302 |
+
},
|
1303 |
+
"html_url": {
|
1304 |
+
"type": "string",
|
1305 |
+
"format": "uri",
|
1306 |
+
"examples": [
|
1307 |
+
"https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
|
1308 |
+
]
|
1309 |
+
}
|
1310 |
+
},
|
1311 |
+
"required": [
|
1312 |
+
"sha",
|
1313 |
+
"url"
|
1314 |
+
]
|
1315 |
+
}
|
1316 |
+
},
|
1317 |
+
"stats": {
|
1318 |
+
"type": "object",
|
1319 |
+
"properties": {
|
1320 |
+
"additions": {
|
1321 |
+
"type": "integer"
|
1322 |
+
},
|
1323 |
+
"deletions": {
|
1324 |
+
"type": "integer"
|
1325 |
+
},
|
1326 |
+
"total": {
|
1327 |
+
"type": "integer"
|
1328 |
+
}
|
1329 |
+
}
|
1330 |
+
},
|
1331 |
+
"files": {
|
1332 |
+
"type": "array",
|
1333 |
+
"items": {
|
1334 |
+
"title": "Diff Entry",
|
1335 |
+
"description": "Diff Entry",
|
1336 |
+
"type": "object",
|
1337 |
+
"properties": {
|
1338 |
+
"sha": {
|
1339 |
+
"type": "string",
|
1340 |
+
"examples": [
|
1341 |
+
"bbcd538c8e72b8c175046e27cc8f907076331401"
|
1342 |
+
]
|
1343 |
+
},
|
1344 |
+
"filename": {
|
1345 |
+
"type": "string",
|
1346 |
+
"examples": [
|
1347 |
+
"file1.txt"
|
1348 |
+
]
|
1349 |
+
},
|
1350 |
+
"status": {
|
1351 |
+
"type": "string",
|
1352 |
+
"enum": [
|
1353 |
+
"added",
|
1354 |
+
"removed",
|
1355 |
+
"modified",
|
1356 |
+
"renamed",
|
1357 |
+
"copied",
|
1358 |
+
"changed",
|
1359 |
+
"unchanged"
|
1360 |
+
],
|
1361 |
+
"examples": [
|
1362 |
+
"added"
|
1363 |
+
]
|
1364 |
+
},
|
1365 |
+
"additions": {
|
1366 |
+
"type": "integer",
|
1367 |
+
"examples": [
|
1368 |
+
103
|
1369 |
+
]
|
1370 |
+
},
|
1371 |
+
"deletions": {
|
1372 |
+
"type": "integer",
|
1373 |
+
"examples": [
|
1374 |
+
21
|
1375 |
+
]
|
1376 |
+
},
|
1377 |
+
"changes": {
|
1378 |
+
"type": "integer",
|
1379 |
+
"examples": [
|
1380 |
+
124
|
1381 |
+
]
|
1382 |
+
},
|
1383 |
+
"blob_url": {
|
1384 |
+
"type": "string",
|
1385 |
+
"format": "uri",
|
1386 |
+
"examples": [
|
1387 |
+
"https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
|
1388 |
+
]
|
1389 |
+
},
|
1390 |
+
"raw_url": {
|
1391 |
+
"type": "string",
|
1392 |
+
"format": "uri",
|
1393 |
+
"examples": [
|
1394 |
+
"https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
|
1395 |
+
]
|
1396 |
+
},
|
1397 |
+
"contents_url": {
|
1398 |
+
"type": "string",
|
1399 |
+
"format": "uri",
|
1400 |
+
"examples": [
|
1401 |
+
"https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
|
1402 |
+
]
|
1403 |
+
},
|
1404 |
+
"patch": {
|
1405 |
+
"type": "string",
|
1406 |
+
"examples": [
|
1407 |
+
"@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
|
1408 |
+
]
|
1409 |
+
},
|
1410 |
+
"previous_filename": {
|
1411 |
+
"type": "string",
|
1412 |
+
"examples": [
|
1413 |
+
"file.txt"
|
1414 |
+
]
|
1415 |
+
}
|
1416 |
+
},
|
1417 |
+
"required": [
|
1418 |
+
"additions",
|
1419 |
+
"blob_url",
|
1420 |
+
"changes",
|
1421 |
+
"contents_url",
|
1422 |
+
"deletions",
|
1423 |
+
"filename",
|
1424 |
+
"raw_url",
|
1425 |
+
"sha",
|
1426 |
+
"status"
|
1427 |
+
]
|
1428 |
+
}
|
1429 |
+
}
|
1430 |
+
},
|
1431 |
+
"required": [
|
1432 |
+
"url",
|
1433 |
+
"sha",
|
1434 |
+
"node_id",
|
1435 |
+
"html_url",
|
1436 |
+
"comments_url",
|
1437 |
+
"commit",
|
1438 |
+
"author",
|
1439 |
+
"committer",
|
1440 |
+
"parents"
|
1441 |
+
]
|
1442 |
+
}
|
1443 |
+
```
|
1444 |
+
|
1445 |
+
</details>
|
1446 |
+
|
1447 |
+
<details>
|
1448 |
+
|
1449 |
+
<summary>user</summary>
|
1450 |
+
|
1451 |
+
```json
|
1452 |
+
{
|
1453 |
+
"oneOf": [
|
1454 |
+
{
|
1455 |
+
"title": "Private User",
|
1456 |
+
"description": "Private User",
|
1457 |
+
"type": "object",
|
1458 |
+
"properties": {
|
1459 |
+
"login": {
|
1460 |
+
"type": "string",
|
1461 |
+
"examples": [
|
1462 |
+
"octocat"
|
1463 |
+
]
|
1464 |
+
},
|
1465 |
+
"id": {
|
1466 |
+
"type": "integer",
|
1467 |
+
"examples": [
|
1468 |
+
1
|
1469 |
+
]
|
1470 |
+
},
|
1471 |
+
"node_id": {
|
1472 |
+
"type": "string",
|
1473 |
+
"examples": [
|
1474 |
+
"MDQ6VXNlcjE="
|
1475 |
+
]
|
1476 |
+
},
|
1477 |
+
"avatar_url": {
|
1478 |
+
"type": "string",
|
1479 |
+
"format": "uri",
|
1480 |
+
"examples": [
|
1481 |
+
"https://github.com/images/error/octocat_happy.gif"
|
1482 |
+
]
|
1483 |
+
},
|
1484 |
+
"gravatar_id": {
|
1485 |
+
"type": [
|
1486 |
+
"string",
|
1487 |
+
"null"
|
1488 |
+
],
|
1489 |
+
"examples": [
|
1490 |
+
"41d064eb2195891e12d0413f63227ea7"
|
1491 |
+
]
|
1492 |
+
},
|
1493 |
+
"url": {
|
1494 |
+
"type": "string",
|
1495 |
+
"format": "uri",
|
1496 |
+
"examples": [
|
1497 |
+
"https://api.github.com/users/octocat"
|
1498 |
+
]
|
1499 |
+
},
|
1500 |
+
"html_url": {
|
1501 |
+
"type": "string",
|
1502 |
+
"format": "uri",
|
1503 |
+
"examples": [
|
1504 |
+
"https://github.com/octocat"
|
1505 |
+
]
|
1506 |
+
},
|
1507 |
+
"followers_url": {
|
1508 |
+
"type": "string",
|
1509 |
+
"format": "uri",
|
1510 |
+
"examples": [
|
1511 |
+
"https://api.github.com/users/octocat/followers"
|
1512 |
+
]
|
1513 |
+
},
|
1514 |
+
"following_url": {
|
1515 |
+
"type": "string",
|
1516 |
+
"examples": [
|
1517 |
+
"https://api.github.com/users/octocat/following{/other_user}"
|
1518 |
+
]
|
1519 |
+
},
|
1520 |
+
"gists_url": {
|
1521 |
+
"type": "string",
|
1522 |
+
"examples": [
|
1523 |
+
"https://api.github.com/users/octocat/gists{/gist_id}"
|
1524 |
+
]
|
1525 |
+
},
|
1526 |
+
"starred_url": {
|
1527 |
+
"type": "string",
|
1528 |
+
"examples": [
|
1529 |
+
"https://api.github.com/users/octocat/starred{/owner}{/repo}"
|
1530 |
+
]
|
1531 |
+
},
|
1532 |
+
"subscriptions_url": {
|
1533 |
+
"type": "string",
|
1534 |
+
"format": "uri",
|
1535 |
+
"examples": [
|
1536 |
+
"https://api.github.com/users/octocat/subscriptions"
|
1537 |
+
]
|
1538 |
+
},
|
1539 |
+
"organizations_url": {
|
1540 |
+
"type": "string",
|
1541 |
+
"format": "uri",
|
1542 |
+
"examples": [
|
1543 |
+
"https://api.github.com/users/octocat/orgs"
|
1544 |
+
]
|
1545 |
+
},
|
1546 |
+
"repos_url": {
|
1547 |
+
"type": "string",
|
1548 |
+
"format": "uri",
|
1549 |
+
"examples": [
|
1550 |
+
"https://api.github.com/users/octocat/repos"
|
1551 |
+
]
|
1552 |
+
},
|
1553 |
+
"events_url": {
|
1554 |
+
"type": "string",
|
1555 |
+
"examples": [
|
1556 |
+
"https://api.github.com/users/octocat/events{/privacy}"
|
1557 |
+
]
|
1558 |
+
},
|
1559 |
+
"received_events_url": {
|
1560 |
+
"type": "string",
|
1561 |
+
"format": "uri",
|
1562 |
+
"examples": [
|
1563 |
+
"https://api.github.com/users/octocat/received_events"
|
1564 |
+
]
|
1565 |
+
},
|
1566 |
+
"type": {
|
1567 |
+
"type": "string",
|
1568 |
+
"examples": [
|
1569 |
+
"User"
|
1570 |
+
]
|
1571 |
+
},
|
1572 |
+
"site_admin": {
|
1573 |
+
"type": "boolean"
|
1574 |
+
},
|
1575 |
+
"name": {
|
1576 |
+
"type": [
|
1577 |
+
"string",
|
1578 |
+
"null"
|
1579 |
+
],
|
1580 |
+
"examples": [
|
1581 |
+
"monalisa octocat"
|
1582 |
+
]
|
1583 |
+
},
|
1584 |
+
"company": {
|
1585 |
+
"type": [
|
1586 |
+
"string",
|
1587 |
+
"null"
|
1588 |
+
],
|
1589 |
+
"examples": [
|
1590 |
+
"GitHub"
|
1591 |
+
]
|
1592 |
+
},
|
1593 |
+
"blog": {
|
1594 |
+
"type": [
|
1595 |
+
"string",
|
1596 |
+
"null"
|
1597 |
+
],
|
1598 |
+
"examples": [
|
1599 |
+
"https://github.com/blog"
|
1600 |
+
]
|
1601 |
+
},
|
1602 |
+
"location": {
|
1603 |
+
"type": [
|
1604 |
+
"string",
|
1605 |
+
"null"
|
1606 |
+
],
|
1607 |
+
"examples": [
|
1608 |
+
"San Francisco"
|
1609 |
+
]
|
1610 |
+
},
|
1611 |
+
"email": {
|
1612 |
+
"type": [
|
1613 |
+
"string",
|
1614 |
+
"null"
|
1615 |
+
],
|
1616 |
+
"format": "email",
|
1617 |
+
"examples": [
|
1618 |
+
"octocat@github.com"
|
1619 |
+
]
|
1620 |
+
},
|
1621 |
+
"hireable": {
|
1622 |
+
"type": [
|
1623 |
+
"boolean",
|
1624 |
+
"null"
|
1625 |
+
]
|
1626 |
+
},
|
1627 |
+
"bio": {
|
1628 |
+
"type": [
|
1629 |
+
"string",
|
1630 |
+
"null"
|
1631 |
+
],
|
1632 |
+
"examples": [
|
1633 |
+
"There once was..."
|
1634 |
+
]
|
1635 |
+
},
|
1636 |
+
"twitter_username": {
|
1637 |
+
"type": [
|
1638 |
+
"string",
|
1639 |
+
"null"
|
1640 |
+
],
|
1641 |
+
"examples": [
|
1642 |
+
"monalisa"
|
1643 |
+
]
|
1644 |
+
},
|
1645 |
+
"public_repos": {
|
1646 |
+
"type": "integer",
|
1647 |
+
"examples": [
|
1648 |
+
2
|
1649 |
+
]
|
1650 |
+
},
|
1651 |
+
"public_gists": {
|
1652 |
+
"type": "integer",
|
1653 |
+
"examples": [
|
1654 |
+
1
|
1655 |
+
]
|
1656 |
+
},
|
1657 |
+
"followers": {
|
1658 |
+
"type": "integer",
|
1659 |
+
"examples": [
|
1660 |
+
20
|
1661 |
+
]
|
1662 |
+
},
|
1663 |
+
"following": {
|
1664 |
+
"type": "integer",
|
1665 |
+
"examples": [
|
1666 |
+
0
|
1667 |
+
]
|
1668 |
+
},
|
1669 |
+
"created_at": {
|
1670 |
+
"type": "string",
|
1671 |
+
"format": "date-time",
|
1672 |
+
"examples": [
|
1673 |
+
"2008-01-14T04:33:35Z"
|
1674 |
+
]
|
1675 |
+
},
|
1676 |
+
"updated_at": {
|
1677 |
+
"type": "string",
|
1678 |
+
"format": "date-time",
|
1679 |
+
"examples": [
|
1680 |
+
"2008-01-14T04:33:35Z"
|
1681 |
+
]
|
1682 |
+
},
|
1683 |
+
"private_gists": {
|
1684 |
+
"type": "integer",
|
1685 |
+
"examples": [
|
1686 |
+
81
|
1687 |
+
]
|
1688 |
+
},
|
1689 |
+
"total_private_repos": {
|
1690 |
+
"type": "integer",
|
1691 |
+
"examples": [
|
1692 |
+
100
|
1693 |
+
]
|
1694 |
+
},
|
1695 |
+
"owned_private_repos": {
|
1696 |
+
"type": "integer",
|
1697 |
+
"examples": [
|
1698 |
+
100
|
1699 |
+
]
|
1700 |
+
},
|
1701 |
+
"disk_usage": {
|
1702 |
+
"type": "integer",
|
1703 |
+
"examples": [
|
1704 |
+
10000
|
1705 |
+
]
|
1706 |
+
},
|
1707 |
+
"collaborators": {
|
1708 |
+
"type": "integer",
|
1709 |
+
"examples": [
|
1710 |
+
8
|
1711 |
+
]
|
1712 |
+
},
|
1713 |
+
"two_factor_authentication": {
|
1714 |
+
"type": "boolean",
|
1715 |
+
"examples": [
|
1716 |
+
true
|
1717 |
+
]
|
1718 |
+
},
|
1719 |
+
"plan": {
|
1720 |
+
"type": "object",
|
1721 |
+
"properties": {
|
1722 |
+
"collaborators": {
|
1723 |
+
"type": "integer"
|
1724 |
+
},
|
1725 |
+
"name": {
|
1726 |
+
"type": "string"
|
1727 |
+
},
|
1728 |
+
"space": {
|
1729 |
+
"type": "integer"
|
1730 |
+
},
|
1731 |
+
"private_repos": {
|
1732 |
+
"type": "integer"
|
1733 |
+
}
|
1734 |
+
},
|
1735 |
+
"required": [
|
1736 |
+
"collaborators",
|
1737 |
+
"name",
|
1738 |
+
"space",
|
1739 |
+
"private_repos"
|
1740 |
+
]
|
1741 |
+
},
|
1742 |
+
"suspended_at": {
|
1743 |
+
"type": [
|
1744 |
+
"string",
|
1745 |
+
"null"
|
1746 |
+
],
|
1747 |
+
"format": "date-time"
|
1748 |
+
},
|
1749 |
+
"business_plus": {
|
1750 |
+
"type": "boolean"
|
1751 |
+
},
|
1752 |
+
"ldap_dn": {
|
1753 |
+
"type": "string"
|
1754 |
+
}
|
1755 |
+
},
|
1756 |
+
"required": [
|
1757 |
+
"avatar_url",
|
1758 |
+
"events_url",
|
1759 |
+
"followers_url",
|
1760 |
+
"following_url",
|
1761 |
+
"gists_url",
|
1762 |
+
"gravatar_id",
|
1763 |
+
"html_url",
|
1764 |
+
"id",
|
1765 |
+
"node_id",
|
1766 |
+
"login",
|
1767 |
+
"organizations_url",
|
1768 |
+
"received_events_url",
|
1769 |
+
"repos_url",
|
1770 |
+
"site_admin",
|
1771 |
+
"starred_url",
|
1772 |
+
"subscriptions_url",
|
1773 |
+
"type",
|
1774 |
+
"url",
|
1775 |
+
"bio",
|
1776 |
+
"blog",
|
1777 |
+
"company",
|
1778 |
+
"email",
|
1779 |
+
"followers",
|
1780 |
+
"following",
|
1781 |
+
"hireable",
|
1782 |
+
"location",
|
1783 |
+
"name",
|
1784 |
+
"public_gists",
|
1785 |
+
"public_repos",
|
1786 |
+
"created_at",
|
1787 |
+
"updated_at",
|
1788 |
+
"collaborators",
|
1789 |
+
"disk_usage",
|
1790 |
+
"owned_private_repos",
|
1791 |
+
"private_gists",
|
1792 |
+
"total_private_repos",
|
1793 |
+
"two_factor_authentication"
|
1794 |
+
]
|
1795 |
+
},
|
1796 |
+
{
|
1797 |
+
"title": "Public User",
|
1798 |
+
"description": "Public User",
|
1799 |
+
"type": "object",
|
1800 |
+
"properties": {
|
1801 |
+
"login": {
|
1802 |
+
"type": "string"
|
1803 |
+
},
|
1804 |
+
"id": {
|
1805 |
+
"type": "integer"
|
1806 |
+
},
|
1807 |
+
"node_id": {
|
1808 |
+
"type": "string"
|
1809 |
+
},
|
1810 |
+
"avatar_url": {
|
1811 |
+
"type": "string",
|
1812 |
+
"format": "uri"
|
1813 |
+
},
|
1814 |
+
"gravatar_id": {
|
1815 |
+
"type": [
|
1816 |
+
"string",
|
1817 |
+
"null"
|
1818 |
+
]
|
1819 |
+
},
|
1820 |
+
"url": {
|
1821 |
+
"type": "string",
|
1822 |
+
"format": "uri"
|
1823 |
+
},
|
1824 |
+
"html_url": {
|
1825 |
+
"type": "string",
|
1826 |
+
"format": "uri"
|
1827 |
+
},
|
1828 |
+
"followers_url": {
|
1829 |
+
"type": "string",
|
1830 |
+
"format": "uri"
|
1831 |
+
},
|
1832 |
+
"following_url": {
|
1833 |
+
"type": "string"
|
1834 |
+
},
|
1835 |
+
"gists_url": {
|
1836 |
+
"type": "string"
|
1837 |
+
},
|
1838 |
+
"starred_url": {
|
1839 |
+
"type": "string"
|
1840 |
+
},
|
1841 |
+
"subscriptions_url": {
|
1842 |
+
"type": "string",
|
1843 |
+
"format": "uri"
|
1844 |
+
},
|
1845 |
+
"organizations_url": {
|
1846 |
+
"type": "string",
|
1847 |
+
"format": "uri"
|
1848 |
+
},
|
1849 |
+
"repos_url": {
|
1850 |
+
"type": "string",
|
1851 |
+
"format": "uri"
|
1852 |
+
},
|
1853 |
+
"events_url": {
|
1854 |
+
"type": "string"
|
1855 |
+
},
|
1856 |
+
"received_events_url": {
|
1857 |
+
"type": "string",
|
1858 |
+
"format": "uri"
|
1859 |
+
},
|
1860 |
+
"type": {
|
1861 |
+
"type": "string"
|
1862 |
+
},
|
1863 |
+
"site_admin": {
|
1864 |
+
"type": "boolean"
|
1865 |
+
},
|
1866 |
+
"name": {
|
1867 |
+
"type": [
|
1868 |
+
"string",
|
1869 |
+
"null"
|
1870 |
+
]
|
1871 |
+
},
|
1872 |
+
"company": {
|
1873 |
+
"type": [
|
1874 |
+
"string",
|
1875 |
+
"null"
|
1876 |
+
]
|
1877 |
+
},
|
1878 |
+
"blog": {
|
1879 |
+
"type": [
|
1880 |
+
"string",
|
1881 |
+
"null"
|
1882 |
+
]
|
1883 |
+
},
|
1884 |
+
"location": {
|
1885 |
+
"type": [
|
1886 |
+
"string",
|
1887 |
+
"null"
|
1888 |
+
]
|
1889 |
+
},
|
1890 |
+
"email": {
|
1891 |
+
"type": [
|
1892 |
+
"string",
|
1893 |
+
"null"
|
1894 |
+
],
|
1895 |
+
"format": "email"
|
1896 |
+
},
|
1897 |
+
"hireable": {
|
1898 |
+
"type": [
|
1899 |
+
"boolean",
|
1900 |
+
"null"
|
1901 |
+
]
|
1902 |
+
},
|
1903 |
+
"bio": {
|
1904 |
+
"type": [
|
1905 |
+
"string",
|
1906 |
+
"null"
|
1907 |
+
]
|
1908 |
+
},
|
1909 |
+
"twitter_username": {
|
1910 |
+
"type": [
|
1911 |
+
"string",
|
1912 |
+
"null"
|
1913 |
+
]
|
1914 |
+
},
|
1915 |
+
"public_repos": {
|
1916 |
+
"type": "integer"
|
1917 |
+
},
|
1918 |
+
"public_gists": {
|
1919 |
+
"type": "integer"
|
1920 |
+
},
|
1921 |
+
"followers": {
|
1922 |
+
"type": "integer"
|
1923 |
+
},
|
1924 |
+
"following": {
|
1925 |
+
"type": "integer"
|
1926 |
+
},
|
1927 |
+
"created_at": {
|
1928 |
+
"type": "string",
|
1929 |
+
"format": "date-time"
|
1930 |
+
},
|
1931 |
+
"updated_at": {
|
1932 |
+
"type": "string",
|
1933 |
+
"format": "date-time"
|
1934 |
+
},
|
1935 |
+
"plan": {
|
1936 |
+
"type": "object",
|
1937 |
+
"properties": {
|
1938 |
+
"collaborators": {
|
1939 |
+
"type": "integer"
|
1940 |
+
},
|
1941 |
+
"name": {
|
1942 |
+
"type": "string"
|
1943 |
+
},
|
1944 |
+
"space": {
|
1945 |
+
"type": "integer"
|
1946 |
+
},
|
1947 |
+
"private_repos": {
|
1948 |
+
"type": "integer"
|
1949 |
+
}
|
1950 |
+
},
|
1951 |
+
"required": [
|
1952 |
+
"collaborators",
|
1953 |
+
"name",
|
1954 |
+
"space",
|
1955 |
+
"private_repos"
|
1956 |
+
]
|
1957 |
+
},
|
1958 |
+
"suspended_at": {
|
1959 |
+
"type": [
|
1960 |
+
"string",
|
1961 |
+
"null"
|
1962 |
+
],
|
1963 |
+
"format": "date-time"
|
1964 |
+
},
|
1965 |
+
"private_gists": {
|
1966 |
+
"type": "integer",
|
1967 |
+
"examples": [
|
1968 |
+
1
|
1969 |
+
]
|
1970 |
+
},
|
1971 |
+
"total_private_repos": {
|
1972 |
+
"type": "integer",
|
1973 |
+
"examples": [
|
1974 |
+
2
|
1975 |
+
]
|
1976 |
+
},
|
1977 |
+
"owned_private_repos": {
|
1978 |
+
"type": "integer",
|
1979 |
+
"examples": [
|
1980 |
+
2
|
1981 |
+
]
|
1982 |
+
},
|
1983 |
+
"disk_usage": {
|
1984 |
+
"type": "integer",
|
1985 |
+
"examples": [
|
1986 |
+
1
|
1987 |
+
]
|
1988 |
+
},
|
1989 |
+
"collaborators": {
|
1990 |
+
"type": "integer",
|
1991 |
+
"examples": [
|
1992 |
+
3
|
1993 |
+
]
|
1994 |
+
}
|
1995 |
+
},
|
1996 |
+
"required": [
|
1997 |
+
"avatar_url",
|
1998 |
+
"events_url",
|
1999 |
+
"followers_url",
|
2000 |
+
"following_url",
|
2001 |
+
"gists_url",
|
2002 |
+
"gravatar_id",
|
2003 |
+
"html_url",
|
2004 |
+
"id",
|
2005 |
+
"node_id",
|
2006 |
+
"login",
|
2007 |
+
"organizations_url",
|
2008 |
+
"received_events_url",
|
2009 |
+
"repos_url",
|
2010 |
+
"site_admin",
|
2011 |
+
"starred_url",
|
2012 |
+
"subscriptions_url",
|
2013 |
+
"type",
|
2014 |
+
"url",
|
2015 |
+
"bio",
|
2016 |
+
"blog",
|
2017 |
+
"company",
|
2018 |
+
"email",
|
2019 |
+
"followers",
|
2020 |
+
"following",
|
2021 |
+
"hireable",
|
2022 |
+
"location",
|
2023 |
+
"name",
|
2024 |
+
"public_gists",
|
2025 |
+
"public_repos",
|
2026 |
+
"created_at",
|
2027 |
+
"updated_at"
|
2028 |
+
],
|
2029 |
+
"additionalProperties": false
|
2030 |
+
}
|
2031 |
+
]
|
2032 |
+
}
|
2033 |
+
```
|
2034 |
+
|
2035 |
+
</details>
|
2036 |
+
|
2037 |
+
## Methodology
|
2038 |
+
|
2039 |
+
A set of some random words were started as a seed. Then a search was performed against the GitHub API using one of those words, a random acceptable license, a random sort order and direction. Then from each repository, one of the most recent 1,000 commits was randomly selected. And words over seven characters were added back to the random word set. This process repeated one million times.
|
2040 |
+
|
2041 |
+
The acceptable licenses were chosen to include every license which allows that commit to be included in this dataset without me including one million separate licenses notices. Those are (identified by SPDX identifier):
|
2042 |
+
|
2043 |
+
- `apache-2.0`
|
2044 |
+
- `bsl-1.0`
|
2045 |
+
- `bsd-2-clause`
|
2046 |
+
- `bsd-3-clause`
|
2047 |
+
- `0bsd`
|
2048 |
+
- `cc0-1.0`
|
2049 |
+
- `wtfpl`
|
2050 |
+
- `isc`
|
2051 |
+
- `mit`
|
2052 |
+
- `postgresql`
|
2053 |
+
- `unlicense`
|
2054 |
+
- `zlib`
|
2055 |
+
|
2056 |
+
These licenses are identified in the dataset so you are easily able to filter if needed.
|
2057 |
+
|
2058 |
+
## Ethical considerations
|
2059 |
+
|
2060 |
+
Commits on GitHub include author contact information, which is publicly available to anybody even without a GitHub account. This dataset includes that contact information in each commit. This dataset creates a risk for spam unwanted outreach.
|
2061 |
+
|
2062 |
+
I considered whether it was appropriate to attempt redacting such information from the commit patches and contents, and ultimately decided against this.
|
2063 |
+
|
2064 |
+
Taking my own experience in receiving mail I have found that the vast majority of outreach to my GitHub email address (filtered through Gmail) is seemingly legitimate research requests and genuine interview requests, compared to zero apparent evil phishing or selling attempts. And practically, I understand it would be more effective and trivial for an evil spammer to look up individual author's contact information or to harvest it for a specific topic using the GitHub API than downloading and parsing this terabyte-scale dataset.
|
2065 |
+
|
2066 |
+
So overall, the risk was deemed acceptable.
|
2067 |
+
|
2068 |
+
## Caveats and recommendations
|
2069 |
+
|
2070 |
+
The database is not normalized. So you may find that author information in one commit does not match that same author's information in another commit. This is simply an artifact of the data collection process having taken course over a period of weeks rather than a single snapshot.
|
2071 |
+
|
2072 |
+
## Acknowledgements
|
2073 |
+
|
2074 |
+
Thank you to these people for sharing their GitHub API keys to aid in this research: [Dan Tedesco](https://twitter.com/dtedesco1), [@037](https://twitter.com/037), [Sandeep Pani](https://twitter.com/skcd42), [Axelle Moortgat](https://twitter.com/axellemoortgat)
|
2075 |
+
|
2076 |
+
## Citation
|
2077 |
+
|
2078 |
+
Please cite this dataset as:
|
2079 |
+
|
2080 |
+
```latex
|
2081 |
+
@misc{entriken_2023_onemillioncommits,
|
2082 |
+
author = {William Entriken},
|
2083 |
+
title = {``One million commits''},
|
2084 |
+
year = 2023,
|
2085 |
+
howpublished = {Hugging Face datasets},
|
2086 |
+
url = {https://huggingface.co/datasets/fulldecent/one-million-commits}
|
2087 |
+
}
|
2088 |
+
```
|