Enforce repository size quota with QuotaEnforcer

Recent Gerrit core changes (see Depends-On) planted repository size
related checks to Gerrit core - QuotaBackend is called for
'/repository:size' group form relevant places. As a result quota plugin
can be simplified to QuotaEnforcer implementation in terms of
repository size quota. Hooking into ReceivePackInitializer and
PostReceiveHook is no longer needed.

Change-Id: Ibb4d282ebb07faab6da06d0e171fcc06d527bedb
Depends-On: I481bec083be7f5b28bf69b9c8de119e74b32a095
Signed-off-by: Jacek Centkowski <jcentkowski@collab.net>
3 files changed