Skip to content

Commit a3c1609

Browse files
committed
Bug 2002301 - [phab-etl] Track all non-bmo related project members in the review_groups table and not just *-reviewers
1 parent 5439879 commit a3c1609

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,9 @@ def get_review_groups(sessions: Sessions) -> list[dict]:
467467
"""Returns a dict of group names with the members of each group"""
468468
groups = []
469469

470-
# Get the project objects that end in '-reviewers'.
470+
# Get the project objects that do not start with 'bmo-'.
471471
projects = sessions.projects.query(ProjectDb.Project).filter(
472-
ProjectDb.Project.name.endswith("-reviewers")
472+
~ProjectDb.Project.name.startswith("bmo-")
473473
)
474474

475475
logging.info(f"Found {projects.count()} review groups for processing.")

0 commit comments

Comments
 (0)