Create exercise versioning policy based on Haskell track
See original GitHub issueExercism tracking issue: https://github.com/exercism/exercism/issues/4786
- haskell: https://github.com/exercism/haskell/pull/717/files#diff-c6795c529069232683d979cd4239c219R2
- ocaml: https://github.com/exercism/ocaml/issues/283
- javascript: https://github.com/exercism/javascript/issues/628
Note: This is not the same as https://github.com/exercism/exercism/issues/4266 which removed tracking versions from the user code.
Proposed implementation for JavaScript
In package.json
change the version
number to match the x.y.z
of test data versioning, and add .q
which we always increment if a change is made without a sync (new test data): x.y.z.q
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11 (10 by maintainers)
Top Results From Across the Web
Add exercise's version to package.yaml and remove ...
Exercises based on a non-versioned canonical-data.json should use version 0.9.0.1. If there is a comment containing the date from the data ...
Read more >Haskell Package Versioning Policy FAQ [DRAFT]
Under the PVP, packages with a zero major version provide the same contractual guarantees as versions released with a non-zero major version. Also,...
Read more >Part 1
Working on the exercises involves knowing how to use the command line, and basic usage of the Git version control system. This is...
Read more >A Step toward Programming with Versions in Real-World ...
𝜆VL is a core calculus based on the concept of programming with versions that ... Despite the proliferation of such versioning rules and...
Read more >Haskell on Exercism
Want to learn and master Haskell? Join Exercism's Haskell Track for access to 100 exercises with automatic analysis of your code and personal...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was planning to add versions to
package.json
files but I guess there are more options being discussed in https://github.com/exercism/discussions/issues/239. We will wait for a decision to be made over there.Haskell’s versioning policy was decided in exercism/haskell#522, implemented in exercism/haskell#523 and documented in exercism/haskell#716. In particular, the main benefit of having a fourth serial version number is that you can track changes to any part of the exercise files given to a user.
Having only the canonical version means you can keep the exercise up-to-date with canonical tests.