some validations for code repos