RTC PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
8 Jul 2025

Summary of Changes

This PR adds the typos action https://github.com/marketplace/actions/typos-action

It also includes a configuration file to exclude testing of certain folders with non-english content and a list of false-positive words that it should not report (typos.toml)

Most of the false positives are in javascript or are spelling errors we cannot fix for b/c

Testing Instructions

The action should fail and report that configurated should be configured
The action should pass

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar brianteeman brianteeman - open - 8 Jul 2025
avatar brianteeman brianteeman - change - 8 Jul 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jul 2025
Category Repository
avatar brianteeman brianteeman - change - 8 Jul 2025
Labels Added: PR-5.4-dev
18a0978 8 Jul 2025 avatar brianteeman path
avatar brianteeman brianteeman - change - 8 Jul 2025
The description was changed
avatar brianteeman brianteeman - edited - 8 Jul 2025
avatar brianteeman brianteeman - change - 8 Jul 2025
The description was changed
avatar brianteeman brianteeman - edited - 8 Jul 2025
avatar laoneo
laoneo - comment - 8 Jul 2025

So we don't have any typos right now?

avatar brianteeman
brianteeman - comment - 8 Jul 2025

yes we do - thats why the action fails on this run and some that can't be fixed and therefore listed in the exceptions

the fix for that typo is in #45706

avatar laoneo
laoneo - comment - 8 Jul 2025

Good job

avatar brianteeman
brianteeman - comment - 8 Jul 2025

Good job

I've been running this manually for the last year or so and submitted the pr to fix typos but now we are using actions in the project it made sense to add it to our tools

avatar richard67
richard67 - comment - 9 Jul 2025

@brianteeman Could we add exceptions (exclusions) from the check? If we not remove but deprecate language strings which have a spelling error in their key name like e.g. those handled with your other PR #45706 , these strings will still be there (with a deprecation comment), so we would need exclusions for these cases.

avatar brianteeman
brianteeman - comment - 9 Jul 2025

yes you just add them to the excluded words in .github/workflows/typos.toml

avatar richard67
richard67 - comment - 9 Jul 2025

yes you just add them to the excluded words in .github/workflows/typos.toml

@brianteeman Would that mean we exclude that word, e.g. "configurated", from the check wherever it occurs? Or is there a way like it is e.g. for PHPStan to exclude only certain occurrences?

avatar brianteeman
brianteeman - comment - 9 Jul 2025

you would need to check the docs

avatar tecpromotion tecpromotion - change - 11 Jul 2025
Title
Actions - typos
[5.4] Actions - typos
avatar tecpromotion tecpromotion - edited - 11 Jul 2025
avatar chmst chmst - test_item - 11 Jul 2025 - Tested successfully
avatar chmst
chmst - comment - 11 Jul 2025

I have tested this item ✅ successfully on c056c2a

Code review, worlks with CONFIGURATED


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45705.

avatar exlemor exlemor - test_item - 11 Jul 2025 - Tested successfully
avatar exlemor
exlemor - comment - 11 Jul 2025

I have tested this item ✅ successfully on c056c2a

I have verified that the GitHub action fails due to CONFIGURATED vs CONFIGURED.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45705.

avatar richard67 richard67 - change - 11 Jul 2025
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 11 Jul 2025

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45705.

avatar richard67
richard67 - comment - 11 Jul 2025

@brianteeman When this PR here has been merged it will need an exclusion rule for the old, deprecated language string. I think I know how to do that, so if I shall do that let me know. But I'm pretty sure you will also be able to do it.

avatar brianteeman
brianteeman - comment - 11 Jul 2025

i can add it now

avatar brianteeman brianteeman - change - 11 Jul 2025
Labels Added: RTC
avatar brianteeman brianteeman - change - 11 Jul 2025
The description was changed
avatar brianteeman brianteeman - edited - 11 Jul 2025
avatar richard67
richard67 - comment - 11 Jul 2025

i can add it now

@brianteeman Your commit will work, but it will ignore all occurrences. Maybe we could use default.extend-ignore-words-re instead of default.extend-words? default.extend-ignore-words-re would allow us to use a regular expression like ^PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURATED so we could exclude only the deprecated keys. This would make sure that we still would detect that typo at other places while we keep the deprecated keys during the complete life time of 5.4.

avatar brianteeman
brianteeman - comment - 11 Jul 2025

I do anything I can to avoid using regex but feel free to modify the excludes with regex if you desire

avatar richard67
richard67 - comment - 11 Jul 2025

I do anything I can to avoid using regex but feel free to modify the excludes with regex if you desire

For me it's vice versa, I don't have a problem with the regex but don't know (yet) how to exactly use it in the typos.toml.

Anyway, I think that can be done later with a follow-up PR.

avatar muhme muhme - change - 12 Jul 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-07-12 15:53:28
Closed_By muhme
avatar muhme muhme - close - 12 Jul 2025
avatar muhme muhme - merge - 12 Jul 2025
avatar muhme
muhme - comment - 12 Jul 2025

Thank you @brianteeman, all commentators and all testers.

Add a Comment

Login with GitHub to post a comment