softwaremill / codebrag

Your daily code review tool
http://www.codebrag.com
GNU Affero General Public License v3.0
649 stars 96 forks source link

Adding the possibility to not pull changes for repositories for a given period and fix readme #76

Closed twasyl closed 8 years ago

twasyl commented 8 years ago

In order to save network bandwith as well as uneeded logs, the configuration of Codebrag gets enriched with a new parameter store in the codebrag block. This parameter is of the following form:

pull-sleep-period {
    enabled = true
    from = 22
    to = 5
}

This configuration says that Codebrag is allowed to not pull changes for repositories from 10PM to 4:59AM. If enabled is set to false then Codebrag will always pull changes.

This PR also fixes an error in the README.md : in order to run the H2 console from sbt we must call codebrag-dao/runH2Console and not codebrag-dao/run-h2-console.

lukaszlenart commented 8 years ago

No more comments from my side, great work! 👍

twasyl commented 8 years ago

Thank you!