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
Fix getting started instructions for rust #599
Comments
$ for url in $(rg -ioN 'http[^\s)]+' config/exercise_readme.go.tmpl); do
> echo "$url"
> curl -IL "$url" | rg HTTP
> done
Fri Aug 31 02:05:48 DST 2018
https://doc.rust-lang.org/book/second-edition/ch07-00-modules.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 23810 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 200 OK
https://github.com/exercism/rust
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
HTTP/1.1 200 OK
https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/README.md
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
HTTP/1.1 200 OK
http://exercism.io/languages/rust
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 170 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 170 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 302 Moved Temporarily
HTTP/1.1 302 Moved Temporarily
HTTP/1.1 200 OK
https://doc.rust-lang.org/book/second-edition/ch07-00-modules.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 23810 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 200 OK
https://doc.rust-lang.org/book/second-edition/ch14-00-more-about-cargo.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 23143 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 200 OK
https://doc.rust-lang.org/book/second-edition/ch11-02-running-tests.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 34764 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
HTTP/1.1 200 OK Looks like everything is fine here. |
Well the 302 is interesting isn't it. There is the http://exercism.io/languages/rust which claims to be a help page, but isn't really. Compare to https://web.archive.org/web/20180219222916/http://exercism.io/languages/rust . Okay, that tells me that also used to redirect to http://exercism.io/languages/rust/about . So that used to be https://web.archive.org/web/20180219222916/http://www.exercism.io/languages/rust/about . Where is that link used? The context is Okay, well, I observe that:
So we do not suffer from the problem a page not existing, so I think it is correct to close this issue. But if someone were to suggest an improvement to the template, it would be to do one of two things:
If someone thinks these suggestions are worth making, this person should make an issue or pull request about it as appropriate. |
I'm sorry for any unnecessary information I added. It appears that this issue was only asking to fix broken links. I missed that fact. I agree that there are no broken links and that this issue should be closed on those grounds. |
@coriolinus Could the 302 be changed to point to one of the new help pages (such as The new Exercism no longer has help information on the track page, and the following link to the old help information may cause confusion to new people joining the track: rust/config/exercise_readme.go.tmpl Line 55 in 0fbbcba
Sorry for any confusion 😄 |
This means that students clicking that link end up somewhere more useful than the generic page where they'd otherwise end up after redirection. Closes exercism#599.
This means that students clicking that link end up somewhere more useful than the generic page where they'd otherwise end up after redirection. Closes #599. Eliminates an extraneous bit of trailing whitespace.
Some exercise README templates contain links to pages which no longer exist in v2 Exercism.
For example, C++'s README template had a link to /languages/cpp for instructions on running tests. The correct URLs to use can be found in the 'Still stuck?' sidebar of exercise pages on the live site. You'll need to join the track and go to the first exercise to see them.
Please update any broken links in the 'config/exercise_readme.go.tmpl' file, and run 'configlet generate .' to generate new exercise READMEs with the fixes.
Instructions for generating READMEs with configlet can be found at:
https://github.com/exercism/docs/blob/master/language-tracks/exercises/anatomy/readmes.md#generating-a-readme
Instructions for installing configlet can be found at:
https://github.com/exercism/docs/blob/bc29a1884da6c401de6f3f211d03aabe53894318/language-tracks/launch/first-exercise.md#the-configlet-tool
Tracking exercism/exercism#4102
The text was updated successfully, but these errors were encountered: