Get description of the rb

24 views
Skip to first unread message

Ramakrishnan Palipuram Ramachandran

unread,
Feb 11, 2025, 10:40:09 AMFeb 11
to Review Board Community
Hi,
I can get the code files difference or patch for a rb using the command:

rbt patch --print <rb number>> <rb number>.diff 

For example: For rb # 260437

rbt patch --print 260437 > 260437.diff 

The file 260437.diff contains the patch corresponding to the rb.

In similar fashion, is it possible to get the description of the rb into a text file.

I am using following version of RB:

ibnvda1929 ~/rbttest> rbt -v
RBTools 5.1.1 (Python 3.11.4)
ibnvda1929 ~/rbttest> 


Thanks.

Regards,

Rama


This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.

David Trowbridge

unread,
Feb 14, 2025, 1:55:00 PMFeb 14
to revie...@googlegroups.com
You can use the `rbt api-get` command to fetch the review request data, along with a JSON tool like `jq` to extract whatever fields you want. For example:

rbt api-get /review-requests/12345/ | jq .review_request.description

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 visit https://groups.google.com/d/msgid/reviewboard/5321eeb4-7b2b-4e06-b840-a0ee406160f3n%40googlegroups.com.

Ramakrishnan Palipuram Ramachandran

unread,
Feb 18, 2025, 8:24:14 AMFeb 18
to revie...@googlegroups.com

Hi David,

Thanks for the inputs.

Regards,

Rama

You received this message because you are subscribed to a topic in the Google Groups "Review Board Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/C5MWH3Sx6XA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to reviewboard...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/reviewboard/CAFS3VNWvqGdhgBUcOtuOo2_69JnkPG-6Z6S6FWOpD1N-Y8oOxw%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages