Skip to content

Commit 7c8758b

Browse files
ErikSchierboomefx
andauthored
🤖 Add authors and contributors to Practice Exercises (#1216)
* Add authors and contributors to Practice Exercises For each Practice Exercise, we've looked at the commit history of its files to see which commits touched that Practice Exercise. Each commit that we could associate with a Practice Exercise was used to determine authorship/contributorship. ### Authors 1. Find the Git commit author of the oldest commit linked to that Practice Exercise 2. Find the GitHub username for the Git commit author of that commit 3. Add the GitHub username of the Git commit author to the `authors` key in the `.meta/config.json` file ### Contributors 1. Find the Git commit authors and any co-authors of all but the oldest commit linked to that Practice Exercise. If there is only one commit, there won't be any contributors. 1. Exclude the Git commit author and any co-authors of the oldest commit from the list of Git commit authors (an author is _not_ also a contributor) 2. Find the GitHub usernames for the Git commit authors and any co-authors of those commits 3. Add the GitHub usernames of the Git commit authors and any co-authors to the `contributor` key in the `.meta/config.json` file We used the GitHub GraphQL API to find the username of a commit author or any co-authors. In some cases though, a username cannot be found for a commit (e.g. due to the user account no longer existing), in which case the commit was skipped. ## Renames There are a small number of Practice Exercises that might have been renamed at some point. You can ask Git to "follow" a file over its renames using `git log --follow <file>`, which will also return commits made before renames. Unfortunately, Git does not store renames, it just stores the contents of the renamed files and tries to guess if a file was renamed by looking at its contents. This _can_ (and will) lead to false positives, where Git will think a file has been renamed whereas it hasn't. As we don't want to have incorrect authors/contributors for exercises, we're ignoring renames. The only exception to this are known exercise renames: - `bracket-push` was renamed to `matching-brackets` - `retree` was renamed to `satellite` - `resistor-colors` was renamed to `resistor-color-duo` - `kindergarden-garden` was renamed to `kindergarten-garden` ## Exclusions There are some commits that we skipped over, and which thus didn't influence the authors/contributors list: - Commits authored by `dependabot[bot]`, `dependabot-preview[bot]` or `github-actions[bot]` - Bulk update PRs made by `ErikSchierboom` or `kytrinx` to update the track * manually add ekse Per [request](#1216 (comment)) Co-authored-by: Eli Flanagan <[email protected]>
1 parent 24c6065 commit 7c8758b

File tree

96 files changed

+1700
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+1700
-0
lines changed

‎exercises/practice/accumulate/.meta/config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
"authors": [
44
"sacherjj"
55
],
6+
"contributors": [
7+
"attilahorvath",
8+
"ccouzens",
9+
"coriolinus",
10+
"cwhakes",
11+
"efx",
12+
"Emerentius",
13+
"ErikSchierboom",
14+
"lutostag",
15+
"nfiles",
16+
"petertseng",
17+
"rofrol",
18+
"stringparser",
19+
"xakon",
20+
"ZapAnton"
21+
],
622
"files": {
723
"solution": [
824
"src/lib.rs"

‎exercises/practice/acronym/.meta/config.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
33
"authors": [
44
"gregcline"
55
],
6+
"contributors": [
7+
"AndrewKvalheim",
8+
"ClashTheBunny",
9+
"coriolinus",
10+
"cwhakes",
11+
"efx",
12+
"ErikSchierboom",
13+
"IanWhitney",
14+
"ktomsic",
15+
"lutostag",
16+
"mkantor",
17+
"navossoc",
18+
"nfiles",
19+
"petertseng",
20+
"rofrol",
21+
"stringparser",
22+
"thvdburgt",
23+
"xakon",
24+
"ZapAnton"
25+
],
626
"files": {
727
"solution": [
828
"src/lib.rs"

‎exercises/practice/affine-cipher/.meta/config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
"authors": [
44
"ktomsic"
55
],
6+
"contributors": [
7+
"coriolinus",
8+
"cwhakes",
9+
"efx",
10+
"ErikSchierboom",
11+
"ffflorian",
12+
"petertseng"
13+
],
614
"files": {
715
"solution": [
816
"src/lib.rs"

‎exercises/practice/all-your-base/.meta/config.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@
33
"authors": [
44
"jonasbb"
55
],
6+
"contributors": [
7+
"CGMossa",
8+
"coriolinus",
9+
"cwhakes",
10+
"efx",
11+
"ErikSchierboom",
12+
"IanWhitney",
13+
"lutostag",
14+
"mkantor",
15+
"navossoc",
16+
"nfiles",
17+
"pedantic79",
18+
"petertseng",
19+
"rofrol",
20+
"stringparser",
21+
"xakon",
22+
"ZapAnton"
23+
],
624
"files": {
725
"solution": [
826
"src/lib.rs"

‎exercises/practice/allergies/.meta/config.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
33
"authors": [
44
"EduardoBautista"
55
],
6+
"contributors": [
7+
"ashleygwilliams",
8+
"coriolinus",
9+
"cwhakes",
10+
"EduardoBautista",
11+
"efx",
12+
"ErikSchierboom",
13+
"IanWhitney",
14+
"kytrinyx",
15+
"lutostag",
16+
"mkantor",
17+
"navossoc",
18+
"nfiles",
19+
"petertseng",
20+
"rofrol",
21+
"stringparser",
22+
"taravancil",
23+
"xakon",
24+
"ZapAnton"
25+
],
626
"files": {
727
"solution": [
828
"src/lib.rs"

‎exercises/practice/alphametics/.meta/config.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
33
"authors": [
44
"ijanos"
55
],
6+
"contributors": [
7+
"Baelyk",
8+
"ClashTheBunny",
9+
"coriolinus",
10+
"cwhakes",
11+
"efx",
12+
"ErikSchierboom",
13+
"IanWhitney",
14+
"lutostag",
15+
"mkantor",
16+
"navossoc",
17+
"nfiles",
18+
"nikamirrr",
19+
"omer-g",
20+
"petertseng",
21+
"rofrol",
22+
"stringparser",
23+
"xakon",
24+
"ZapAnton"
25+
],
626
"files": {
727
"solution": [
828
"src/lib.rs"

‎exercises/practice/anagram/.meta/config.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,33 @@
33
"authors": [
44
"EduardoBautista"
55
],
6+
"contributors": [
7+
"andrewclarkson",
8+
"ashleygwilliams",
9+
"bobahop",
10+
"chancancode",
11+
"ClashTheBunny",
12+
"coriolinus",
13+
"cwhakes",
14+
"Dimkar3000",
15+
"EduardoBautista",
16+
"efx",
17+
"ErikSchierboom",
18+
"gris",
19+
"IanWhitney",
20+
"kytrinyx",
21+
"lutostag",
22+
"mkantor",
23+
"nfiles",
24+
"petertseng",
25+
"pminten",
26+
"quartsize",
27+
"rofrol",
28+
"stevejb71",
29+
"stringparser",
30+
"xakon",
31+
"ZapAnton"
32+
],
633
"files": {
734
"solution": [
835
"src/lib.rs"

‎exercises/practice/armstrong-numbers/.meta/config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
"authors": [
44
"shingtaklam1324"
55
],
6+
"contributors": [
7+
"AndrewKvalheim",
8+
"coriolinus",
9+
"cwhakes",
10+
"eddyp",
11+
"efx",
12+
"ErikSchierboom",
13+
"lutostag",
14+
"ocstl",
15+
"petertseng",
16+
"rofrol",
17+
"sputnick1124",
18+
"stringparser",
19+
"xakon",
20+
"ZapAnton"
21+
],
622
"files": {
723
"solution": [
824
"src/lib.rs"

‎exercises/practice/atbash-cipher/.meta/config.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
33
"authors": [
44
"nikhilshagri"
55
],
6+
"contributors": [
7+
"AvasDream",
8+
"coriolinus",
9+
"cwhakes",
10+
"efx",
11+
"ErikSchierboom",
12+
"IanWhitney",
13+
"lutostag",
14+
"mkantor",
15+
"navossoc",
16+
"nfiles",
17+
"nikhilshagri",
18+
"ocstl",
19+
"rofrol",
20+
"stringparser",
21+
"vadimkerr",
22+
"xakon",
23+
"ZapAnton"
24+
],
625
"files": {
726
"solution": [
827
"src/lib.rs"

‎exercises/practice/beer-song/.meta/config.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@
33
"authors": [
44
"EduardoBautista"
55
],
6+
"contributors": [
7+
"andrewclarkson",
8+
"ashleygwilliams",
9+
"coriolinus",
10+
"cwhakes",
11+
"EduardoBautista",
12+
"efx",
13+
"ErikSchierboom",
14+
"IanWhitney",
15+
"kytrinyx",
16+
"leoyvens",
17+
"lutostag",
18+
"mkantor",
19+
"murlakatamenka",
20+
"navossoc",
21+
"nfiles",
22+
"petertseng",
23+
"pminten",
24+
"razielgn",
25+
"rofrol",
26+
"stringparser",
27+
"xakon",
28+
"ZapAnton"
29+
],
630
"files": {
731
"solution": [
832
"src/lib.rs"

‎exercises/practice/binary-search/.meta/config.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@
33
"authors": [
44
"shybyte"
55
],
6+
"contributors": [
7+
"Cohen-Carlisle",
8+
"coriolinus",
9+
"cwhakes",
10+
"efx",
11+
"ErikSchierboom",
12+
"lutostag",
13+
"nfiles",
14+
"petertseng",
15+
"rofrol",
16+
"stringparser",
17+
"xakon",
18+
"ZapAnton"
19+
],
620
"files": {
721
"solution": [
822
"src/lib.rs"

‎exercises/practice/bob/.meta/config.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,36 @@
33
"authors": [
44
"EduardoBautista"
55
],
6+
"contributors": [
7+
"andrewclarkson",
8+
"ashleygwilliams",
9+
"austinlyons",
10+
"cjmochrie",
11+
"cmccandless",
12+
"coriolinus",
13+
"cwhakes",
14+
"EduardoBautista",
15+
"efx",
16+
"ErikSchierboom",
17+
"etrepum",
18+
"f3rn0s",
19+
"IanWhitney",
20+
"kytrinyx",
21+
"leoyvens",
22+
"lewisclement",
23+
"lutostag",
24+
"mkantor",
25+
"nfiles",
26+
"petertseng",
27+
"pminten",
28+
"rofrol",
29+
"rpottsoh",
30+
"stefanv",
31+
"stringparser",
32+
"vvv",
33+
"xakon",
34+
"ZapAnton"
35+
],
636
"files": {
737
"solution": [
838
"src/lib.rs"

‎exercises/practice/book-store/.meta/config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
"authors": [
44
"coriolinus"
55
],
6+
"contributors": [
7+
"Baelyk",
8+
"cwhakes",
9+
"efx",
10+
"ErikSchierboom",
11+
"lutostag",
12+
"petertseng",
13+
"rofrol",
14+
"stringparser",
15+
"xakon",
16+
"ZapAnton"
17+
],
618
"files": {
719
"solution": [
820
"src/lib.rs"

‎exercises/practice/bowling/.meta/config.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@
33
"authors": [
44
"IanWhitney"
55
],
6+
"contributors": [
7+
"britto",
8+
"cmccandless",
9+
"coriolinus",
10+
"cwhakes",
11+
"efx",
12+
"ErikSchierboom",
13+
"isgj",
14+
"lutostag",
15+
"mkantor",
16+
"nfiles",
17+
"petertseng",
18+
"rofrol",
19+
"stringparser",
20+
"xakon",
21+
"ZapAnton"
22+
],
623
"files": {
724
"solution": [
825
"src/lib.rs"

‎exercises/practice/circular-buffer/.meta/config.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,27 @@
33
"authors": [
44
"EduardoBautista"
55
],
6+
"contributors": [
7+
"ekse",
8+
"alexschrod",
9+
"ashleygwilliams",
10+
"coriolinus",
11+
"cwhakes",
12+
"EduardoBautista",
13+
"efx",
14+
"ErikSchierboom",
15+
"IanWhitney",
16+
"Jonah-Horowitz",
17+
"kytrinyx",
18+
"lutostag",
19+
"mkantor",
20+
"nfiles",
21+
"petertseng",
22+
"rofrol",
23+
"stringparser",
24+
"xakon",
25+
"ZapAnton"
26+
],
627
"files": {
728
"solution": [
829
"src/lib.rs"

0 commit comments

Comments
 (0)