Skip to content

Commit

Permalink
🤖 Add blurb to .meta/config.json files (exercism#1186)
Browse files Browse the repository at this point in the history
* Add blurb to Practice Exercise .meta/config.json files

Each Practice Exercise will have to define a blurb, which is a short description of the exercise.
The blurb will be displayed on a track's exercises page (e.g. https://exercism.lol/tracks/csharp/exercises).

For Practice Exercises that are based on an exercise defined in the problem-specification repo, the blurb must match the contents of the problem-specifications exercises, which is defined in its `metadata.yml` file. In this commit, we'll do an initial syncing of the blurb. The new [configlet](https://github.com/exercism/configlet) version will add support for doing this syncing automatically.

If the Practice Exercise was _not_ based on a problems-specifications exercise, we've used the blurb from its `.meta/metadata.yml` file as the blurb in the .meta/config.json file.

See [the spec](https://github.com/exercism/docs/blob/main/anatomy/tracks/practice-exercises.md#file-metaconfigjson) for more information.

* Add placeholder blurb to Concept Exercise .meta/config.json files

Each Concept Exercise will have to define a blurb, which is a short description of the exercise.
The blurb will be displayed on a track's exercises page (e.g. https://exercism.lol/tracks/csharp/exercises).

This commit adds a placeholder blurb to the .meta/config.json file of each Concept Exercise.

See [the spec](https://github.com/exercism/docs/blob/main/anatomy/tracks/concept-exercises.md#file-metaconfigjson) for more information.

Co-authored-by: Eli Flanagan <[email protected]>
  • Loading branch information
ErikSchierboom and efx authored Mar 8, 2021
1 parent b5617de commit f5f079e
Show file tree
Hide file tree
Showing 104 changed files with 176 additions and 24 deletions.
13 changes: 10 additions & 3 deletions exercises/concept/csv-builder/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "TODO: add blurb for csv-builder exercise",
"authors": [
{
"github_username": "gilescope",
Expand All @@ -14,8 +15,14 @@
}
],
"files": {
"solution": ["src/lib.rs"],
"test": ["tests/csv_builder.rs"],
"exemplar": [".meta/exemplar.rs"]
"solution": [
"src/lib.rs"
],
"test": [
"tests/csv_builder.rs"
],
"exemplar": [
".meta/exemplar.rs"
]
}
}
13 changes: 10 additions & 3 deletions exercises/concept/entry-api/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
{
"blurb": "TODO: add blurb for entry-api exercise",
"authors": [
{
"github_username": "seanchen1991",
"exercism_username": "seanchen1991"
}
],
"files": {
"solution": ["src/lib.rs"],
"test": ["tests/entry_api.rs"],
"exemplar": [".meta/exemplar.rs"]
"solution": [
"src/lib.rs"
],
"test": [
"tests/entry_api.rs"
],
"exemplar": [
".meta/exemplar.rs"
]
}
}
13 changes: 10 additions & 3 deletions exercises/concept/enums/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
{
"blurb": "TODO: add blurb for enums exercise",
"authors": [
{
"github_username": "efx",
"exercism_username": "efx"
}
],
"files": {
"solution": ["src/lib.rs"],
"test": ["tests/enums.rs"],
"exemplar": [".meta/exemplar.rs"]
"solution": [
"src/lib.rs"
],
"test": [
"tests/enums.rs"
],
"exemplar": [
".meta/exemplar.rs"
]
}
}
13 changes: 10 additions & 3 deletions exercises/concept/numbers/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
{
"blurb": "TODO: add blurb for numbers exercise",
"authors": [
{
"github_username": "LewisClement",
"exercism_username": "LewisClement"
}
],
"files": {
"solution": ["src/lib.rs"],
"test": ["tests/numbers.rs"],
"exemplar": [".meta/exemplar.rs"]
"solution": [
"src/lib.rs"
],
"test": [
"tests/numbers.rs"
],
"exemplar": [
".meta/exemplar.rs"
]
}
}
13 changes: 10 additions & 3 deletions exercises/concept/options/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "TODO: add blurb for options exercise",
"authors": [
{
"github_username": "seanchen1991",
Expand All @@ -10,8 +11,14 @@
}
],
"files": {
"solution": ["src/lib.rs"],
"test": ["tests/options.rs"],
"exemplar": [".meta/exemplar.rs"]
"solution": [
"src/lib.rs"
],
"test": [
"tests/options.rs"
],
"exemplar": [
".meta/exemplar.rs"
]
}
}
13 changes: 10 additions & 3 deletions exercises/concept/structs/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
{
"blurb": "TODO: add blurb for structs exercise",
"authors": [
{
"github_username": "seanchen1991",
"exercism_username": "seanchen1991"
}
],
"files": {
"solution": ["src/lib.rs"],
"test": ["tests/structs.rs"],
"exemplar": [".meta/exemplar.rs"]
"solution": [
"src/lib.rs"
],
"test": [
"tests/structs.rs"
],
"exemplar": [
".meta/exemplar.rs"
]
}
}
13 changes: 10 additions & 3 deletions exercises/concept/tuples/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
{
"blurb": "TODO: add blurb for tuples exercise",
"authors": [
{
"github_username": "coriolinus",
"exercism_username": "coriolinus"
}
],
"files": {
"solution": ["src/lib.rs"],
"test": ["tests/tuples.rs"],
"exemplar": [".meta/exemplar.rs"]
"solution": [
"src/lib.rs"
],
"test": [
"tests/tuples.rs"
],
"exemplar": [
".meta/exemplar.rs"
]
}
}
13 changes: 10 additions & 3 deletions exercises/concept/vec-macro/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "TODO: add blurb for vec-macro exercise",
"authors": [
{
"github_username": "efx",
Expand All @@ -10,8 +11,14 @@
}
],
"files": {
"solution": ["src/lib.rs"],
"test": ["tests/vec_macro.rs"],
"exemplar": [".meta/exemplar.rs"]
"solution": [
"src/lib.rs"
],
"test": [
"tests/vec_macro.rs"
],
"exemplar": [
".meta/exemplar.rs"
]
}
}
1 change: 1 addition & 0 deletions exercises/practice/accumulate/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"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.",
"authors": [
{
"github_username": "sacherjj"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/acronym/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Convert a long phrase to its acronym",
"authors": [
{
"github_username": "gregcline"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/affine-cipher/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Create an implementation of the Affine cipher, an ancient encryption algorithm from the Middle East.",
"authors": [
{
"github_username": "ktomsic"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/all-your-base/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Convert a number, represented as a sequence of digits in one base, to any other base.",
"authors": [
{
"github_username": "jonasbb"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/allergies/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.",
"authors": [
{
"github_username": "EduardoBautista"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/alphametics/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Write a function to solve alphametics puzzles.",
"authors": [
{
"github_username": "ijanos"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/anagram/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Given a word and a list of possible anagrams, select the correct sublist.",
"authors": [
{
"github_username": "EduardoBautista"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/armstrong-numbers/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Determine if a number is an Armstrong number",
"authors": [
{
"github_username": "shingtaklam1324"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/atbash-cipher/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.",
"authors": [
{
"github_username": "nikhilshagri"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/beer-song/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.",
"authors": [
{
"github_username": "EduardoBautista"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/binary-search/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Implement a binary search algorithm.",
"authors": [
{
"github_username": "shybyte"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/bob/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.",
"authors": [
{
"github_username": "EduardoBautista"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/book-store/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"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.",
"authors": [
{
"github_username": "coriolinus"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/bowling/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Score a bowling game",
"authors": [
{
"github_username": "IanWhitney"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/circular-buffer/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "A data structure that uses a single, fixed-size buffer as if it were connected end-to-end.",
"authors": [
{
"github_username": "EduardoBautista"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/clock/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Implement a clock that handles times without dates.",
"authors": [
{
"github_username": "sacherjj"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/collatz-conjecture/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Calculate the number of steps to reach 1 using the Collatz conjecture",
"authors": [
{
"github_username": "jgilray"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/crypto-square/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Implement the classic method for composing secret messages called a square code.",
"authors": [
{
"github_username": "coriolinus"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/custom-set/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Create a custom set type.",
"authors": [
{
"github_username": "EduardoBautista"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/decimal/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Implement a Decimal type",
"authors": [
{
"github_username": "coriolinus"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/diamond/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Given a letter, print a diamond starting with 'A' with the supplied letter at the widest point.",
"authors": [
{
"github_username": "Menkir"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/difference-of-squares/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.",
"authors": [
{
"github_username": "EduardoBautista"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/diffie-hellman/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Diffie-Hellman key exchange.",
"authors": [
{
"github_username": "hekrause"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/dominoes/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Make a chain of dominoes.",
"authors": [
{
"github_username": "EduardoBautista"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/dot-dsl/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Write a Domain Specific Language similar to the Graphviz dot language",
"authors": [
{
"github_username": "ZapAnton"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/doubly-linked-list/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "linked-list",
"authors": [
{
"github_username": "Emerentius"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/etl/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "We are going to do the `Transform` step of an Extract-Transform-Load.",
"authors": [
{
"github_username": "EduardoBautista"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/fizzy/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Implement FizzBuzz using advanced generics",
"authors": [
{
"github_username": "coriolinus"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/forth/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Implement an evaluator for a very simple subset of Forth",
"authors": [
{
"github_username": "EduardoBautista"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/gigasecond/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Given a moment, determine the moment that would be after a gigasecond has passed.",
"authors": [
{
"github_username": "IanWhitney"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/grade-school/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Given students' names along with the grade that they are in, create a roster for the school",
"authors": [
{
"github_username": "EduardoBautista"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/grains/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.",
"authors": [
{
"github_username": "IanWhitney"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/grep/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Search a file for lines matching a regular expression pattern. Return the line number and contents of each matching line.",
"authors": [
{
"github_username": "ZapAnton"
Expand Down
1 change: 1 addition & 0 deletions exercises/practice/hamming/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"blurb": "Calculate the Hamming difference between two DNA strands.",
"authors": [
{
"github_username": "IanWhitney"
Expand Down
Loading

0 comments on commit f5f079e

Please sign in to comment.