(For more resources related to this topic, see here.)
You have authored some code changes and prepared a code diff. Now you want to publish it to Review Board so as to share it with the team for review. Let us create and publish a code review request with the code diff that we generated.
When you log in to your Review Board site, you see different tabs at the top navigation bar. New Review Request is one of them. Clicking on this tab will lead you to the following screen:
You have to provide the following details in the case of an SVN repository:
In the case of Git, the diff option remains the same; you don’t have to provide a base directory in this case(unlike SVN). There is an additional field named Parent Diff that is a common field for distributed version control systems such as Git or Mercurial.
As a standard practice, you should make sure that all of the branches in your Git repository are made available in the Review Board server. If that is not the case, you will not be able to post the code diff for a branch that is not available directly because Review Board will not be able to show the code diff. In this case, you have to use the Parent Diff feature of Review Board.
This article explained briefly about one of the methods of publishing the generated code diff to Review Board to get it reviewed by others.
Further resources on this subject:
I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…
Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…
Once we learn how to deploy an Ubuntu server, how to manage users, and how…
Key-takeaways: Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…
While developing a web application, or setting dynamic pages and meta tags we need to deal with…
Software architecture is one of the most discussed topics in the software industry today, and…