Re: Merging/combining two Reviewboard servers together

2021-01-20 Thread Rob Petti
Thanks, Christian! I suspected as much. Import/export may help with doing
this, but we'll discuss internally to see how we want to proceed. Worse
case, we'll just run and maintain multiple instances.

Thanks again!
~Rob

On Wed, Jan 20, 2021 at 2:07 PM Christian Hammond 
wrote:

> Hi Rob,
>
> Sorry for the late response here.
>
> There isn't really a way of doing this right now. We do have import/export
> capabilities being worked on for Power Pack, but as review requests rely on
> IDs, and two cannot share the same IDs, you'll be limited to one of two
> options:
>
> 1. Changing the IDs on all review requests being merged in.
> 2. Putting the review requests in their own Local Site (a sort of
> self-contained partition within a Review Board server). This would alter
> the URLs, but preserve the review request IDs. The IDs for reviews,
> comments, etc. would not be preserved.
>
> This feature is still in development. We've been working with support
> customers on testing it as we continue to develop it. If you were to use
> it, I'd advise testing it thoroughly on a test copy of the server and
> databases.
>
> Christian
>
> On Fri, Jan 15, 2021 at 12:12 PM rob@gmail.com 
> wrote:
>
>> Hi All,
>>
>> Has anyone tried to merge two reviewboard servers together? We've
>> recently acquired a new one, and are looking for ways to combine them into
>> a single server, if possible.
>>
>> I'm assuming it's not (or if it is, it's very extremely complex) but just
>> thought I'd ask first.
>>
>> ~Rob
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/reviewboard/d17cd058-c75e-4294-a310-12550bf0b46bn%40googlegroups.com
>> 
>> .
>>
>
>
> --
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> --
> 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 a topic in the
> Google Groups "Review Board Community" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/reviewboard/A4aDFMNRfQE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/CAE7Vnd%3D8027iQff1GFnQgxYNHN5Jog_AbeMVzhzwHcyZvJ7u7w%40mail.gmail.com
> 
> .
>


-- 

Rob Petti
about.me/robpetti


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CABH9TsJbNMNKA8VmZ9mXKO6h2h886G6Md0r189MfK8f-z7%3DiWQ%40mail.gmail.com.


Re: Issue with resolve-check after upgrading to 4.0 beta1

2021-01-20 Thread Christian Hammond
This is now fixed in beta 2. Thanks for the feedback!

Christian

On Wed, Jan 13, 2021 at 1:46 AM 'Charles Pigott' via Review Board Community
 wrote:

> Ah, excellent, thanks very much. Indeed - upgrade from 3.0 to 4.0
>
> Charles
>
> On Tuesday, 12 January 2021 at 21:44:29 UTC Christian Hammond wrote:
>
>> It’s a bug in beta 1. We’re releasing beta 2 in a few days to resolve
>> this and other issues.
>>
>> This happened with an upgrade with a pre-4.0 database, not a new install?
>>
>> Christian
>>
>>
>> On Tue, Jan 12, 2021 at 11:12 'Charles Pigott' via Review Board Community
>>  wrote:
>>
>>>
>>> I've been trying out 4.0 beta1 (mostly due to 20.04 largely dropping
>>> python2 support)
>>>
>>> I had some issues with the upgrade process, specifically after altering
>>> the /static webserver config and running the instruction to update the
>>> config to say that this server update has been done:
>>>
>>> rb-site manage  resolve-check static-media
>>> You must specify a check to resolve
>>>
>>> Not a particularly helpful error message. I tried a few things at this
>>> point - rb-site upgrade even segfaulted! (Though that may have been
>>> some confusion about py2/py3)
>>>
>>> Eventually I dug through the code and found that the handle function in
>>> admin/management/commands/resolve-check.py wasn't actually getting any
>>> arguments passed to it. No idea why - the class structure disappears into
>>> djblets and I can't find where that function is getting called from.
>>>
>>> Failing to come up with any other solution, I just hacked the code to
>>> set the correct argument ("static-media") there instead of erroring. After
>>> that, everything else worked fine, and initial inspections of 4.0-beta1
>>> looks good.
>>>
>>> Has anyone else seen this before? Is it a bug? Is there a workaround
>>> other than hacking the code to add the arguments manually?
>>>
>>>
>>>
>>> Thanks
>>>
>>>
>>> --
>>> 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/72f044eb-4556-4125-a017-abda35548961n%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> --
>> Christian Hammond
>> President/CEO of Beanbag
>> Makers of Review Board
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/841c7acd-5e4a-4770-a9c7-e2d9b3ddfc67n%40googlegroups.com
> 
> .
>


