You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was going to call this setup, but then it crashes with the alias for submit.
Prepare the Exercism CLI
$ exercism prepare
The CLI ships with default messaging, but will call the /cli/settings endpoint on the API to get updated copy.
This will let us update copy without releasing a new version of the CLI, perform A/B tests, and translate the CLI to other (human) languages.
Store the timestamp/version of the latest download in the config. The API will provide a header on all responses containing the version of the latest settings, which will allow us to auto-update these when they're outdated.
We need to implement a user setting that lets people explicitly turn off auto-update.
Prepare a language track
$ exercism prepare haskell
Call the API to get a list of files to download and settings to store for a language track.
The files live in the global directory in the track repository. This is useful in the case where we need a harness or some shims in order to do Exercism exercises in that language, or where there is no official testing library or package management system to deliver them.
The settings are things like the test_pattern from the track's config.json so that we don't auto-upload the tests when someone submits a whole directory.
Store the timestamp of the latest download. The API will provide a header on all responses containing the version of the latest settings, which will allow us to auto-update these when they're outdated.
The text was updated successfully, but these errors were encountered:
To be merged into the nextercism branch in #410
Command name:
prepare
(aliasp
).File:
cmd/prepare.go
.I was going to call this
setup
, but then it crashes with the alias forsubmit
.Prepare the Exercism CLI
The CLI ships with default messaging, but will call the
/cli/settings
endpoint on the API to get updated copy.This will let us update copy without releasing a new version of the CLI, perform A/B tests, and translate the CLI to other (human) languages.
Store the timestamp/version of the latest download in the config. The API will provide a header on all responses containing the version of the latest settings, which will allow us to auto-update these when they're outdated.
We need to implement a user setting that lets people explicitly turn off auto-update.
Prepare a language track
Call the API to get a list of files to download and settings to store for a language track.
The files live in the
global
directory in the track repository. This is useful in the case where we need a harness or some shims in order to do Exercism exercises in that language, or where there is no official testing library or package management system to deliver them.The settings are things like the
test_pattern
from the track'sconfig.json
so that we don't auto-upload the tests when someone submits a whole directory.Store the timestamp of the latest download. The API will provide a header on all responses containing the version of the latest settings, which will allow us to auto-update these when they're outdated.
The text was updated successfully, but these errors were encountered: