Wikimedia

Tracker: When at least one notification about one of "changed" object exist, do not emit others

Knowledge expectations

Student is expected to know basics of Django.

Problem

  1. I create a ticket, with no planned expenditures
  2. I add two planned expenditures to ticket I just created
  3. I realize I forgot to mark them as wages
  4. I mark all 2 planned expenditures as wages
  5. I just emitted another notification without good reason

When either ticket new notification or expenditure new notification was emitted but not distributed, do not emit other notifications about that expenditure. Do emit notification about other expenditures of course.

Expected outcome

You should propose a patch to Wikimedia Gerrit, see tutorial.

Student is expected to claim the task on Wikimedia Phabricator when claiming this task on the GCI site.

Materials

Task tags

  • python
  • django

Students who completed this task

refeed

Task type

  • code Code
close

2018