-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7Vnd%3DvB6UEkFPOfY3X_HimM%3Db6HRz9Ff1xbBbMPZ7D%3DaeB_g%40mail.gmail.com.


Re: Merging/combining two Reviewboard servers together

2021-01-20 Thread Christian Hammond
Hi Rob,

Sorry for the late response here.

There isn't really a way of doing this right now. We do have import/export
capabilities being worked on for Power Pack, but as review requests rely on
IDs, and two cannot share the same IDs, you'll be limited to one of two
options:

1. Changing the IDs on all review requests being merged in.
2. Putting the review requests in their own Local Site (a sort of
self-contained partition within a Review Board server). This would alter
the URLs, but preserve the review request IDs. The IDs for reviews,
comments, etc. would not be preserved.

This feature is still in development. We've been working with support
customers on testing it as we continue to develop it. If you were to use
it, I'd advise testing it thoroughly on a test copy of the server and
databases.

Christian

On Fri, Jan 15, 2021 at 12:12 PM rob@gmail.com 
wrote:

> Hi All,
>
> Has anyone tried to merge two reviewboard servers together? We've recently
> acquired a new one, and are looking for ways to combine them into a single
> server, if possible.
>
> I'm assuming it's not (or if it is, it's very extremely complex) but just
> thought I'd ask first.
>
> ~Rob
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/d17cd058-c75e-4294-a310-12550bf0b46bn%40googlegroups.com
> 
> .
>


-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7Vnd%3D8027iQff1GFnQgxYNHN5Jog_AbeMVzhzwHcyZvJ7u7w%40mail.gmail.com.


Re: Review Board upgrade from 2.5.17 to 3.0.19

2021-01-20 Thread Christian Hammond
Hi Saurabh,

We just released 3.0.20, which tightens up some of these dependencies, and
should hopefully fix up the install on your system . You'd want a fresh new
copy of the database. If you're using a VM or something, it'll be good to
start the server over just to ensure there aren't any bad dependencies on
there.

Christian

On Fri, Jan 15, 2021 at 3:01 AM Saurabh Kumar 
wrote:

> Hi Chris,
>
> We wanted to install and try out PowerPack , so we removed the old Review
> Board version (2.5 ) and installed 3.0 fresh. We were able to proceed with
> our PowerPack installation.
>
> I also suspected that something's broken in our installed packages, but at
> least it allows us to try the PowerPack plugin.
>
> We are using CentOS Linux release 7.6.1810 (Core).
>
> Thanks for your support.
> Saurabh
>
> On Friday, January 15, 2021 at 6:34:04 AM UTC+5:30 Christian Hammond wrote:
>
>> We have a 3.0.20 release in the works, and I can verify the dependencies
>> to see which we may now need to cap. Your Python is definitely quite old
>> (within the 2.7.x series).
>>
>> I'm surprised by some of the dependency issues. What Linux distro and
>> version are you using, to verify?
>>
>> The database error you're hitting is caused by:
>>
>> "[!] Unable to execute the manager command syncdb: No module named parse"
>>
>> This isn't normal, and suggests there's something broken with the set of
>> packages on your system. Can you show me the results of `pip list`?
>>
>> Christian
>>
>> On Wed, Jan 13, 2021 at 9:32 PM Saurabh Kumar 
>> wrote:
>>
>>> Hi Chris,
>>>
>>> Thanks for the quick reply. We are trying this in dev/trial server so we
>>> didn't bother about db backup.
>>>
>>> There were 3 packages that complained -
>>> 1. cyptography complained about required ciff version
>>>  Installed distribution cffi 1.6.0 conflicts with requirement
>>> cffi>=1.12
>>>  We upgraded  (pip install --upgrade cffi) cffi version manually and
>>> got version 1.14.4 installed
>>> 2. Review Board update automatically selected Pillow latest version 8.0
>>> during upgrade however  it gave the below error
>>> Pillow {PILLOW_VERSION} does not support Python "
>>> On checking the Pillow docs we identified that version 8.0 only
>>> supports Python 3.0 and above. So we manually upgraded  Pillow and got
>>> version 6.2.2
>>> 3. Upgraded python set up tools
>>> 4. Upgraded six to version 1.15.0 as there was a conflict with installed
>>> version.
>>>
>>> We are on Python version 2.7.5
>>>
>>> After all these again ran  easy_install -U ReviewBoard .
>>>
>>> Regards,
>>> Saurabh
>>>
>>> On Thursday, January 14, 2021 at 1:59:46 AM UTC+5:30 Christian Hammond
>>> wrote:
>>>
 Can you give me details in the packages that you had to manually
 resolve? It looks like you may have had some bad versions at the end that
 led to this, given the errors.

 Was this on your production server? Do you have a backup! If not, you
 might need to schedule a database repair with us.

 Christian

 On Wed, Jan 13, 2021 at 08:29 Saurabh Kumar 
 wrote:

> Hi,
>
> We tried to upgrade our existing set Review Board set up. Used the
> easy_install -U ReviewBoard command.
>
> There were a few packages mismatch which were resolved.
>
> # easy_install -U ReviewBoard
> WARNING: The easy_install command is deprecated and will be removed in
> a future version.
> Searching for ReviewBoard
> Reading https://pypi.org/simple/ReviewBoard/
> Downloading
> https://files.pythonhosted.org/packages/8b/d8/eb063ca03f1d5ca964370a3b5cdfffaecc22900d535cb2cd1a9497a0913e/ReviewBoard-3.0.19-py2-none-any.whl#sha256=9706a1af536bb2e23e9a3cfbd6d9ed5070e52db93f3610631d306196cf2d52f8
> Best match: ReviewBoard 3.0.19
> Processing ReviewBoard-3.0.19-py2-none-any.whl
> removing
> '/usr/lib/python2.7/site-packages/ReviewBoard-3.0.19-py2.7.egg' (and
> everything under it)
> Installing ReviewBoard-3.0.19-py2-none-any.whl to
> /usr/lib/python2.7/site-packages
> ReviewBoard 3.0.19 is already the active version in easy-install.pth
> Installing rbext script to /usr/bin
> Installing rbssh script to /usr/bin
> Installing rb-site script to /usr/bin
>
> Installed /usr/lib/python2.7/site-packages/ReviewBoard-3.0.19-py2.7.egg
> Processing dependencies for ReviewBoard
> Finished processing dependencies for ReviewBoard
>
> # rb-site --version
> rb-site 3.0.19
> Python 2.7.5 (default, Nov 16 2020, 22:23:17)
> [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
> Installed to
> /usr/lib/python2.7/site-packages/ReviewBoard-3.0.19-py2.7.egg/reviewboard
>
> Post this tried the upgrade site command which failed -
>
> # rb-site upgrade /var/www/
> WARNING:py.warnings:/usr/lib/python2.7/site-packages/paramiko/transport.py:33:
> CryptographyDeprecationWarning: Python 2 is no longer supported by the
> Python core team. 

New releases: Review Board 3.0.20 and 4.0 Beta 2

2021-01-20 Thread Christian Hammond
Hi everyone,

We put out two new releases last night.

3.0.20 has some bug fixes, performance improvements, and fixes up some of
our dependencies to ease new installs on Python 2.7.

4.0 Beta 2 fixes a number of regressions noted in Beta 1 (installation
issues, Postgres compatibility in one case, LDAP and Active Directory
compatibility), polishes up some features, and adds new automation options
for rb-site (custom settings templates and explicit SECRET_KEYs).

https://www.reviewboard.org/news/2021/01/20/review-board-3-0-20-and-4-0-beta-2/

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7Vnd%3DKJJcL4aMLGFOPpFiiRF_4YSPSFmcR%3D%3DOPhMFTSKgCng%40mail.gmail.com.