make max repo size a configuration