Skip to content

Commit 33eff5c

Browse files
ErikSchierboomiHiD
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 44658d3 commit 33eff5c

File tree

20 files changed

+59
-20
lines changed

20 files changed

+59
-20
lines changed

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/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/bob/.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 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial.",
9+
"source_url": "http://pine.fm/LearnToProgram/?Chapter=06"
810
}

exercises/practice/difference-of-squares/.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": "Problem 6 at Project Euler",
9+
"source_url": "http://projecteuler.net/problem=6"
810
}

exercises/practice/etl/.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": "The Jumpstart Lab team",
9+
"source_url": "http://jumpstartlab.com"
810
}

exercises/practice/hamming/.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": "The Calculating Point Mutations problem at Rosalind",
9+
"source_url": "http://rosalind.info/problems/hamm/"
810
}

exercises/practice/hello-world/.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": "This is an exercise to introduce users to using Exercism",
9+
"source_url": "http://en.wikipedia.org/wiki/%22Hello,_world!%22_program"
810
}

exercises/practice/largest-series-product/.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": "A variation on Problem 8 at Project Euler",
9+
"source_url": "http://projecteuler.net/problem=8"
810
}

0 commit comments

Comments
 (0)