Implement cron job to scan the git log periodically and schedule audits. |
||
Issue descriptionThis handler should periodically get the log from the latest known commit and schedule audits for those commits that are of interest to the audit app (those that are either authored or committed by a monitored account)
,
Sep 5 2017
,
Sep 8 2017
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra/+/507e6c2a6a90c130c74752cc2b6bc46a025d53a7 commit 507e6c2a6a90c130c74752cc2b6bc46a025d53a7 Author: Roberto Carrillo <robertocn@google.com> Date: Fri Sep 08 00:25:22 2017 [cr-audit-app] Make clients mockable and tests for commit scanner. The change allows tests to mock the gitiles and gerrit clients by providing interfaces for them that tests can use to inject fake clients. Also implement unittests for commit scanner handler. R=iannucci,stgao,chanli Bug: 759800 Change-Id: Id97c67ed29757d660db20f342e442ead8f445ba8 Reviewed-on: https://chromium-review.googlesource.com/648638 Commit-Queue: Roberto Carrillo <robertocn@chromium.org> Reviewed-by: Chan Li <chanli@chromium.org> [modify] https://crrev.com/507e6c2a6a90c130c74752cc2b6bc46a025d53a7/go/src/infra/appengine/cr-audit-commits/app/commit_scanner.go [modify] https://crrev.com/507e6c2a6a90c130c74752cc2b6bc46a025d53a7/go/src/infra/appengine/cr-audit-commits/app/rules_config.go [modify] https://crrev.com/507e6c2a6a90c130c74752cc2b6bc46a025d53a7/go/src/infra/appengine/cr-audit-commits/app/commit_auditor.go [modify] https://crrev.com/507e6c2a6a90c130c74752cc2b6bc46a025d53a7/go/src/infra/appengine/cr-audit-commits/app/model.go [add] https://crrev.com/507e6c2a6a90c130c74752cc2b6bc46a025d53a7/go/src/infra/appengine/cr-audit-commits/app/commit_scanner_test.go [modify] https://crrev.com/507e6c2a6a90c130c74752cc2b6bc46a025d53a7/go/src/infra/appengine/cr-audit-commits/app/utils.go |
||
►
Sign in to add a comment |
||
Comment 1 by robert...@chromium.org
, Aug 28 2017Status: Started (was: Untriaged)