add_category_min_score(NoCR, 'Code-Review', 4, Labels)
sum_list([H | Rest], Sum) :- sum_list(Rest, Tmp), Sum is H + Tmp.
I wish to modify the submit rule from https://groups.google.com/forum/#!topic/repo-discuss/Yf9z0WL-FvU to only allow submitting if the score is 4, and I only wish to count +2s. The first part is easy enough:
add_category_min_score(NoCR, 'Code-Review', 4, Labels)
I assume I need to modify sum_list:
sum_list([H | Rest], Sum) :-sum_list(Rest, Tmp), Sum is H + Tmp.
to only count "+2"s.
How do I not count +1s? One option is to not give anyone other than committers the ability to +1 a change, which seems anti-social.Ry
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.