How to install ReviewBoard from github source code?

92 views
Skip to first unread message

Work Bot

unread,
Oct 12, 2023, 2:30:34 PM10/12/23
to Review Board Community
Hi, 

I am trying to find instructions to install ReviewBoard 5 on a Linux machine through source code. For instance, I want to clone/download ReviewBoard from following links: 

However, I can only find this (Installing on Linux | Review Board latest Documentation | Review Board) instruction which tells me to install through "pip3 install ReviewBoard".

Are there any other more information that can help me success the installation process? Thanks!

David Trowbridge

unread,
Oct 12, 2023, 2:34:15 PM10/12/23
to revie...@googlegroups.com
Hi,

Is there a reason why you're looking to install from the git repository instead of the published releases? The install documentation you linked to should be the correct process for most people.

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/b2f3368c-b97b-4993-9949-01e6ee847e8fn%40googlegroups.com.

Work Bot

unread,
Oct 30, 2023, 7:01:53 PM10/30/23
to Review Board Community
Yes, I plan to install a specific version of RB (for example 5.0.5) instead of the latest one. I think I figured out a workaround through python setup.py file,

David Trowbridge

unread,
Oct 30, 2023, 7:08:47 PM10/30/23
to revie...@googlegroups.com
You can use pip to install a specific version:

pip3 install ReviewBoard==5.0.5

Building from source is a much more complicated thing, and would only be necessary if you were working on Review Board itself.

David

Work Bot

unread,
Nov 2, 2023, 11:35:14 AM11/2/23
to Review Board Community
Hi David,

I rethink & planned my requirements and I think I do need to build from source because I need to work on Review Board itself, adjusting multiple things. In that case, can you point me to a place that I can follow to build & install from your Review Board source code?

Thanks so much!

David Trowbridge

unread,
Nov 2, 2023, 11:54:58 AM11/2/23
to revie...@googlegroups.com
Hi,


That said, I highly recommend that you use the extension framework to make any "adjustments" you need, rather than modify Review Board itself. Custom patches make it very difficult to perform any upgrades in the future, and make it hard for us to diagnose or assist with any issues you may encounter. Documentation for that can be found at https://www.reviewboard.org/docs/manual/latest/extending/

David

Work Bot

unread,
Nov 2, 2023, 12:47:10 PM11/2/23
to Review Board Community
Thanks! I will spend some time on these two docs.
Message has been deleted

Work Bot

unread,
Nov 8, 2023, 1:43:29 PM11/8/23
to Review Board Community
Hi,

The doc is very helpful. Thanks for that! Beyond that, I want to check if my workflow is correct:

I git cloned repository from ReviewBoard(ex. GitHub - reviewboard/reviewboard at release-5.0.x), "cd" into the corresponding directory, and then "pip install ." there. It seems like pip is able to use the setup.py(from ReviewBoard) to complete the installation, and I can see ReviewBoard module is installed successfully with "pip show reviewboard". Is this considered to be a "correct" workflow? Since I do encounter a lot of python problems later when I try to bring up reviewboard page, so I want to make sure my initial setups are correct. 

Meanwhile, when I tried the same steps on another Debian machine, I received "Error: failed buiding wheel for RewiewBoard" and "Legacy install failure" errors. Do you have any suggestions for these?
 

Thanks a lot!!

David Trowbridge

unread,
Nov 8, 2023, 4:10:52 PM11/8/23
to revie...@googlegroups.com
You should not be using "setup.py install" from within a source tree. Either set up a development environment as per the instructions and then use "setup.py bdist_wheel" in order to build a package that is installable in your production environment using pip, or install our pre-built packages.

David

Reply all
Reply to author
Forward
0 new messages