Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: exercism download should warn the user if a newer version is available #1049

Open
andreagrandi opened this issue Aug 13, 2022 · 0 comments

Comments

@andreagrandi
Copy link
Member

Scenario

If I run a command like this exercism download --exercise=scale-generator --track=go and I already have a copy of the code downloaded, and in the mean time the upstream exercise has been updated, I won't know if I have the latest version or not.

Proposed solution

Add a version field to the metadata.json. This file should be downloaded first and its value should be compared with the one in the local metadata.json. If the values are different, the user should be warned that a new version is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant