Skip to content

Conversation

fw-bot
Copy link
Collaborator

@fw-bot fw-bot commented 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.

Forward-Port-Of: #14650

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.

X-original-commit: 41f2e20
@robodoo
Copy link
Collaborator

robodoo commented Sep 29, 2025

Pull request status dashboard

@fw-bot
Copy link
Collaborator Author

fw-bot commented Sep 29, 2025

This PR targets 19.0 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants