I think we have to try to upgrade the Unison version on the Unison track. I will try to experiment with it and put all results here. Now I have some questions:
@ErikSchierboom As I found, if the track version was upgraded but some solutions use deprecated features, users have to manually edit their solutions to pass all tests again. Am I right?
Apologies for the delay. I’ve been mentioning this to the Unison team so it’s a known todo to get our Exercism track up to date. It’ll require some changes to the transcripts in each of the exercises in addition to changes to the script which sets up the Unison workspace. I’m working with the team to get an up to date docker build for the UCM executable now.
@SimaDovakin, thank you, this is amazing! Unison has been stretched pretty thin so it’s fantastic to have another maintainer! I’d be happy to give you a run-down on what would need to happen to upgrade the track. I haven’t had enough time to actually do it, but we basically need to change the track to support the “projects” model of Unison code. There’s also some fun stuff with changing the Json encoder/decoder that we’re using.
I updated Unison test runner. My PR is here: Unison version upgrade: by SimaDovakin · Pull Request #30 · exercism/unison-test-runner · GitHub. I edited Dockerfile, code that reads JSON and makes test results, and tests for the test runner. I use deprecated functionality in tests for now. After the Unison upgrade, I’ll try to rewrite tests using new testing functionality from the Unison base library.
Also, I can’t test the DockerfileMac file. It seems like it copies Unison binary from this local path unison-arm/unison.
I prepared changes to the track repo too. If we update Unison test runner, the track won’t work until we update it after test runner upgrade.
The Unison track upgraded to version 0.5.26. I’m going to update exercises’ and test runner’s tests using not deprecated Unison functionality, and I’ll try to do it smoothly). If you notice any bugs, feel free to report them here or in the Unison forum category.