cli icon indicating copy to clipboard operation
cli copied to clipboard

Update broken urls

Open NChechulin opened this issue 4 years ago • 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

NChechulin avatar Dec 02 '21 09:12 NChechulin

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

kotp avatar Dec 02 '21 18:12 kotp

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

NChechulin avatar Dec 02 '21 21:12 NChechulin

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

kotp avatar Dec 03 '21 01:12 kotp

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.

miwojc avatar Feb 13 '22 07:02 miwojc

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?

kotp avatar Feb 13 '22 07:02 kotp

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.

miwojc avatar Feb 13 '22 08:02 miwojc

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?

kotp avatar Feb 13 '22 09:02 kotp

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

miwojc avatar Feb 13 '22 11:02 miwojc

@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.

NChechulin avatar Feb 13 '22 12:02 NChechulin

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

kotp avatar Feb 13 '22 15:02 kotp

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

kotp avatar Feb 13 '22 15:02 kotp