- Issue created by @voleger
- Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 8:23am 27 January 2023 - 🇺🇦Ukraine voleger Ukraine, Rivne
CSpell/SortTest shows that the file contains a list that is not sorted correctly.
Adding changes to the list makes the test passing.
- Status changed to Needs work
almost 2 years ago 1:20pm 27 January 2023 - 🇬🇧United Kingdom longwave UK
The dictionary generator is supposed to sort the file, but the error proves that we must have merged some changes manually; so the test is good to ensure that it stays sorted.
A few nitpicks in the test but overall this looks great.
- 🇳🇱Netherlands spokje
The dictionary generator is supposed to sort the file, but the error proves that we must have merged some changes manually;
Aren't we fighting the symptom here?
Maybe we can trigger a
yarn spellcheck:make-drupal-dict
in commit-code-check.sh on all files if dictionary.txt changes?
If the the new dictionary is different from the one in the patch/MR then fail and we should be fine? - 🇬🇧United Kingdom longwave UK
yarn spellcheck:make-drupal-dict
is quite slow, this test should be quick. I also think there are still some locale issues with the dictionary generator, as the accented characters sometimes change for reasons I don't yet understand, and regenerating on DrupalCI might trip this up further. - 🇬🇧United Kingdom longwave UK
Having just written #7 it strikes me that the issue might be that we need to apply
LC_ALL=C
to thetr
command as well as thesort
command. - Status changed to Needs review
almost 2 years ago 1:51pm 27 January 2023 - 🇺🇦Ukraine voleger Ukraine, Rivne
Thanks for the review, I addressed all review comments.
- Status changed to RTBC
almost 2 years ago 11:47pm 27 January 2023 - 🇬🇧United Kingdom longwave UK
Thanks, this looks OK to me and will prevent regressions here in the future.
- 🇺🇦Ukraine voleger Ukraine, Rivne
Rebased after 📌 CSpell dictionary is out of sync Fixed
- 🇬🇧United Kingdom catch
I was tempted to agree with Spokje that we could skip this step and go straight to 📌 Run CSpell on all files when CSpell-related files change Active ... but cherry-picks bypass core commit checks, so this should catch situations where we're introducing discrepancies between 10.1.x and 10.0.x (although only post commit so if it happens we'll need to hotfix it).
Committed/pushed to 10.1.x and cherry-picked to 10.0.x, thanks!
- Status changed to Fixed
almost 2 years ago 11:26am 3 February 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
12 months ago 9:40am 4 December 2023 - 🇬🇧United Kingdom jonathan1055
If all the commits are done, can the MR be closed as it was not actually merged here.