Skip to content

Conversation

AntoineVDV
Copy link
Collaborator

The following custom checkers were never run by the ci/documentation_guidelines build and had to be run locally with make review:

  • check_image_size: Check that images are not larger than the maximum file size allowed for their extension.
  • check_image_color_depth: Check that PNG images are compressed to 8-bit color depth with PNGQuant.
  • check_resource_file_name: Check that resource file names use hyphens rather than underscores.

Since reviewers systematically perform these checks manually, it makes sense to include them in the standard test suite. Should a check raise a false positive (e.g., an example_db.zip resource file is added and hyphens should not be used), the red CI can be safely ignored as it is not required for merging.

@AntoineVDV AntoineVDV requested a review from Feyensv September 23, 2025 12:01
@robodoo
Copy link
Collaborator

robodoo commented Sep 23, 2025

Pull request status dashboard

@C3POdoo C3POdoo requested review from a team September 23, 2025 12:10
@AntoineVDV AntoineVDV removed the request for review from a team September 29, 2025 08:54
@AntoineVDV AntoineVDV force-pushed the 17.0-enable-additionnal-checkers-anv branch from d64a62b to 6f95275 Compare September 29, 2025 14:47
The following custom checkers were never run by the
`ci/documentation_guidelines` build and had to be run locally with
`make review`:
- `check_image_size`: Check that images are not larger than the maximum
  file size allowed for their extension.
- `check_image_color_depth`: Check that PNG images are compressed to
  8-bit color depth with PNGQuant.
- `check_resource_file_name`: Check that resource file names use hyphens
   rather than underscores.

Since reviewers systematically perform these checks manually, it makes
sense to include them in the standard test suite. Should a check raise
a false positive (e.g., an `example_db.zip` resource file is added and
hyphens should not be used), the red CI can be safely ignored as it is
not required for merging.
@AntoineVDV AntoineVDV force-pushed the 17.0-enable-additionnal-checkers-anv branch from 6f95275 to 4ca59ad Compare September 29, 2025 14:51
@AntoineVDV
Copy link
Collaborator Author

@robodoo r+

robodoo pushed a commit that referenced this pull request Sep 29, 2025
The following custom checkers were never run by the
`ci/documentation_guidelines` build and had to be run locally with
`make review`:
- `check_image_size`: Check that images are not larger than the maximum
  file size allowed for their extension.
- `check_image_color_depth`: Check that PNG images are compressed to
  8-bit color depth with PNGQuant.
- `check_resource_file_name`: Check that resource file names use hyphens
   rather than underscores.

Since reviewers systematically perform these checks manually, it makes
sense to include them in the standard test suite. Should a check raise
a false positive (e.g., an `example_db.zip` resource file is added and
hyphens should not be used), the red CI can be safely ignored as it is
not required for merging.

closes #14650

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
@robodoo robodoo closed this Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants