Skip to content

Commit

Permalink
[v3] Sync source information from prob-specs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ErikSchierboom authored and iHiD committed Feb 12, 2021
1 parent 1799818 commit b0e204c
Show file tree
Hide file tree
Showing 36 changed files with 104 additions and 36 deletions.
4 changes: 3 additions & 1 deletion exercises/practice/acronym/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Julien Vanier",
"source_url": "https://github.com/monkbroc"
}
4 changes: 3 additions & 1 deletion exercises/practice/allergies/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Jumpstart Lab Warm-up",
"source_url": "http://jumpstartlab.com"
}
4 changes: 3 additions & 1 deletion exercises/practice/anagram/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Inspired by the Extreme Startup game",
"source_url": "https://github.com/rchatley/extreme_startup"
}
4 changes: 3 additions & 1 deletion exercises/practice/armstrong-numbers/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Narcissistic_number"
}
4 changes: 3 additions & 1 deletion exercises/practice/beer-song/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Learn to Program by Chris Pine",
"source_url": "http://pine.fm/LearnToProgram/?Chapter=06"
}
4 changes: 3 additions & 1 deletion exercises/practice/binary-search-tree/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Josh Cheek",
"source_url": "https://twitter.com/josh_cheek"
}
4 changes: 3 additions & 1 deletion exercises/practice/bob/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial.",
"source_url": "http://pine.fm/LearnToProgram/?Chapter=06"
}
4 changes: 3 additions & 1 deletion exercises/practice/collatz-conjecture/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "An unsolved problem in mathematics named after mathematician Lothar Collatz",
"source_url": "https://en.wikipedia.org/wiki/3x_%2B_1_problem"
}
3 changes: 2 additions & 1 deletion exercises/practice/darts/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Inspired by an exercise created by a professor Della Paolera in Argentina"
}
4 changes: 3 additions & 1 deletion exercises/practice/diamond/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Seb Rose",
"source_url": "http://claysnow.co.uk/recycling-tests-in-tdd/"
}
4 changes: 3 additions & 1 deletion exercises/practice/difference-of-squares/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Problem 6 at Project Euler",
"source_url": "http://projecteuler.net/problem=6"
}
4 changes: 3 additions & 1 deletion exercises/practice/gigasecond/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Chapter 9 in Chris Pine's online Learn to Program tutorial.",
"source_url": "http://pine.fm/LearnToProgram/?Chapter=09"
}
4 changes: 3 additions & 1 deletion exercises/practice/hamming/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "The Calculating Point Mutations problem at Rosalind",
"source_url": "http://rosalind.info/problems/hamm/"
}
4 changes: 3 additions & 1 deletion exercises/practice/hello-world/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "This is an exercise to introduce users to using Exercism",
"source_url": "http://en.wikipedia.org/wiki/%22Hello,_world!%22_program"
}
4 changes: 3 additions & 1 deletion exercises/practice/isbn-verifier/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Converting a string into a number and some basic processing utilizing a relatable real world example.",
"source_url": "https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation"
}
4 changes: 3 additions & 1 deletion exercises/practice/isogram/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Isogram"
}
4 changes: 3 additions & 1 deletion exercises/practice/leap/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "JavaRanch Cattle Drive, exercise 3",
"source_url": "http://www.javaranch.com/leap.jsp"
}
4 changes: 3 additions & 1 deletion exercises/practice/luhn/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "The Luhn Algorithm on Wikipedia",
"source_url": "http://en.wikipedia.org/wiki/Luhn_algorithm"
}
3 changes: 2 additions & 1 deletion exercises/practice/matching-brackets/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Ginna Baker"
}
4 changes: 3 additions & 1 deletion exercises/practice/nth-prime/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "A variation on Problem 7 at Project Euler",
"source_url": "http://projecteuler.net/problem=7"
}
4 changes: 3 additions & 1 deletion exercises/practice/pangram/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Pangram"
}
4 changes: 3 additions & 1 deletion exercises/practice/pascals-triangle/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Pascal's Triangle at Wolfram Math World",
"source_url": "http://mathworld.wolfram.com/PascalsTriangle.html"
}
4 changes: 3 additions & 1 deletion exercises/practice/phone-number/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Event Manager by JumpstartLab",
"source_url": "http://tutorials.jumpstartlab.com/projects/eventmanager.html"
}
4 changes: 3 additions & 1 deletion exercises/practice/prime-factors/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "The Prime Factors Kata by Uncle Bob",
"source_url": "http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata"
}
4 changes: 3 additions & 1 deletion exercises/practice/raindrops/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "A variation on FizzBuzz, a famous technical interview question that is intended to weed out potential candidates. That question is itself derived from Fizz Buzz, a popular children's game for teaching division.",
"source_url": "https://en.wikipedia.org/wiki/Fizz_buzz"
}
4 changes: 3 additions & 1 deletion exercises/practice/resistor-color-duo/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Maud de Vries, Erik Schierboom",
"source_url": "https://github.com/exercism/problem-specifications/issues/1464"
}
4 changes: 3 additions & 1 deletion exercises/practice/resistor-color/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Maud de Vries, Erik Schierboom",
"source_url": "https://github.com/exercism/problem-specifications/issues/1458"
}
4 changes: 3 additions & 1 deletion exercises/practice/reverse-string/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Introductory challenge to reverse an input string",
"source_url": "https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb"
}
4 changes: 3 additions & 1 deletion exercises/practice/rna-transcription/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Hyperphysics",
"source_url": "http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html"
}
4 changes: 3 additions & 1 deletion exercises/practice/robot-simulator/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Inspired by an interview question at a famous company.",
"source_url": ""
}
4 changes: 3 additions & 1 deletion exercises/practice/scrabble-score/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Inspired by the Extreme Startup game",
"source_url": "https://github.com/rchatley/extreme_startup"
}
4 changes: 3 additions & 1 deletion exercises/practice/secret-handshake/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Bert, in Mary Poppins",
"source_url": "http://www.imdb.com/title/tt0058331/quotes/qt0437047"
}
4 changes: 3 additions & 1 deletion exercises/practice/space-age/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "Partially inspired by Chapter 1 in Chris Pine's online Learn to Program tutorial.",
"source_url": "http://pine.fm/LearnToProgram/?Chapter=01"
}
4 changes: 3 additions & 1 deletion exercises/practice/triangle/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "The Ruby Koans triangle project, parts 1 & 2",
"source_url": "http://rubykoans.com"
}
3 changes: 2 additions & 1 deletion exercises/practice/two-fer/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"solution": [],
"test": [],
"example": []
}
},
"source_url": "https://github.com/exercism/problem-specifications/issues/757"
}
3 changes: 2 additions & 1 deletion exercises/practice/word-count/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"solution": [],
"test": [],
"example": []
}
},
"source": "This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour."
}

0 comments on commit b0e204c

Please sign in to comment.