Re: RB 2.0.17 - Interdiff fails to highlight deleted code

2017-07-06 Thread Christian Hammond
Thanks, Peter. There's still bugs here, and I've spent a lot of time reworking the algorithms to fix these. I'm not ready to ship any of that code yet, though. Needs further tweaking and testing. Having test cases like these really help with that, and I'll add the files to my regression tests.

Make installation simpler

2017-07-06 Thread Radio Active
We are considering using Review Board. It sounds promissing but there is a big problem. The installation process is overly complicated. Nobody succeeded installing it in our company so far. I guess we live in XXI century so I presume a finished product should have a standalone installation

Re: Make installation simpler

2017-07-06 Thread Christian Hammond
Hi, On a modern Linux system, installation via the Python packages is only a few commands (system package installation to get required system dependencies, a command to get Review Board and its Python dependencies, and a command to create your Review Board site installation and prepare it for

Add repository using REST API

2017-07-06 Thread Morten Laursen
Hi I am trying to add repositories using the REST API and Python: rbpath = 'http://reviewboard.rtx.loc/api/repositories/' scmmgrpath = 'https://repo.rtx.net/hg/' rbrepo = { 'name' : str(repo), 'tool ': 'Mercurial', 'path' : scmmgrpath

Re: Add repository using REST API

2017-07-06 Thread David Trowbridge
Morten, It looks like it's probably failing because your payload is being passed in as files (which is used for uploading diffs or attachments but not for the vast majority of API fields). If you do data=rbrepo it should work. -David On Thu, Jul 6, 2017 at 8:52 AM Morten Laursen

Upgrade to ReviewBoard 2.5.13.1

2017-07-06 Thread harish varadarajan
Hi, We intend to upgrade to RB 2.5.13.1 (from 2.5.6.1) and below is the list of steps that is intended to be followed on the day of migration. Please help review and let know if there is anything specific that needs to be accounted for the upgrade. (1) Create sql backup, using mysqldump. (2)

Re: Unable to access GitLab repos with dash character on name

2017-07-06 Thread Christian Hammond
Hey, Can you access /api/v3/groups/ on your GitLab server using your logged in user (same user account as you were configuring in Review Board) and see if the repository you're looking for shows up in the list? Would you mind privately sending me the payload? I think it's possible we have an

Re:

2017-07-06 Thread David Trowbridge
It sounds like you just need to specify the correct mysql password in your command-line. -David On Tue, Jul 4, 2017 at 4:03 AM Shilpa R wrote: > Hi, > > I have two machine as follows :- > > 1. 172.16.107.138 (Review Board Server and Review Board Database) > 2.

Re: Add repository using REST API

2017-07-06 Thread Morten Laursen
Reason for this format is https://www.reviewboard.org/docs/manual/1.5/webapi/2.0/overview/#making-requests: "The supplied content must be represented as multi-part form data." With r = requests.post(rbpath, data=rbrepo, auth=HTTPBasicAuth('admin', '')) it also fails: POST

Re: Add repository using REST API

2017-07-06 Thread David Trowbridge
You're very close. This one is the correct version: r = requests.post(rbpath, data=rbrepo, auth=HTTPBasicAuth('admin', '')) But then there's a problem in your "rbrepo" structure. The "tool" field has a space after it within the string. If you get rid of that space, everything should work as

Re: Add repository using REST API

2017-07-06 Thread Morten Laursen
That's it. Thank you David. On Friday, 7 July 2017 07:52:59 UTC+2, David Trowbridge wrote: > > You're very close. This one is the correct version: > > r = requests.post(rbpath, data=rbrepo, auth=HTTPBasicAuth('admin', > '')) > > But then there's a problem in your "rbrepo" structure. The