Issue with Post Commit using Subversion

76 views
Skip to first unread message

Liran

unread,
Feb 20, 2020, 2:06:59 AM2/20/20
to Review Board Community
Hi all,
I'm working on a Post Commit flow using ReviewBoard (version 3.0.16) and TeamCity:
1. Developer commiting a code using SVN Commit and enters code review
2. TeamCity listen to any change in the Repository and once a new commit found some powershell scripts are running in order to extract key words from the commit message
3. Finally rbt post commad creates the Review request usnig some information from the commit message.

The flow works ok except that every now and then the rbt post command fails with the following message:
Error updating review request draft: Error publishing: The draft must have a description
When the flow works, the description is been extracted automatically from the commit message.
Does the descrption supposed to be automatically extracted from the commit message or it's just a glitch that happens every now and then?
If it does what can cause the description not to be automatically extracted?
Thanks in advance,
Liran.

Liran

unread,
Mar 25, 2020, 1:27:47 AM3/25/20
to Review Board Community
Hi,
anyone maybe have an answer for my question...?
Thanks,
Liran.

בתאריך יום חמישי, 20 בפברואר 2020 בשעה 09:06:59 UTC+2, מאת Liran:

David Trowbridge

unread,
Mar 25, 2020, 1:32:37 AM3/25/20
to revie...@googlegroups.com
Hi,

Can you share an example of the commit message on a commit where it fails like this? Newlines and all?

David

--
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/0fb8274c-d9cc-4c0a-a3e5-d4d6d47c7604%40googlegroups.com.

Liran T

unread,
Mar 25, 2020, 1:39:25 AM3/25/20
to revie...@googlegroups.com
Hi David,
thanks for reaching out :)
sure:
post --api-token 8c1cc50deccdde8ca0037767533f2fe44d11d071 --submit-as %dep.ReviewBoardTestProject_PostCommitCheck.env.SubmitUsername% --summary "Code review" --bugs-closed %dep.ReviewBoardTestProject_PostCommitCheck.env.JiraTestBug% --target-people %dep.ReviewBoardTestProject_PostCommitCheck.env.CodeReviewBy% -p %dep.ReviewBoardTestProject_PostCommitCheck.build.vcs.number.ReviewBoardTestProject_ReviewBoardMain%
The description isn't part of the command line as I expect Code Review to take the commit message to be taken from the commit itself.
Thanks,
Liran.

‫בתאריך יום ד׳, 25 במרץ 2020 ב-7:32 מאת ‪David Trowbridge‬‏ <‪trow...@gmail.com‬‏>:‬

Liran

unread,
Mar 26, 2020, 3:07:12 AM3/26/20
to Review Board Community
If you need an exact example just let me know and I'll take one straight from TC build log.
Thanks,
Liran

בתאריך יום רביעי, 25 במרץ 2020 בשעה 07:32:37 UTC+2, מאת David Trowbridge:
To unsubscribe from this group and stop receiving emails from it, send an email to revie...@googlegroups.com.

Liran

unread,
Apr 23, 2020, 12:57:27 AM4/23/20
to Review Board Community
Hi,
Still trying to understand if ReveiwBoard should take the message input out of a SVN commit and automatically set it as a Description when opening
a new review?
Thanks,
Liran.

בתאריך יום חמישי, 26 במרץ 2020 בשעה 09:07:12 UTC+2, מאת Liran:

Liran

unread,
Oct 29, 2020, 10:29:40 AM10/29/20
to Review Board Community

Hi,
Anyone has issues when using rbt post command using SVN?
I'm Tring to understand if the description field supposed to be automatically populated (taken from the commit message) or should I must use --description property?
I'm asking because sometimes the field will get automatically populated and sometimes not and I'm not sure what the expected result is.
Thanks,
Liran.
ב-יום חמישי, 23 באפריל 2020 בשעה 7:57:27 UTC+3, Liran כתב/ה:
Reply all
Reply to author
Forward
0 new messages