Skip to content

Commit a587584

Browse files
ErikSchierboommirkoperillo
authored andcommitted
[v3] Sync source information from prob-specs
Source information for Practice Exercises will be stored in their `.meta/config.json` file, in the (optional) `source` and/or `source_url` properties. This commit adds the source information from the corresponding problem-specifications exercise to the `.meta/config.json` file. The new [configlet](https://github.com/exercism/configlet) version will add support for doing this syncing automatically. Exercism v3 will automatically include the source information in the README.md file that is sent via the CLI using the source properties in the `.meta/config.json` file. See [the spec](https://github.com/exercism/docs/blob/main/anatomy/tracks/practice-exercises.md) for more information.
1 parent 2dbe207 commit a587584

98 files changed

Lines changed: 287 additions & 98 deletions

File tree

Some content is hidden

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

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Conversation with James Edward Gray II",
9+
"source_url": "https://twitter.com/jeg2"
810
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Julien Vanier",
9+
"source_url": "https://github.com/monkbroc"
810
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Wikipedia",
9+
"source_url": "http://en.wikipedia.org/wiki/Affine_cipher"
810
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Jumpstart Lab Warm-up",
9+
"source_url": "http://jumpstartlab.com"
810
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Inspired by the Extreme Startup game",
9+
"source_url": "https://github.com/rchatley/extreme_startup"
810
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Wikipedia",
9+
"source_url": "https://en.wikipedia.org/wiki/Narcissistic_number"
810
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Wikipedia",
9+
"source_url": "http://en.wikipedia.org/wiki/Atbash"
810
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Learn to Program by Chris Pine",
9+
"source_url": "http://pine.fm/LearnToProgram/?Chapter=06"
810
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Josh Cheek",
9+
"source_url": "https://twitter.com/josh_cheek"
810
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
"solution": [],
55
"test": [],
66
"example": []
7-
}
7+
},
8+
"source": "Wikipedia",
9+
"source_url": "http://en.wikipedia.org/wiki/Binary_search_algorithm"
810
}

0 commit comments

Comments
 (0)