Skip to content

Commit 7536676

Browse files
Flatten authors and contributors array (#1214)
The authors and contributors of exercises are stored in an array in the exercises' `.meta/config.json` files. We used to have separate fields for the GitHub- and Exercism username of the user. As we're only using the GitHub username, we've flatten the `authors` and `contributors` array to an array of strings representing the GitHub usernames. See https://github.com/exercism/docs/pull/90/files
1 parent dc216ca commit 7536676

File tree

104 files changed

+109
-340
lines changed

Some content is hidden

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

104 files changed

+109
-340
lines changed

exercises/concept/assembly-line/.meta/config.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
{
22
"blurb": "Learn about numbers while working on an assembly line for cars.",
33
"authors": [
4-
{
5-
"github_username": "LewisClement",
6-
"exercism_username": "LewisClement"
7-
},
8-
{
9-
"github_username": "efx",
10-
"exercism_username": "efx"
11-
}
4+
"LewisClement",
5+
"efx"
126
],
137
"files": {
148
"solution": [

exercises/concept/csv-builder/.meta/config.json

+3-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
{
22
"blurb": "TODO: add blurb for csv-builder exercise",
33
"authors": [
4-
{
5-
"github_username": "gilescope",
6-
"exercism_username": "gilescope"
7-
},
8-
{
9-
"github_username": "coriolinus",
10-
"exercism_username": "coriolinus"
11-
},
12-
{
13-
"github_username": "efx",
14-
"exercism_username": "efx"
15-
}
4+
"gilescope",
5+
"coriolinus",
6+
"efx"
167
],
178
"files": {
189
"solution": [

exercises/concept/entry-api/.meta/config.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"blurb": "TODO: add blurb for entry-api exercise",
33
"authors": [
4-
{
5-
"github_username": "seanchen1991",
6-
"exercism_username": "seanchen1991"
7-
}
4+
"seanchen1991"
85
],
96
"files": {
107
"solution": [

exercises/concept/options/.meta/config.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
{
22
"blurb": "TODO: add blurb for options exercise",
33
"authors": [
4-
{
5-
"github_username": "seanchen1991",
6-
"exercism_username": "seanchen1991"
7-
},
8-
{
9-
"github_username": "coriolinus",
10-
"exercism_username": "coriolinus"
11-
}
4+
"seanchen1991",
5+
"coriolinus"
126
],
137
"files": {
148
"solution": [

exercises/concept/semi-structured-logs/.meta/config.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"blurb": "Learn enums while building a logging utility.",
33
"authors": [
4-
{
5-
"github_username": "efx",
6-
"exercism_username": "efx"
7-
}
4+
"efx"
85
],
96
"files": {
107
"solution": [

exercises/concept/structs/.meta/config.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"blurb": "TODO: add blurb for structs exercise",
33
"authors": [
4-
{
5-
"github_username": "seanchen1991",
6-
"exercism_username": "seanchen1991"
7-
}
4+
"seanchen1991"
85
],
96
"files": {
107
"solution": [

exercises/concept/tuples/.meta/config.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"blurb": "TODO: add blurb for tuples exercise",
33
"authors": [
4-
{
5-
"github_username": "coriolinus",
6-
"exercism_username": "coriolinus"
7-
}
4+
"coriolinus"
85
],
96
"files": {
107
"solution": [

exercises/concept/vec-macro/.meta/config.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
{
22
"blurb": "TODO: add blurb for vec-macro exercise",
33
"authors": [
4-
{
5-
"github_username": "efx",
6-
"exercism_username": "efx"
7-
},
8-
{
9-
"github_username": "coriolinus",
10-
"exercism_username": "coriolinus"
11-
}
4+
"efx",
5+
"coriolinus"
126
],
137
"files": {
148
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Implement the `accumulate` operation, which, given a collection and an operation to perform on each element of the collection, returns a new collection containing the result of applying that operation to each element of the input collection.",
33
"authors": [
4-
{
5-
"github_username": "sacherjj"
6-
}
4+
"sacherjj"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Convert a long phrase to its acronym",
33
"authors": [
4-
{
5-
"github_username": "gregcline"
6-
}
4+
"gregcline"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Create an implementation of the Affine cipher, an ancient encryption algorithm from the Middle East.",
33
"authors": [
4-
{
5-
"github_username": "ktomsic"
6-
}
4+
"ktomsic"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Convert a number, represented as a sequence of digits in one base, to any other base.",
33
"authors": [
4-
{
5-
"github_username": "jonasbb"
6-
}
4+
"jonasbb"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.",
33
"authors": [
4-
{
5-
"github_username": "EduardoBautista"
6-
}
4+
"EduardoBautista"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Write a function to solve alphametics puzzles.",
33
"authors": [
4-
{
5-
"github_username": "ijanos"
6-
}
4+
"ijanos"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Given a word and a list of possible anagrams, select the correct sublist.",
33
"authors": [
4-
{
5-
"github_username": "EduardoBautista"
6-
}
4+
"EduardoBautista"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Determine if a number is an Armstrong number",
33
"authors": [
4-
{
5-
"github_username": "shingtaklam1324"
6-
}
4+
"shingtaklam1324"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.",
33
"authors": [
4-
{
5-
"github_username": "nikhilshagri"
6-
}
4+
"nikhilshagri"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.",
33
"authors": [
4-
{
5-
"github_username": "EduardoBautista"
6-
}
4+
"EduardoBautista"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Implement a binary search algorithm.",
33
"authors": [
4-
{
5-
"github_username": "shybyte"
6-
}
4+
"shybyte"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.",
33
"authors": [
4-
{
5-
"github_username": "EduardoBautista"
6-
}
4+
"EduardoBautista"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "To try and encourage more sales of different books from a popular 5 book series, a bookshop has decided to offer discounts of multiple-book purchases.",
33
"authors": [
4-
{
5-
"github_username": "coriolinus"
6-
}
4+
"coriolinus"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Score a bowling game",
33
"authors": [
4-
{
5-
"github_username": "IanWhitney"
6-
}
4+
"IanWhitney"
75
],
86
"files": {
97
"solution": [

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "A data structure that uses a single, fixed-size buffer as if it were connected end-to-end.",
33
"authors": [
4-
{
5-
"github_username": "EduardoBautista"
6-
}
4+
"EduardoBautista"
75
],
86
"files": {
97
"solution": [

exercises/practice/clock/.meta/config.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Implement a clock that handles times without dates.",
33
"authors": [
4-
{
5-
"github_username": "sacherjj"
6-
}
4+
"sacherjj"
75
],
86
"files": {
97
"solution": [

exercises/practice/collatz-conjecture/.meta/config.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Calculate the number of steps to reach 1 using the Collatz conjecture",
33
"authors": [
4-
{
5-
"github_username": "jgilray"
6-
}
4+
"jgilray"
75
],
86
"files": {
97
"solution": [

exercises/practice/crypto-square/.meta/config.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Implement the classic method for composing secret messages called a square code.",
33
"authors": [
4-
{
5-
"github_username": "coriolinus"
6-
}
4+
"coriolinus"
75
],
86
"files": {
97
"solution": [

exercises/practice/custom-set/.meta/config.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Create a custom set type.",
33
"authors": [
4-
{
5-
"github_username": "EduardoBautista"
6-
}
4+
"EduardoBautista"
75
],
86
"files": {
97
"solution": [

exercises/practice/decimal/.meta/config.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"blurb": "Implement a Decimal type",
33
"source": "Peter Goodspeed-Niklaus",
44
"authors": [
5-
{
6-
"github_username": "coriolinus"
7-
}
5+
"coriolinus"
86
],
97
"files": {
108
"solution": [

exercises/practice/diamond/.meta/config.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Given a letter, print a diamond starting with 'A' with the supplied letter at the widest point.",
33
"authors": [
4-
{
5-
"github_username": "Menkir"
6-
}
4+
"Menkir"
75
],
86
"files": {
97
"solution": [

exercises/practice/difference-of-squares/.meta/config.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.",
33
"authors": [
4-
{
5-
"github_username": "EduardoBautista"
6-
}
4+
"EduardoBautista"
75
],
86
"files": {
97
"solution": [

exercises/practice/diffie-hellman/.meta/config.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Diffie-Hellman key exchange.",
33
"authors": [
4-
{
5-
"github_username": "hekrause"
6-
}
4+
"hekrause"
75
],
86
"files": {
97
"solution": [

exercises/practice/dominoes/.meta/config.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Make a chain of dominoes.",
33
"authors": [
4-
{
5-
"github_username": "EduardoBautista"
6-
}
4+
"EduardoBautista"
75
],
86
"files": {
97
"solution": [

exercises/practice/dot-dsl/.meta/config.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"blurb": "Write a Domain Specific Language similar to the Graphviz dot language",
33
"authors": [
4-
{
5-
"github_username": "ZapAnton"
6-
}
4+
"ZapAnton"
75
],
86
"files": {
97
"solution": [

0 commit comments

Comments
 (0)