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

Lines changed: 2 additions & 8 deletions
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

Lines changed: 3 additions & 12 deletions
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 2 additions & 8 deletions
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 2 additions & 8 deletions
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

Lines changed: 1 addition & 3 deletions
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

Lines changed: 1 addition & 3 deletions
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": [

0 commit comments

Comments
 (0)