- Issue created by @wim leers
- Status changed to Postponed
11 months ago 11:13am 22 December 2023 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Waiting long enough means we can use GitLab CI, and as of π Adopt GitLab CI: PHPStan compliance + test against 9.5/10.0/10.1/10.2/11.x + max PHP version Fixed we are effectively are using GitLab CI :)
PHPStan is already taken care of.
What's still missing:
cspell
. That's being added in #3405955: Add job for CSPELL in contrib pipeline β . - Assigned to wim leers
- Status changed to Active
9 months ago 8:50am 19 February 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
#3405955: Add job for CSPELL in contrib pipeline β landed 3 days ago! Will need to adopt version 1.2.0 of the d.o GitLab CI template to get it.
- Merge request !18Resolve #3347168 "Gitlab ci template 1.1.2 cspell" β (Merged) created by wim leers
- Status changed to Postponed
9 months ago 9:16am 19 February 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
The
cspell
job is failing because no CDN-specific dictionary was added yet, but also because core's dictionary is not being used β so this is blocked on #3405955-24: Add job for CSPELL in contrib pipeline β . - π¬π§United Kingdom jonathan1055
The current cspell job gives
CSpell: Files checked: 37, Issues found: 130 in 23 files
and there are 30 distinct misspelled words.#3422323: Improve CSPELL β is now ready for final testing so I am going to use the MR here to test it.
- π¬π§United Kingdom jonathan1055
New test has
CSpell: Files checked: 46, Issues found: 88 in 20 files The number of unrecognised/misspelled words is 18
You can that the number of files being checked has increased from 37 to 45. This is because the current job only checked in sub-directories, amd files at the top level were ignored.
But the number of distinct incorrect words has dropped from 30 to 18, due to the new version automatically adding the two Drupal core dictionaries plus all the standard ones for languages, like core uses.
Those 18 words are in a downloadable artifact, which I have attached here for quick reference. If there are words that you need to be ignored you can added them to a
.cspell-project-words.txt
file, which will be included automatically in the job. - Status changed to Active
9 months ago 10:17am 6 March 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
#3405955: Add job for CSPELL in contrib pipeline β and #3422323: Improve CSPELL β landed.
Since Monday, the
cspell
job appeared and is failing but is allowed to fail: https://git.drupalcode.org/project/cdn/-/jobs/985147CSpell: Files checked: 45, Issues found: 87 in 19 files The number of unrecognised/misspelled words is 17 An artifact file has been created containing a unique list of these unrecognized words, for you to browse or download.
π
Thanks, @jonathan1055! π
- Status changed to Needs review
9 months ago 10:24am 6 March 2024 - π¬π§United Kingdom jonathan1055
I have updated this MR to use the new gitlab templates MR155 from #3426136: Execute CSPELL in project root folder and make fixing words easier β
- π¬π§United Kingdom jonathan1055
Here is the current state of things
CSpell: Files checked: 46, Issues found: 16 in 3 files The number of unrecognised/misspelled words is 5 === This is _cspell_unrecognized_words.txt === FEDC gendelims Hasselt subdelims ΓΊjjÑépΓtΓ©sΓ©rol
This is fewer than the number you reported in #11 because you already started to add words to your .cspell-project-words.txt
Thanks for letting me use this MR to test gitlab_templates.
- π¬π§United Kingdom jonathan1055
#3426136: Execute CSPELL in project root folder and make fixing words easier β has been committed.
Also the gitlab_templates
default-ref
tag has been updated to include this change for all contrib by default. Hence I have reverted the temporary change here.The updated CSPELL doc page is https://project.pages.drupalcode.org/gitlab_templates/jobs/cspell/
- Status changed to Needs work
8 months ago 9:37am 30 March 2024 - π¬π§United Kingdom jonathan1055
Putting this back to NW because there are five remaining words that need to be ignored. There are lots of ways you can resolve these, see https://project.pages.drupalcode.org/gitlab_templates/jobs/cspell/ but how you do it is your choice. I have finished with the testing, so its over you you now.
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
I had no idea what
gendelims
andsubdelims
meant, so I did some archeology and found that I added these words at #3069516-5: Farfuture functionality + RFC3986-reserved characters = wrong URLs β ~5 years ago. π - Issue was unassigned.
- Status changed to RTBC
7 months ago 7:37am 2 May 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Thanks for your kind help here, @jonathan1055 β and I'm honored that you used this issue/module to validate d.o GitLab CI template support for
cspell
π -
Wim Leers β
committed 2fa23fcf on 4.x
Issue #3347168 by Wim Leers, jonathan1055: Match core's code quality...
-
Wim Leers β
committed 2fa23fcf on 4.x
- π¬π§United Kingdom jonathan1055
You're welcome. It was a good collaboration.
Automatically closed - issue fixed for 2 weeks with no activity.