Reviewboard 3.0.15 doesn't execute post commit

17 views
Skip to first unread message

Ron A

unread,
Jun 14, 2019, 8:06:25 PM6/14/19
to Review Board Community
Hi, I'm running Reviewboard 3.0.15, Apache 2.4, and Centos 7, subversion 1.11 

I commit changes to a file and the changes show up in the repository but the post-commit is not executed.
I have a really basic post-commit file that just writes to a log file but there is no change to the log file.
Is there any issue with Reviewboard 3.0.15 running bash commands?

#!/bin/bash
REPO="$1"
REV="$2"
echo "$(date) ${REPO} ${REV}" >> /log.txt

Thanks for the help.

Christian Hammond

unread,
Jun 15, 2019, 4:45:04 AM6/15/19
to revie...@googlegroups.com
Hi Ron,

Review Board doesn't execute any file called post-commit. I believe what you're trying to write is a post-commit script for Subversion repositories, which would go on the Subversion server, and is executed by the Subversion service itself. It can talk to things like Review Board, but Review Board has no control of when it's executed.

Christian

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/84feb64d-e3e2-4a7f-8ed4-defabdd16abd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

Ron A

unread,
Jun 18, 2019, 8:16:41 PM6/18/19
to Review Board Community
Yes, thanks for the clarification.


On Saturday, June 15, 2019 at 1:45:04 AM UTC-7, Christian Hammond wrote:
Hi Ron,

Review Board doesn't execute any file called post-commit. I believe what you're trying to write is a post-commit script for Subversion repositories, which would go on the Subversion server, and is executed by the Subversion service itself. It can talk to things like Review Board, but Review Board has no control of when it's executed.

Christian

On Fri, Jun 14, 2019 at 5:06 PM Ron A <ronte...@gmail.com> wrote:
Hi, I'm running Reviewboard 3.0.15, Apache 2.4, and Centos 7, subversion 1.11 

I commit changes to a file and the changes show up in the repository but the post-commit is not executed.
I have a really basic post-commit file that just writes to a log file but there is no change to the log file.
Is there any issue with Reviewboard 3.0.15 running bash commands?

#!/bin/bash
REPO="$1"
REV="$2"
echo "$(date) ${REPO} ${REV}" >> /log.txt

Thanks for the help.

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to revie...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages