exercism/cli

Update broken urls

NChechulin opened this issue · 11 comments

Exercism CLI still provides "old" links.
As far as I understand, the whole project moved to https://exercism.org/, but some output still contains https://exercism.io/.

Example:

$ exercism configure 
> Error: There is no token configured. Find your token on https://exercism.io/my/settings, and call this command again with --token=<your-token>.

Exercism version: 3.0.13

kotp commented

Can you give the version as reported by exercism -v?

Oh, it seems like -v stands for --verbose and exercism --help also doesn't provide a flag for version.
However, I am using the latest version from AUR: 3.0.13

kotp commented

Oops. I should have said exercism v rather than exercism -v. Or exercism version. Habit put that dash in there.

exercism version 3.0.13
Windows 10

exercism submit .\twelve_days.py returns a link to 404 page:

The exercise you are submitting doesn't have the necessary metadata.
Please see https://exercism.io/cli-v1-to-v2 for instructions on how to fix it.
kotp commented

The referece to io is probably not a functional issue, rather a documentation issue. Version 3.0.13 is fine, and should not have an issue.

The issue is specifically indicating that the ./.exercism/ directory is not there.

If you do exercism download --track=python --exercise=twelve-days is the current directory where it is downloaded at?

exercism download --track=python --exercise=twelve-days
solved the issue for me. Thank you.

Edit: i have downloaded the exercise long time ago, now im back to working on it. Seems like exercism folder is set up and it re downloaded the exercise in the right place. Submit worked.

kotp commented

I would say that it solved your immediate issue, however the updated URL issue is still something that should be fixed.

Would you care to update the title of this issue to reflect the desired correction to the URL as stated in the error message?

@NChechulin opened this issue, so i can't edit title but i think title and description is correct?

@kotp Hi! When I opened the issue, I tried to emphasize the breadth of the problem. I believe, it's not about one or several particular commands, but about the whole project in general.

That's why the title is kind of very general.

kotp commented

Right on. I thought that now that we have found a specific action that can be addressed…

kotp commented

@NChechulin Yes, it probably is not wrong, but now we can focus it on "Error message shows URL as .io instead of .org."