-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Automation/CI checks wanted #6233
Labels
area:meta
non-article files
Milestone
Comments
#3310 could be a source of ideas for the remark plugins |
Broken links is going to be tricky since you will want your analysis to have an idea of the entire repo tree structure and work your way from there. I did something like this in the Cartographer project to make an autogenerated sitemap but I assume remark has a way to read entire project trees and compare links against the tree. |
This was referenced Dec 27, 2021
Walavouchey
added a commit
to Walavouchey/osu-wiki
that referenced
this issue
May 6, 2022
The wikilink checker is updated with changes from Walavouchey/osu-wiki-tools@76f2b53 to Walavouchey/osu-wiki-tools@14ee28d to make some more progress towards ppy#6233. The full commit history along with tests can be viewed in that repo. The two main features of reference- and in-article link checking require additional parsing logic to handle ignoring comments and getting the correct identifier from headings and custom identifier tags. For in-article links, the articles they point to are parsed for their identifiers in order to check if the #link-fragment is correct. By default, all links from outdated articles are ignored. The plan is to eventually turn on link checking for all files in CI runs when the remaining errors have been fixed, so this is to prevent contributors from having to edit already outdated articles. Currently on master this this runs for about 40s with `--outdated` and about 32s without on my Windows machine. There are 144 remaining errors without counting outdated articles and 236 errors in total.
Walavouchey
added a commit
to Walavouchey/osu-wiki
that referenced
this issue
May 6, 2022
The wikilink checker is updated with changes from Walavouchey/osu-wiki-tools@76f2b53 to Walavouchey/osu-wiki-tools@cdbfa96 to make some more progress towards ppy#6233. The full commit history along with tests can be viewed in that repo. The two main features of reference- and in-article link checking require additional parsing logic to handle ignoring comments and getting the correct identifier from headings and custom identifier tags. For in-article links, the articles they point to are parsed for their identifiers in order to check if the #link-fragment is correct, and if not, all possible identifiers are printed as suggestions. By default, all links from outdated articles are ignored. The plan is to eventually turn on link checking for all files in CI runs when the remaining errors have been fixed, so this is to prevent contributors from having to edit already outdated articles. Currently on master this this runs for about 40s with `--outdated` and about 32s without on my Windows machine. There are 152 remaining errors without counting outdated articles and 253 errors in total.
Walavouchey
added a commit
to Walavouchey/osu-wiki
that referenced
this issue
May 6, 2022
The wikilink checker is updated with changes from Walavouchey/osu-wiki-tools@76f2b53 to Walavouchey/osu-wiki-tools@cdbfa96 to make some more progress towards ppy#6233. The full commit history along with tests can be viewed in that repo. The two main features of reference- and in-article link checking require additional parsing logic to handle ignoring comments and getting the correct identifier from headings and custom identifier tags. For in-article links, the articles they point to are parsed for their identifiers in order to check if the #link-fragment is correct, and if not, all possible identifiers are printed as suggestions. By default, all links from outdated articles are ignored. The plan is to eventually turn on link checking for all files in CI runs when the remaining errors have been fixed, so this is to prevent contributors from having to edit already outdated articles. Currently on master this this runs for about 40s with `--outdated` and about 32s without on my Windows machine. There are 152 remaining errors without counting outdated articles and 253 errors in total. Co-authored-by: TicClick <[email protected]>
moved to #2275 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use of redirectsno: Add ci test to check for broken wikilinks in articles and news posts #6645 (comment)outdated: true
andoutdated_since: ...
missing from the translations when the original articles are being updated (via; this one could be a bot instead): Add CI step for checking if translations are properly marked as outdated #6428yamllint
on individual articles to avoid things like [ZH] Fix front matter inHelp_Centre/Account/zh.md
#6619: Run yamllint for regular articles/newsposts #6629outdated_since
hash validation to avoid things like Fix theoutdated_since
tag inGameplay
andJudgement
translations #6747The text was updated successfully, but these errors were encountered: