Commit Graph

11 Commits

Author SHA1 Message Date
usamasadiq
dc36d0bfe8 Ran pyupgrade on lms/djangoapps
Ran pyupgrade on lms/djangoapps/mailing
Ran pyupgrade on lms/djangoapps/mobile_api
Ran pyupgrade on lms/djangoapps/monitoring
2021-02-19 17:47:37 +05:00
Diana Huang
ea8907ca53 Add edx_sga to our code_owners mappings. 2021-01-19 11:23:08 -05:00
Feanil Patel
cfc63722a5 Undo revert.
This change was reverted along with the downgrade of super-csv because
it was believed that this change was causing issues with celery task
registration.

It was reverted in https://github.com/edx/edx-platform/pull/25762

The fix turned out to be something different and this and the
super-csv library should both be same to upgrade.  The library
upgrade will come in a follow-on make upgrade with some other
constraints that also need to be lifted.

Actual fix: https://github.com/edx/edx-platform/pull/25822
2020-12-10 13:54:36 -05:00
David Ormsbee
d930d10065 Revert "ARCHBOM-1636: upgrade supercsv" 2020-12-04 10:37:56 -05:00
Robert Raposa
8809c73395 upgrade supercsv
Includes additional monitoring of celery tasks
in supercsv.

ARCHBOM-1636
2020-12-02 16:51:41 -05:00
Robert Raposa
93029169d1 add code_owner for rest_framework
Add code_owner for `rest_framework.routers`
and other `rest_framework` apps.
2020-11-30 16:52:40 -05:00
Tim McCormack
2f8fa9e4f2 Leave warning about changing generated comment (#25660)
ARCHBOM-1544
2020-11-23 18:01:42 +00:00
Feanil Patel
3cd9b8c41a Update ownership mappings.
Add mapping from django apps to repos so we can look up owners by this repo
in the ownership mapping.
2020-11-13 12:05:14 -05:00
Robert Raposa
eea711e5a4 ARCHBOM-1551: update generate_code_owner_mappings.py (#25309)
update generate_code_owner_mappings.py:

* Uses updated 'owner.theme' and 'owner.squad' columns.
* Outputs new CODE_OWNER_THEMES to detail themes.
* Output lowercase names only

ARCHBOM-1551

Co-authored-by: Tim McCormack <tmccormack@edx.org>
2020-10-14 09:34:01 -04:00
Robert Raposa
03032d4979 ARCHBOM-1247: ownership mapping for external apps (#24148)
- add clean script to help list unmapped Django apps.
- use clean script to source new app mappings.
- update generate script to include 3rd-party app ownership.

ARCHBOM-1247
2020-06-09 09:15:16 -04:00
Robert Raposa
59e0f6efcf ARCHBOM-1244: Add code_owner custom metric (#24084)
* includes ADR for Monitoring by Code Owner
* add monitoring middleware to add the following custom metrics:
- code_owner: The owning team mapped to the current view.
- code_owner_mapping_error: If there are any errors when trying to
        perform the mapping.
- view_func_module: The __module__ of the view_func, which can
        be used to find missing mappings.
* add script to generate `settings.CODE_OWNER_MAPPINGS` from
     a csv file.

ARCHBOM-1244
2020-06-01 12:27:38 -04:00