Hi Kevan, Review Board does not manage your Git repository. If you want to go the local clone route, you need to set up a cron tab to sync every minute, or set up some kind of hook on the main repository to force an update on your clone through some means.
We recommend not going the clone route. Instead, if you can set up cgit, gitweb, or similar, Review Board can be configured to use that to fetch file contents. Then follow the instructions in our admin manual for Git repositories to fill in the “Raw file URL mask” field. This is guaranteed to always be up-to-date, and to not have these sort of issues. Christian -- Christian Hammond - [email protected] Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On August 13, 2014 at 11:16:37 PM, Kevan Stannard ([email protected]) wrote: We are using Review Board with Git. Review Board has it's own local clone of the repository. I'm not sure exactly what our problem is but is seems have something to do with Review Board repository not being in sync with origin. * When we use rbt post we occasionally get an error indicating the review was created but without the diff. * When trying to update the diff file I get a "fatal: git cat-file" error. I was able to solve this by: * SSH to our Reviewboard server * Running a get fetch on Review Board's copy of the repository * Then updating the diff file within Review Board was successful. Any suggestions on what we might be doing wrong? Thanks -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
