Skip to content

Commit

Permalink
[IMP] .github: slightly adapt CODEOWNERS (rd-discuss rd-images rd-sm)
Browse files Browse the repository at this point in the history
`**` rules for `py` files in `mail` and `sms` were not working as expected: they
only matched files directly inside the folder, without any depth. Indeed
`gitignore` syntax specifies that a slash must follow the double asterisks.
Doc: https://git-scm.com/docs/gitignore#_pattern_format

Added `rd-sm` to the various mail test folders, and removed `rd-discuss` from
`test_mass_mailing` specifically.

Specified which files are to be observed in `tools` for `rd-images`, as it would
otherwise generate too much noise.

closes odoo#51019

Signed-off-by: Olivier Dony (odo) <[email protected]>
  • Loading branch information
seb-odoo committed May 11, 2020
1 parent efe1097 commit 17c89c0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
/addons/im_support/models/ir_http.py @odoo/rd-discuss @odoo/rd-website

/addons/mail/ @odoo/rd-discuss
/addons/mail/**.py @odoo/rd-discuss @odoo/rd-sm
/addons/mail/**/*.py @odoo/rd-discuss @odoo/rd-sm
/addons/mail/models/ir_http.py @odoo/rd-discuss @odoo/rd-sm @odoo/rd-website

/addons/mail_bot/ @odoo/rd-discuss
Expand All @@ -62,14 +62,14 @@
/addons/portal/models/ir_http.py @odoo/rd-website

/addons/sms/ @odoo/rd-discuss
/addons/sms/**.py @odoo/rd-discuss @odoo/rd-sm
/addons/sms/**/*.py @odoo/rd-discuss @odoo/rd-sm

/addons/snailmail/ @odoo/rd-discuss
/addons/snailmail/models/ir_qweb_fields.py @odoo/rd-discuss @odoo/rd-website

/addons/test_mail/ @odoo/rd-discuss
/addons/test_mail_full/ @odoo/rd-discuss
/addons/test_mass_mailing/ @odoo/rd-discuss
/addons/test_mail/ @odoo/rd-discuss @odoo/rd-sm
/addons/test_mail_full/ @odoo/rd-discuss @odoo/rd-sm
/addons/test_mass_mailing/ @odoo/rd-sm
/addons/test_website/ @odoo/rd-website

/addons/web/controllers/main.py @odoo/rd-images @odoo/rd-security
Expand Down Expand Up @@ -99,7 +99,9 @@
/odoo/osv/ @odoo/rd-security

# safe_eval, mimetypes, float_utils, mail sanitizer, image utils, ..
/odoo/tools/ @odoo/rd-images @odoo/rd-security
/odoo/tools/ @odoo/rd-security
/odoo/tools/image.py @odoo/rd-images @odoo/rd-security
/odoo/tools/mimetypes.py @odoo/rd-images @odoo/rd-security

/odoo/http.py @odoo/rd-security @odoo/rd-website
/odoo/sql_db.py @odoo/rd-security

0 comments on commit 17c89c0

Please sign in to comment.