Re: Bzr (bazaar) support in Python 3.8? may be Brz (breezy)?

2022-02-06 Thread Vlad S.
Thanks, brz (breeze) works. Also it replaces bzr (creates symlink) if 
installed as rpm package.

The only problem I encountered is the search path used for 'bzr' binary. RB 
can find the executable in /bin/
but it can't in bin/ folder of virtualenv despite that RB itself works fine 
from the virtualenv.

пятница, 4 февраля 2022 г. в 06:10:21 UTC+3, Christian Hammond: 

> Hi Vlad,
>
> Breezy should work, so long as you symlink bzr to brz. We added explicit 
> support to RBTools, but honestly wasn’t sure anyone was using the support 
> with Review Board anymore.
>
> We did some light testing a while back with Review Board, and have had 
> (low-priority) plans to auto-detect and use Breezy. If you try it out and 
> it fails to work correctly, we can for sure look into it.
>
> Christian
>
>
> On Thu, Feb 3, 2022 at 07:38 Vlad S.  wrote:
>
>> Hi,
>>
>> 'pip install bzr' fails on recent RHEL8 like distro and in Python 3.8 
>> environment in older distro. Bazaar is dead.
>>
>> Will you continue supporting Bzr? (May be switching to now 'breezy' or 
>> brz tool)
>>
>> https://www.reviewboard.org/docs/manual/4.0/admin/configuration/repositories/bazaar/
>>
>>
>> -- 
>> 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/37e47565-fa9b-4046-951c-dd9885b9d70fn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/37e47565-fa9b-4046-951c-dd9885b9d70fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> -- 
> -- 
> 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/b52b157e-0d59-46ce-b37c-0096644d8846n%40googlegroups.com.


Bzr (bazaar) support in Python 3.8? may be Brz (breezy)?

2022-02-03 Thread Vlad S.
Hi,

'pip install bzr' fails on recent RHEL8 like distro and in Python 3.8 
environment in older distro. Bazaar is dead.

Will you continue supporting Bzr? (May be switching to now 'breezy' or brz 
tool)
https://www.reviewboard.org/docs/manual/4.0/admin/configuration/repositories/bazaar/


-- 
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/37e47565-fa9b-4046-951c-dd9885b9d70fn%40googlegroups.com.


Re: conn.encoders[SafeBytes] = conn.encoders[bytes] error

2022-01-31 Thread Vlad S.
Thanks

* pip install mysqlclient==2.0.3* worked for me with python 3.8 venv.

пятница, 31 декабря 2021 г. в 13:28:51 UTC+3, franco...@gmail.com: 

> Hello Christian,
> I'll try downgrading mysqlclient, thanks
> We have installed reviewboard with sqlite for evaluation. We'll use mysql 
> for production.
>
> thanks!
>
> Il giorno mercoledì 29 dicembre 2021 alle 12:41:43 UTC+1 Christian Hammond 
> ha scritto:
>
>> Looks like it's an incompatibility with mysqlclient 2.1 and MySQL. 
>> Technically, a compatibility change/workaround that was removed. We'll be 
>> making a change in Review Board 4.0.5 to the dependency to cap it, but for 
>> now, both of you can try:
>>
>> pip3 install "mysqlclient~=2.0"
>>
>> (Use pip3 or pip3.9 or whatever is appropriate for your setup.)
>>
>> Restart your web server, and things should work again.
>>
>> Christian
>>
>> On Tue, Dec 28, 2021 at 8:35 AM Franco Sabini  
>> wrote:
>>
>>> Hello,
>>> apparently the issue was that we have mysql 8 installed on our host.
>>> Is there any way to have reviewboard working with that version ?
>>>
>>> thanks
>>> Franco
>>>
>>>
>>> Il giorno martedì 28 dicembre 2021 alle 16:02:00 UTC+1 Franco Sabini ha 
>>> scritto:
>>>
 Hello,
 I'm on RHEL 8.5 too and getting the same error.

 pip3.8 list|grep -i mysql
 mysqlclient 2.1.0

 thanks
 Franco

 Il giorno mercoledì 15 dicembre 2021 alle 11:42:50 UTC+1 Christian 
 Hammond ha scritto:

> Looks like it's trying to access something from the MySQLdb module 
> that isn't available on your install.
>
> Can you run the following and show the results:
>
> pip3.9 list | grep -i mysql
>
> Christian
>
> On Tue, Dec 14, 2021 at 11:26 AM Shubha Ramani  
> wrote:
>
>> I am using RHEL 8 (8.5)
>> Unfortunately a very old mysql db server 5.7.18 MySQL Community Server
>> Had to change the /etc/openssl.conf to handle TLS version 1.0
>> ReviewBoard-4.0.4-venv/bin/rb-site install succeeded.
>>
>> I'm getting:
>> Something broke! (Error 500)
>>
>> It appears something broke when you tried to go to here. This is 
>> either a bug in Review Board or a server configuration error. Please 
>> report 
>> this to your administrator.
>> However
>>  ReviewBoard-4.0.4-venv/bin/rb-site /webapp/reviewboard/site_prod/ 
>> list-siteconfig 
>> produces:
>>   File 
>> "/webapp/PYTHON_VENVS/ReviewBoard-4.0.4-venv/lib/python3.9/site-packages/django/db/models/sql/compiler.py",
>>  
>> line 887, in execute_sql
>> cursor = self.connection.cursor()
>>   File 
>> "/webapp/PYTHON_VENVS/ReviewBoard-4.0.4-venv/lib/python3.9/site-packages/django/db/backends/base/base.py",
>>  
>> line 254, in cursor
>> return self._cursor()
>>   File 
>> "/webapp/PYTHON_VENVS/ReviewBoard-4.0.4-venv/lib/python3.9/site-packages/django/db/backends/base/base.py",
>>  
>> line 229, in _cursor
>> self.ensure_connection()
>>   File 
>> "/webapp/PYTHON_VENVS/ReviewBoard-4.0.4-venv/lib/python3.9/site-packages/django/db/backends/base/base.py",
>>  
>> line 213, in ensure_connection
>> self.connect()
>>   File 
>> "/webapp/PYTHON_VENVS/ReviewBoard-4.0.4-venv/lib/python3.9/site-packages/django/db/backends/base/base.py",
>>  
>> line 189, in connect
>> self.connection = self.get_new_connection(conn_params)
>>   File 
>> "/webapp/PYTHON_VENVS/ReviewBoard-4.0.4-venv/lib/python3.9/site-packages/django/db/backends/mysql/base.py",
>>  
>> line 276, in get_new_connection
>> conn.encoders[SafeBytes] = conn.encoders[bytes]
>> KeyError: 
>>
>> -- 
>> 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/7029df4f-6442-41c6-88ef-24ddf28c83een%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/
>>> 

Re: What is the recommended python version for RB 4.0.4?

2021-12-22 Thread Vlad S.
Thanks!

среда, 8 декабря 2021 г. в 11:42:00 UTC+3, Christian Hammond: 

> Hi Vlad,
>
> 3.8 would be your best bet. We'll be dropping 2.7 and 3.6, at the very 
> least, in Review Board 5.0.
>
> Christian
>
> On Tue, Dec 7, 2021 at 11:55 PM Vlad S.  wrote:
>
>> Hi!
>>
>> What's the recommended Ptyhon version for Reviewboard 4.0.4?
>> 2.7, 3.6, 3.8?
>>
>> thanks,
>> Vlad
>>
>> -- 
>> 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/a6dce7ae-f6af-4af5-bd1d-48d465b980b6n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/a6dce7ae-f6af-4af5-bd1d-48d465b980b6n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>

-- 
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/6d4740f5-443d-4ee8-8f6f-22ec8519a715n%40googlegroups.com.


What is the recommended python version for RB 4.0.4?

2021-12-07 Thread Vlad S.
Hi!

What's the recommended Ptyhon version for Reviewboard 4.0.4?
2.7, 3.6, 3.8?

thanks,
Vlad

-- 
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/a6dce7ae-f6af-4af5-bd1d-48d465b980b6n%40googlegroups.com.


How to deactivate many accounts at once froma script?

2021-11-23 Thread Vlad S.

Hi, 

I googled the forum first but found no answer. There are direct database 
hacks, but no standard commands.

*django-admin help *returns no usefull commands.

Is there any command to deactivate a user? Any hints/examples how to write 
one?

thanks, 
Vlad


-- 
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/5598b1da-2736-44d5-ae94-2cb4b9218b4fn%40googlegroups.com.


Re: 4.0.2: repository filter does not work

2021-06-26 Thread Vlad
Thank you! Will wait for the next week release.

On Fri, Jun 25, 2021, 23:31 Christian Hammond 
wrote:

> Yeah, we’ll have this in a release next week. You can apply the patch
> locally but you’ll have to generate a new package.
>
> Christian
>
>
> On Thu, Jun 24, 2021 at 01:36 Vlad S.  wrote:
>
>> I guess this code does not work as expected -
>> https://reviews.reviewboard.org/r/10742/
>>
>> среда, 23 июня 2021 г. в 21:36:37 UTC+3, Vlad S.:
>>
>>>
>>> Hi,
>>>
>>> When I create a new review request (/r/new) and try to filter
>>> repositories the
>>> filtering function does not work. No errors, no result, no log.
>>>
>>> Enabling debug does not help.
>>>
>>> -- Vlad
>>>
>> --
>> 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/5e87b58f-8df1-4302-9a68-2210c5caebafn%40googlegroups.com
>> <https://groups.google.com/d/msgid/reviewboard/5e87b58f-8df1-4302-9a68-2210c5caebafn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> --
> 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/HNcS8twV7WU/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%3DDQ-8t08e4%3Dgw-uvYZCNSWhtry0CnNt8vsQOAsULE1ag%40mail.gmail.com
> <https://groups.google.com/d/msgid/reviewboard/CAE7Vnd%3DDQ-8t08e4%3Dgw-uvYZCNSWhtry0CnNt8vsQOAsULE1ag%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CALR6X0-O1G_YcvoErBB2weMjdxaaXcOc5R1FHLvzcUx-sAHk_w%40mail.gmail.com.


Re: 4.0.2: repository filter does not work

2021-06-24 Thread Vlad S.
I guess this code does not work as expected -
https://reviews.reviewboard.org/r/10742/

среда, 23 июня 2021 г. в 21:36:37 UTC+3, Vlad S.: 

>
> Hi,
>
> When I create a new review request (/r/new) and try to filter repositories 
> the
> filtering function does not work. No errors, no result, no log.
>
> Enabling debug does not help.
>
> -- Vlad
>

-- 
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/5e87b58f-8df1-4302-9a68-2210c5caebafn%40googlegroups.com.


4.0.2: repository filter does not work

2021-06-23 Thread Vlad S.

Hi,

When I create a new review request (/r/new) and try to filter repositories 
the
filtering function does not work. No errors, no result, no log.

Enabling debug does not help.

-- Vlad

-- 
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/2d8566a8-24a7-4d33-acfd-59d3dd865b30n%40googlegroups.com.


Re: Backslash at the end of the reviewers field causes "server error 500"

2021-05-11 Thread Vlad S.
No, I don't have the trace.
I can guess this regex problem. Just like never-ending Markdown parser.

суббота, 8 мая 2021 г. в 02:51:58 UTC+3, Christian Hammond: 

> Hi Vlad,
>
> Hmm, strange. We’ll see what’s going on, try to get a fix.
>
> Do you have a stack trace?
>
> Christian
>
>
> On Thu, May 6, 2021 at 23:56 Vlad S.  wrote:
>
>> Hi,
>>
>> accidentally added a backslash at the end of the reviewers field. The 
>> page reported "Internal server error 500" and then hung while submitting or 
>> resubmitting the request.
>> I guess '\' affects regex used to parse the field.
>>
>> Thanks,
>> -- Vlad
>>
>> -- 
>> 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/dd14b3b6-501b-4302-8932-b6810cffd1f7n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/dd14b3b6-501b-4302-8932-b6810cffd1f7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> -- 
> -- 
> 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/d5f690c6-4ba1-4efc-8838-729d61e31776n%40googlegroups.com.


Backslash at the end of the reviewers field causes "server error 500"

2021-05-06 Thread Vlad S.
 

Hi,

accidentally added a backslash at the end of the reviewers field. The page 
reported "Internal server error 500" and then hung while submitting or 
resubmitting the request.
I guess '\' affects regex used to parse the field.

Thanks,
-- Vlad

-- 
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/dd14b3b6-501b-4302-8932-b6810cffd1f7n%40googlegroups.com.


Re: ReviewBoard SAML SSO (Single-Sign On)

2020-11-18 Thread Vlad S.
I need some time to prepare a sample.

понедельник, 16 ноября 2020 г. в 21:42:51 UTC+3, roe135...@gmail.com: 

> I'm also trying to use mod_auth_mellon, can you share what are your 
> changes to create your "custom very basic auth module" to pass the 
> REMOTE_USER information from mod_auth_mellon?
>
> On Saturday, November 14, 2020 at 6:53:01 PM UTC-8 Christian Hammond wrote:
>
>> We're working on official SSO support, including SAML. Right now, we're 
>> focusing on the last work for Review Board 4.0 (which has been delayed due 
>> to some coordination between a number of modules that were impacted by 
>> newer Python and Django releases), but we'll be preparing to get it ready 
>> for release after. It will ship as a feature in Power Pack 
>> .
>>
>> Christian
>>
>> On Thu, Oct 29, 2020 at 10:29 AM Jimmy Huang  wrote:
>>
>>> I was looking in the ReviewBoard authentication settings and by default 
>>> we are using LDAP. I see that there is no option to provide IDP metadata 
>>> for SAML 2.0.
>>>
>>> Is there a plug-in/extension or install from python/reviewboard to 
>>> enable this capability? For example, I know Jenkins have a SAML plug-in 
>>> that needed to be installed to enable SAML.
>>>
>>> Thanks,
>>> Jimmy
>>>
>>> -- 
>>> 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/d4b8e859-7013-46ee-b8dc-cb09e12ba4cfn%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/893f1fad-ddd3-4270-8b43-46a566508833n%40googlegroups.com.


Re: ReviewBoard SAML SSO (Single-Sign On)

2020-11-09 Thread Vlad S.
I use mod_auth_mellon + custom very basic auth module which authenticates 
RB user using REMOTE_USER set by mod_auth_mellon.

пятница, 30 октября 2020 г. в 22:56:21 UTC+3, roe135...@gmail.com: 

> Hi All,
>
> If it is not possible, I can try to integrate SAML into the existing 
> Django app itself. However, in the authentication in the GUI, I'm not sure 
> how I can edit the mode of authentication to a new mode (SAML)
>
> Right now it is set to LDAP and I need to be able to select SAML 2.0. I 
> have added parts of SAML using https://github.com/knaperek/djangosaml2 as 
> well as our own generated IdP metadata.
>
> Jimmy
>
> On Thursday, October 29, 2020 at 10:29:41 AM UTC-7 Jimmy Huang wrote:
>
>> I was looking in the ReviewBoard authentication settings and by default 
>> we are using LDAP. I see that there is no option to provide IDP metadata 
>> for SAML 2.0.
>>
>> Is there a plug-in/extension or install from python/reviewboard to enable 
>> this capability? For example, I know Jenkins have a SAML plug-in that 
>> needed to be installed to enable SAML.
>>
>> Thanks,
>> Jimmy
>>
>

-- 
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/53baaecc-84dc-4999-8942-464e48226b84n%40googlegroups.com.


Re: This file contains only whitespace changes (CC pragmas ignored by diff viewer)

2020-05-23 Thread Vlad
This is an interdiff, "Changes between revision 1 and 2".

I have found your reply on a similar problem: "The new algorithm is being
tested in the 4.0 work, and once we know it's stable, the plan is to
backport to 3.0.x. It's a full rewrite designed to address these sorts of
problems, but potentially could cause new ones, so we've been hesitant to
make it available just yet. This will be in 4.0 beta 1, which we're
nearing, and we'd love to get some testing on it when it's out."

Is that correct?

On Sat, May 23, 2020 at 4:38 AM Christian Hammond 
wrote:

> Is this a standard diff, or an interdiff? We don’t do anything special
> with pragmas that should impact diff rendering. They could be getting
> caught up in the interdiff bug, but it’s just text like any other where
> diffs are concerned.
>
> Christian
>
>
> On Tue, May 19, 2020 at 09:01 Vlad S.  wrote:
>
>> Hi,
>>
>> RB diff ignores CPP pragmas treating them as whitespace. Please see the
>> screenshot attached.
>> The diff viewer says "This file contains only whitespace changes".
>>
>> RB version is 3.0.15, installed from sources using pip install and
>> virtualenv.
>>
>> Diff viewer system settings: "*.c, *.cc, *.h, Makefile, *.inc, *.phpt,
>> *.m4, *.w32, *.frag, *.xml, README, *.*"
>>
>> Any suggestions?
>>
>> --
>> 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/bca55f78-7d99-4488-a8d8-2275c4de69f1%40googlegroups.com
>> <https://groups.google.com/d/msgid/reviewboard/bca55f78-7d99-4488-a8d8-2275c4de69f1%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> --
> 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/f100PuGAC88/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/CAE7VndkP_WPHV0LxeSFq7Wip%2BVBZw8%2BV1_%2BhT3ApN%3D-LvwZGPw%40mail.gmail.com
> <https://groups.google.com/d/msgid/reviewboard/CAE7VndkP_WPHV0LxeSFq7Wip%2BVBZw8%2BV1_%2BhT3ApN%3D-LvwZGPw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CALR6X0_e2RWsuj185-QqYFLok8ww6_R%3DYJu7nSnebjWneNbF6w%40mail.gmail.com.


Re: Interdiffs not displaying properly

2020-05-22 Thread Vlad S.
huh, this bug is really annoying for .cc files.

вторник, 14 апреля 2020 г., 23:49:44 UTC+3 пользователь Teddy Saintvil 
написал:
>
> Having issues with interdiffs displaying incorrectly in the diffviewer. 
> I've attached screen shot of what gets displayed with a reproducer below. 
>
>
> original
> // top of file
>
>   // comment
>   void foo();
>
> // bottom of file
>
> diff 1
> // top of file
>
>   // comment
> #if 0
>   void foo();
> #endif
>
> // bottom of file
>
> diff 2
> // top of file
> #if 0
>   // comment
>   void foo();
> #endif
>
> // bottom of file
>
>
>

-- 
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/89fbe502-675a-4cf0-84ad-4abe161fc43e%40googlegroups.com.


This file contains only whitespace changes (CC pragmas ignored by diff viewer)

2020-05-19 Thread Vlad S.
Hi, 

RB diff ignores CPP pragmas treating them as whitespace. Please see the 
screenshot attached.
The diff viewer says "This file contains only whitespace changes".

RB version is 3.0.15, installed from sources using pip install and 
virtualenv.

Diff viewer system settings: "*.c, *.cc, *.h, Makefile, *.inc, *.phpt, 
*.m4, *.w32, *.frag, *.xml, README, *.*"

Any suggestions?

-- 
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/bca55f78-7d99-4488-a8d8-2275c4de69f1%40googlegroups.com.


Re: How to find the bottleneck?

2019-10-28 Thread Vlad S.
Hi Christian,

Thank you for your suggestions and  RB Gateway link! I will examine all the 
options.

/v

суббота, 26 октября 2019 г., 7:15:42 UTC+3 пользователь Christian Hammond 
написал:
>
> Hi Vlad,
>
> The problem is definitely looking like NFS. A Git repository is comprised 
> of a great many files, which must be read and parsed and often point to 
> other files. You want fast filesystem access to work with a Git repository 
> directly.
>
> If you’re seeing that level of slowdown just from a dd test, I bet you’re 
> having more issues than you realize. Directory scans and file seeking are 
> probably slow as well. Every time we fetch a file (which will happen for 
> each file in a diff, at upload and diff viewer time), it’s going to be 
> performing a number of slow steps, resulting in the problems you’re seeing.
>
> What I’d suggest is moving away from NFS access to Git. Instead, install 
> our RB Gateway service on the system hosting the repositories, configure it 
> to point to each repository, and then configure those existing repositories 
> in Review Board to access through RB Gateway instead of over NFS.
>
> https://www.reviewboard.org/downloads/rbgateway/
>
> This is going to provide deeper integration with Git overall. RB Gateway 
> can take care of some Git management that Review Board doesn’t attempt. 
> It’s the preferred way if you want to use a plain Git repository not backed 
> by a service like GitHub or GitLab.
>
> Regarding the database question, yes, you can point multiple Review Board 
> servers to the same database. You must use the same SECRET_KEY on each 
> server.
>
> Christian
>
>
>
> On Fri, Oct 25, 2019 at 06:40 Vlad S. > 
> wrote:
>
>> Only new one. The old host is 10x times faster. Ten times.
>> Generates diffs one-by-one in 200-300ms.
>>
>> Old host uses NFS v3, dd reading a large file from repo at ~450MB/s
>> New host uses NFS v3,  dd reading a large file from repo at ~255 MB/s
>>
>> SO the old has slower CPU but faster NFS, the new host has faster CPU but 
>> still fast NFS..
>>
>> I want to point both hosts at the same database and compare to find a 
>> problem. The RB manual says it is supported.
>>
>> May I use the same SECRET_KEY in 
>> /var/www/rb-site1/conf/settings_local.py  across the hosts?
>>
>> /v
>>
>> пятница, 25 октября 2019 г., 13:39:19 UTC+3 пользователь Christian 
>> Hammond написал:
>>>
>>> Hi Vlad,
>>>
>>> Is this problem only occurring on the new host and not the old one?
>>>
>>> Do you ever see those `git cat-file` errors on the old host?
>>>
>>> Any differences in NFS configuration between the hosts?
>>>
>>> Christian
>>>
>>> On Fri, Oct 25, 2019 at 2:11 AM Vlad S.  wrote:
>>>
>> Hi Christian, 
>>>>
>>>> There are messages like this 
>>>>   File 
>>>> "/venvs/rb/lib/python2.7/site-packages/reviewboard/scmtools/git.py", line 
>>>> 702, in _cat_file
>>>> raise SCMError(errmsg)
>>>> SCMError: fatal: git cat-file 1ba156144fe754340c79e0f871a52f750ad8f6b7: 
>>>> bad file
>>>>
>>>> The repository is on the same network, NFS mount. memcached runs, 2G, 
>>>> cache hit ratio ~95%, 4 cores CPU.
>>>> Only mysql server is distant with 100ms latency. Tried to turn off 
>>>> syntax highlighting. It does not help much.
>>>>
>>>> 163K diff file, 116 files, C text. So it does not look large.
>>>>
>>>> # Old fast host - New slow host
>>>> CPU4 cores4 cores
>>>> both have plenty on RAM
>>>> memcached  v1.5* 2GB   v1.4* 2GB
>>>> memcached memory used   ~400MB~90MB  
>>>> mysql latency 0.2ms   100ms
>>>> repo host latency   both on the same network.
>>>>
>>>> Memory usage: 
>>>>
>>>> 411.7 MB
>>>> пятница, 25 октября 2019 г., 11:44:25 UTC+3 пользователь Christian 
>>>> Hammond написал:
>>>>>
>>>>> Hi Vlad,
>>>>>
>>>>> It's often a delay in getting data back from the repository. Are there 
>>>>> any other log messages? Is the repository in the same network?
>>>>>
>>>>> How many files are in each diff, and are any excessively large?
>>>>>
>>>>> Also, make sure that

Re: How to find the bottleneck?

2019-10-25 Thread Vlad S.
Only new one. The old host is 10x times faster. Ten times.
Generates diffs one-by-one in 200-300ms.

Old host uses NFS v3, dd reading a large file from repo at ~450MB/s
New host uses NFS v3,  dd reading a large file from repo at ~255 MB/s

SO the old has slower CPU but faster NFS, the new host has faster CPU but 
still fast NFS..

I want to point both hosts at the same database and compare to find a 
problem. The RB manual says it is supported.

May I use the same SECRET_KEY in /var/www/rb-site1/conf/settings_local.py  
across the hosts?

/v

пятница, 25 октября 2019 г., 13:39:19 UTC+3 пользователь Christian Hammond 
написал:
>
> Hi Vlad,
>
> Is this problem only occurring on the new host and not the old one?
>
> Do you ever see those `git cat-file` errors on the old host?
>
> Any differences in NFS configuration between the hosts?
>
> Christian
>
> On Fri, Oct 25, 2019 at 2:11 AM Vlad S. > 
> wrote:
>
>> Hi Christian, 
>>
>> There are messages like this 
>>   File 
>> "/venvs/rb/lib/python2.7/site-packages/reviewboard/scmtools/git.py", line 
>> 702, in _cat_file
>> raise SCMError(errmsg)
>> SCMError: fatal: git cat-file 1ba156144fe754340c79e0f871a52f750ad8f6b7: 
>> bad file
>>
>> The repository is on the same network, NFS mount. memcached runs, 2G, 
>> cache hit ratio ~95%, 4 cores CPU.
>> Only mysql server is distant with 100ms latency. Tried to turn off syntax 
>> highlighting. It does not help much.
>>
>> 163K diff file, 116 files, C text. So it does not look large.
>>
>> # Old fast host - New slow host
>> CPU4 cores4 cores
>> both have plenty on RAM
>> memcached  v1.5* 2GB   v1.4* 2GB
>> memcached memory used   ~400MB~90MB  
>> mysql latency 0.2ms   100ms
>> repo host latency   both on the same network.
>>
>> Memory usage: 
>>
>> 411.7 MB
>> пятница, 25 октября 2019 г., 11:44:25 UTC+3 пользователь Christian 
>> Hammond написал:
>>>
>>> Hi Vlad,
>>>
>>> It's often a delay in getting data back from the repository. Are there 
>>> any other log messages? Is the repository in the same network?
>>>
>>> How many files are in each diff, and are any excessively large?
>>>
>>> Also, make sure that Review Board is seeing the memcached server. Check 
>>> the Admin UI -> Cache information to be sure.
>>>
>>> Christian
>>>
>>> On Fri, Oct 25, 2019 at 1:32 AM Vlad S.  wrote:
>>>
>>>> Hi,
>>>>
>>>>
>>>> Generating a diff file info for interdiffsettakes too much time ~30 
>>>> seconds. How do I know why?
>>>> Is there a command line method to debug this and see all the calls made?
>>>> ===
>>>> CRITICAL - None - ... - /rb/api/review-requests/27122/diff-context/ - 
>>>> .. - Generating diff file info for interdiffset ids 66619-66797 took 
>>>> 29.881996 seconds
>>>> ===
>>>> Thanks!
>>>>
>>>> /v
>>>>
>>>> -- 
>>>> 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 revie...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/reviewboard/47fd0081-0d5d-4c50-8fd9-5a2fe036806d%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/reviewboard/47fd0081-0d5d-4c50-8fd9-5a2fe036806d%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>> Makers of Review Board <https://www.reviewboard.org/>
>>>
>> -- 
>> 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? L

Re: How to find the bottleneck?

2019-10-25 Thread Vlad S.
Hi Christian, 

There are messages like this 
  File "/venvs/rb/lib/python2.7/site-packages/reviewboard/scmtools/git.py", 
line 702, in _cat_file
raise SCMError(errmsg)
SCMError: fatal: git cat-file 1ba156144fe754340c79e0f871a52f750ad8f6b7: bad 
file

The repository is on the same network, NFS mount. memcached runs, 2G, cache 
hit ratio ~95%, 4 cores CPU.
Only mysql server is distant with 100ms latency. Tried to turn off syntax 
highlighting. It does not help much.

163K diff file, 116 files, C text. So it does not look large.

# Old fast host - New slow host
CPU4 cores4 cores
both have plenty on RAM
memcached  v1.5* 2GB   v1.4* 2GB
memcached memory used   ~400MB~90MB  
mysql latency 0.2ms   100ms
repo host latency   both on the same network.

Memory usage: 

411.7 MB
пятница, 25 октября 2019 г., 11:44:25 UTC+3 пользователь Christian Hammond 
написал:
>
> Hi Vlad,
>
> It's often a delay in getting data back from the repository. Are there any 
> other log messages? Is the repository in the same network?
>
> How many files are in each diff, and are any excessively large?
>
> Also, make sure that Review Board is seeing the memcached server. Check 
> the Admin UI -> Cache information to be sure.
>
> Christian
>
> On Fri, Oct 25, 2019 at 1:32 AM Vlad S. > 
> wrote:
>
>> Hi,
>>
>>
>> Generating a diff file info for interdiffsettakes too much time ~30 
>> seconds. How do I know why?
>> Is there a command line method to debug this and see all the calls made?
>> ===
>> CRITICAL - None - ... - /rb/api/review-requests/27122/diff-context/ - .. 
>> - Generating diff file info for interdiffset ids 66619-66797 took 29.881996 
>> seconds
>> ===
>> Thanks!
>>
>> /v
>>
>> -- 
>> 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 revie...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/reviewboard/47fd0081-0d5d-4c50-8fd9-5a2fe036806d%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/reviewboard/47fd0081-0d5d-4c50-8fd9-5a2fe036806d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>

-- 
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/a8aa658c-748b-4e7d-99e7-c858220eaf4f%40googlegroups.com.


How to find the bottleneck?

2019-10-25 Thread Vlad S.
Hi,


Generating a diff file info for interdiffsettakes too much time ~30 
seconds. How do I know why?
Is there a command line method to debug this and see all the calls made?
===
CRITICAL - None - ... - /rb/api/review-requests/27122/diff-context/ - .. - 
Generating diff file info for interdiffset ids 66619-66797 took 29.881996 
seconds
===
Thanks!

/v

-- 
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/47fd0081-0d5d-4c50-8fd9-5a2fe036806d%40googlegroups.com.


Re: Development setup link broken?

2018-01-30 Thread Vlad
It works, thanks!

On Jan 30, 2018 21:40, "David Trowbridge"  wrote:

> OK, it should be working now. Please let me know if you continue to have
> problems.
>
> -David
>
> On Tue, Jan 30, 2018 at 10:02 AM Vlad S.  wrote:
>
>> https://www.reviewboard.org/docs/codebase/dev/getting-started/
>>
>> вторник, 30 января 2018 г., 19:49:23 UTC+3 пользователь David Trowbridge
>> написал:
>>
>>> Notion recently changed how public URLs work. If you tell me which page
>>> has the broken link I can get it fixed up.
>>>
>>> -David
>>>
>>> On Tue, Jan 30, 2018 at 7:22 AM Vlad S.  wrote:
>>>
>> Hi,
>>>>
>>>> Trying to do development setup, the link just returns -
>>>>
>>>> "You do not have access to Review Board. Please contact an admin to add
>>>> you as a member."
>>>> on notion.so site??
>>>>
>>>> /v
>>>>
>>>> --
>>>> 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.
>>>
>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>> 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.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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/kncQ0lWf0UM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Development setup link broken?

2018-01-30 Thread Vlad S.
https://www.reviewboard.org/docs/codebase/dev/getting-started/

вторник, 30 января 2018 г., 19:49:23 UTC+3 пользователь David Trowbridge 
написал:
>
> Notion recently changed how public URLs work. If you tell me which page 
> has the broken link I can get it fixed up.
>
> -David
>
> On Tue, Jan 30, 2018 at 7:22 AM Vlad S. > 
> wrote:
>
>> Hi,
>>
>> Trying to do development setup, the link just returns -
>>
>> "You do not have access to Review Board. Please contact an admin to add 
>> you as a member."
>> on notion.so site??
>>
>> /v
>>
>> -- 
>> 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 .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Development setup link broken?

2018-01-30 Thread Vlad S.
Development Setup 
<https://www.reviewboard.org/docs/codebase/dev/getting-started/>



вторник, 30 января 2018 г., 19:49:23 UTC+3 пользователь David Trowbridge 
написал:
>
> Notion recently changed how public URLs work. If you tell me which page 
> has the broken link I can get it fixed up.
>
> -David
>
> On Tue, Jan 30, 2018 at 7:22 AM Vlad S. > 
> wrote:
>
>> Hi,
>>
>> Trying to do development setup, the link just returns -
>>
>> "You do not have access to Review Board. Please contact an admin to add 
>> you as a member."
>> on notion.so site??
>>
>> /v
>>
>> -- 
>> 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 .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Development setup link broken?

2018-01-30 Thread Vlad S.
Hi,

Trying to do development setup, the link just returns -

"You do not have access to Review Board. Please contact an admin to add you 
as a member."
on notion.so site??

/v

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading from 2.5.16 to 3.0.2 skipping all 3.0.x releases?

2018-01-28 Thread Vlad
Thanx!

Hopefully only InnoDB tables:

mysql> SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'rb'
AND ENGINE != 'InnoDB';

Empty set (0.01 sec)

On Sun, Jan 28, 2018 at 9:36 PM, Christian Hammond  wrote:

> Hi Vlad,
>
> Yep, you can upgrade from any version to any version. I do recommend
> backing up your database first, in case you hit any problems (if using
> MySQL, the most common problem is having created tables using the older
> MyISAM table type and attempting an upgrade with a newer MySQL using
> InnoDB, which will cause problems -- you want a backup in this case in
> order to fix this).
>
> Christian
>
> On Sun, Jan 28, 2018 at 5:51 AM, Vlad S.  wrote:
>
>> Hi,
>>
>> Earlier in 2.5.x, upgrading process was clear - from 2.5.X to 2.5.(X+1)
>>
>> Can I upgrade from 2.5.16 to 3.0.2 directly, skipping all 3.0.x releases?
>>
>> /v
>>
>> --
>> 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.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> --
> 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/5aeE9QFrcKk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Upgrading from 2.5.16 to 3.0.2 skipping all 3.0.x releases?

2018-01-28 Thread Vlad S.
Hi,

Earlier in 2.5.x, upgrading process was clear - from 2.5.X to 2.5.(X+1)

Can I upgrade from 2.5.16 to 3.0.2 directly, skipping all 3.0.x releases?

/v

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Interdiff issue: changes unmarked and thus got review unnoticed.

2016-09-06 Thread Vlad
Hi Christian,

Thank you for the reply, I have filled the bug with a screenshot -
https://hellosplat.com/s/beanbag/tickets/4462/
This is not merge but two consequent diffs
(rb.local/rb/r/137/diff/2-3/?collapse=1)
with two lines _moved_ up.

I downloaded two diffs from RB and run simple diff tool, it worked as
expected, two +lines and two -lines:

$ diff -u diff2.txt diff3.txt

--- diff2.txt 2016-09-06 12:57:52.0 +0300

+++ diff3.txt 2016-09-06 12:58:06.0 +0300

@@ -2935,6 +2935,8 @@

   */

   bool warn_or_err_on_..

 #endif

+

+private:

   /**

 Remove the ..



@@ -2953,8 +2955,6 @@

 @param[in] ..

   */

   void update_..

-

-private:

 #ifdef HAVE_..

   /// Lock all

   void lock_..

@@ -3007,7 +3007,7 @@

 #endif



   /**

-This is a sub task of update_g..

+This is a sub task of update_on_..

 the case of a thread that needs



May be I am missing something, but I could find right place for debug
output.

/v

On Tue, Sep 6, 2016 at 12:32 PM, Christian Hammond  wrote:

> Hi Vlad,
>
> Are those changes part of your diffs, or from a merge? We filter out
> content from merges, showing them as equals, since they're not a factor in
> the changes being reviewed.
>
> There is a bug with interdiffs today that can result in some lines in very
> specific cases not showing up as being changed. I have a fix for this, but
> we need to do some thorough testing before it can go in.
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Fri, Sep 2, 2016 at 7:40 AM, Vlad S.  wrote:
>
>> Hi!
>>
>> I have issue with interdiff view, the changes from diff1 to diff2 left
>> unmarked and thus got review unnoticed. See attachment.
>> The lines removed from diff2 was not marked at all.
>>
>> Would you provide some guidance?
>>
>> Which .py file shall I look at for the interdiff which generate the view?
>> Where shall I add debug output to see interdiff code outputs.
>> It seems it is not git diff issue, but the interdiff code.
>>
>> /v
>>
>> --
>> 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
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to reviewboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 "reviewboard" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/reviewboard/w7kVBNu8EeU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Interdiff issue: changes unmarked and thus got review unnoticed.

2016-09-02 Thread Vlad S.
Hi!

I have issue with interdiff view, the changes from diff1 to diff2 left 
unmarked and thus got review unnoticed. See attachment.
The lines removed from diff2 was not marked at all.

Would you provide some guidance?

Which .py file shall I look at for the interdiff which generate the view? 
Where shall I add debug output to see interdiff code outputs.
It seems it is not git diff issue, but the interdiff code.

/v

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Parent diff support in ReviewBoard 2.5.3 UI?

2016-08-25 Thread Vlad S.
I hit the same issue. Here is the diff (RB 2.5.4, git 2.7.3):

# diff -u git.py.orig git.py 
--- git.py.orig 2016-08-23 12:56:07.375683157 +0200 
+++ git.py 2016-08-23 12:57:24.079225312 +0200 
@@ -634,6 +634,8 @@ 
 if failure: 
 if errmsg.startswith("fatal: Not a valid object name"): 
 raise FileNotFoundError(commit) 
+elif errmsg.startswith("fatal: git cat-file: could not get 
object info"): 
+raise FileNotFoundError(commit) 
 else: 
 raise SCMError(errmsg)



понедельник, 8 августа 2016 г., 21:06:19 UTC+3 пользователь David 
Trowbridge написал:
>
> Oh, OK, I see what you mean now. Can you either create a patch to handle 
> the new error message coming from git or file a bug about this?
>
> -David
>
> On Mon, Aug 8, 2016 at 2:32 AM fluzz > 
> wrote:
>
>>
>>
>> Le dimanche 7 août 2016 20:02:06 UTC+2, David Trowbridge a écrit :
>>>
>>> It actually looks like the locally synchronized copy on the review board 
>>> server has some corruption (the "bad file"). I'd suggest doing a new full 
>>> clone.
>>>
>>> -David
>>>
>>>
>> I tried this simple test on a fresh new empty repository:
>>
>> mkdir t1
>> cd t1
>> git init .
>>
>> echo "1st line" > test.t
>> git add test.t
>> git commit -m "Add test.t"
>>
>> echo "2nd line" >> test.t
>> git add test.t
>> git commit -m "Add second line"
>>
>> cd ..
>> cp -R t1 t2
>>
>> cd t1
>>
>> echo "3rd line" >> test.t
>> git add test.t
>> git commit -m "Add third line"
>>   --> commit is f7822b0ead90833f1a337b3003d6b0b0ba5d70d1
>> git diff-tree f7822b0ead90833f1a337b3003d6b0b0ba5d70d1
>>   --> :100644 100644 7d91453217afc429984c4706e8df22aaac47c9ce 
>> 6da4d3e0a797240aefaa9c8009e49c57ded3b59e Mtest.t
>>
>> git cat-file -t 6da4d3e0a797240aefaa9c8009e49c57ded3b59e
>>   --> blob
>>
>> cd ../t2
>>
>> git cat-file -t 6da4d3e0a797240aefaa9c8009e49c57ded3b59e
>>   --> fatal: git cat-file 6da4d3e0a797240aefaa9c8009e49c57ded3b59e: 
>> bad file(this is with a recent git version)
>>
>> git cat-file -t 6da4d3e0a797240
>>   --> fatal: Not a valid object name 6da4d3e0a797240
>>
>> So, same result than the one that I already reported...
>>
>>
>> -- 
>> 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 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Parent diff support in ReviewBoard 2.5.3 UI?

2016-08-25 Thread Vlad S.
I hit the same issue. Fixed as suggested above (RB 2.5.4 and git 2.7.3).
The diff:

# diff -u git.py.orig git.py

--- git.py.orig 2016-08-23 12:56:07.375683157 +0200

+++ git.py 2016-08-23 12:57:24.079225312 +0200

@@ -634,6 +634,8 @@

 if failure:

 if errmsg.startswith("fatal: Not a valid object name"):

 raise FileNotFoundError(commit)

+elif errmsg.startswith("fatal: git cat-file: could not get 
object info"):

+raise FileNotFoundError(commit)

 else:

 raise SCMError(errmsg)

 


среда, 4 мая 2016 г., 18:29:26 UTC+3 пользователь Jim H написал:
>
> It seems after upgrading from 2.0.18 to 2.5.3 there is not ability to 
> specify a parent diff when adding a new diff via the UI upload.
>

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-05-06 Thread Vlad S.
Tested OK. Added +1 Karma. Thanx!

понедельник, 2 мая 2016 г., 16:34:38 UTC+3 пользователь Stephen Gallagher 
написал:
>
> I've just submitted a corrected version of Review Board to the 
> epel-testing repository:
>
> https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-2bab5ad96d
>
> Please test it and provide it with positive or negative feedback (karma). 
> That will get it into the stable release faster. (note: the reason this 
> happened is that I made a mistake rebasing the patch for the dependencies 
> and no one ever tested the update, so it went stable after the timeout 
> period. Please help test this one!
>

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-05-04 Thread Vlad S.
Sorry, haven't had chance to test it today. Hope to do it later this week.

вторник, 3 мая 2016 г., 1:47:25 UTC+3 пользователь Vlad S. написал:
>
> Thanx! I will be able to test and report on May 4.
>
> /v
>
>>
>>

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-05-02 Thread Vlad
Thanx! I will be able to test and report on May 4.

/v
2 мая 2016 г. 16:34 пользователь "Stephen Gallagher" <
step...@gallagherhome.com> написал:

> I've just submitted a corrected version of Review Board to the
> epel-testing repository:
>
> https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-2bab5ad96d
>
> Please test it and provide it with positive or negative feedback (karma).
> That will get it into the stable release faster. (note: the reason this
> happened is that I made a mistake rebasing the patch for the dependencies
> and no one ever tested the update, so it went stable after the timeout
> period. Please help test this one!)
>
>
> On Sun, May 1, 2016 at 7:14 PM Stephen Gallagher <
> step...@gallagherhome.com> wrote:
>
>> I thought I had fixed the mime parse thing already. I'll correct that
>> when I fix up the whoosh thing tomorrow.
>>
>> I'm a comaintainer of Whoosh on the other branches, so I can push the
>> updated version. I just wanted to check with the other maintainers in case
>> there was a compatibility break I need to be aware of.
>>
>> On Sun, May 1, 2016 at 7:11 PM Vlad  wrote:
>>
>>> Hi Stephen,
>>>
>>> Thank you for the reply. Also there is another issue with
>>> "mimeparse>=0.1.3" requirement. Somehow it works only once changed to
>>> "python-mimeparse>=0.1.3". RHEL has proper 0.1.4 version though another
>>> package name.
>>>
>>> I tried to contact python-whoosh rpm maintainer and got email error:
>>>
>>>  - The following addresses had permanent fatal errors -
>>> rku...@mail.corp.redhat.com
>>> (reason: 554 5.4.6 Too many hops)
>>> (expanded from: )
>>> ..
>>>
>>> It might be he left Redhat and does not maintain the rpm anymore. I
>>> tried to build newer rpm just by replacing Version to 2.7.4 in .spec file
>>> and new sources. It builds ok. Not sure how to promote the spec file change.
>>>
>>> /v
>>>
>>> On Mon, May 2, 2016 at 1:58 AM, Stephen Gallagher <
>>> step...@gallagherhome.com> wrote:
>>>
>>>> Sorry Vlad, that's my fault. I didn't notice the upgraded requirement.
>>>> I'm going to try to get Whoosh updates in EPEL7 on Monday (once I talk to
>>>> the maintainer of that package to figure out if they held it to the older
>>>> version intentionally).
>>>>
>>>> On Sat, Apr 30, 2016 at 7:01 PM Vlad  wrote:
>>>>
>>>>> Hi Christian,
>>>>>
>>>>> Would this hack affect only Search (Indexed search) function of
>>>>> ReviewBoard? Search is not configured by default, so this
>>>>> is not a strict dependency as I understand. Am I correct?
>>>>>
>>>>> I am not sure why RHEL7 has no whoosh update, so I did not install
>>>>> whoosh with pip.
>>>>>
>>>>> /v
>>>>>
>>>>> On Sun, May 1, 2016 at 12:48 AM, Christian Hammond <
>>>>> christ...@beanbaginc.com> wrote:
>>>>>
>>>>>> Hi Vlad,
>>>>>>
>>>>>> I can't speak for the RPMs, but Review Board itself requires Whoosh
>>>>>> 2.6+. There are bugs in prior versions that impact Review Board, so while
>>>>>> you may be able to change the dependencies, I can't guarantee it'll fully
>>>>>> work as expected.
>>>>>>
>>>>>> Christian
>>>>>>
>>>>>> --
>>>>>> Christian Hammond
>>>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>>>
>>>>>> On Sat, Apr 30, 2016 at 1:54 PM, Vlad S.  wrote:
>>>>>>
>>>>>>> Hi, upgrading 2.5.3 -> 2.5.4 on RHEL7 fails:
>>>>>>>
>>>>>>> # rb-site upgrade /var/www/rb.site.internal
>>>>>>>
>>>>>>> Traceback (most recent call last):
>>>>>>>
>>>>>>> File "/usr/bin/rb-site", line 5, in 
>>>>>>>
>>>>>>> from pkg_resources import load_entry_point
>>>>>>>
>>>>>>> File
>>>>>>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>>>>

Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-05-01 Thread Vlad
Hi Stephen,

Thank you for the reply. Also there is another issue with
"mimeparse>=0.1.3" requirement. Somehow it works only once changed to
"python-mimeparse>=0.1.3". RHEL has proper 0.1.4 version though another
package name.

I tried to contact python-whoosh rpm maintainer and got email error:

 - The following addresses had permanent fatal errors -
rku...@mail.corp.redhat.com
(reason: 554 5.4.6 Too many hops)
(expanded from: )
..

It might be he left Redhat and does not maintain the rpm anymore. I tried
to build newer rpm just by replacing Version to 2.7.4 in .spec file and new
sources. It builds ok. Not sure how to promote the spec file change.

/v

On Mon, May 2, 2016 at 1:58 AM, Stephen Gallagher  wrote:

> Sorry Vlad, that's my fault. I didn't notice the upgraded requirement. I'm
> going to try to get Whoosh updates in EPEL7 on Monday (once I talk to the
> maintainer of that package to figure out if they held it to the older
> version intentionally).
>
> On Sat, Apr 30, 2016 at 7:01 PM Vlad  wrote:
>
>> Hi Christian,
>>
>> Would this hack affect only Search (Indexed search) function of
>> ReviewBoard? Search is not configured by default, so this
>> is not a strict dependency as I understand. Am I correct?
>>
>> I am not sure why RHEL7 has no whoosh update, so I did not install whoosh
>> with pip.
>>
>> /v
>>
>> On Sun, May 1, 2016 at 12:48 AM, Christian Hammond <
>> christ...@beanbaginc.com> wrote:
>>
>>> Hi Vlad,
>>>
>>> I can't speak for the RPMs, but Review Board itself requires Whoosh
>>> 2.6+. There are bugs in prior versions that impact Review Board, so while
>>> you may be able to change the dependencies, I can't guarantee it'll fully
>>> work as expected.
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond
>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>> Makers of Review Board <https://www.reviewboard.org/>
>>>
>>> On Sat, Apr 30, 2016 at 1:54 PM, Vlad S.  wrote:
>>>
>>>> Hi, upgrading 2.5.3 -> 2.5.4 on RHEL7 fails:
>>>>
>>>> # rb-site upgrade /var/www/rb.site.internal
>>>>
>>>> Traceback (most recent call last):
>>>>
>>>> File "/usr/bin/rb-site", line 5, in 
>>>>
>>>> from pkg_resources import load_entry_point
>>>>
>>>> File
>>>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>>>> line 2713, in 
>>>>
>>>> parse_requirements(__requires__), Environment()
>>>>
>>>> File
>>>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>>>> line 584, in resolve
>>>>
>>>> raise DistributionNotFound(req)
>>>>
>>>> pkg_resources.DistributionNotFound: Whoosh>=2.6
>>>>
>>>> # rpm -qa|grep -i whoosh
>>>>
>>>> python-whoosh-2.5.7-4.el7.noarch
>>>>
>>>> # rpm -qa|grep -i reviewboard
>>>>
>>>> ReviewBoard-2.5.4-1.el7.noarch
>>>>
>>>> RHEL7 (epel) has no whoosh 2.6+ and ReviewBoard does not requires
>>>> exactly this version.. Shall I just fix ReviewBoard
>>>> /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg-info/requires.txt
>>>>  to
>>>> pass the rb-site upgrade?
>>>>
>>>> --
>>>> 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 "reviewboard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to reviewboard+unsubscr...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>>> 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 subscrib

Re: rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-04-30 Thread Vlad
Hi Christian,

Would this hack affect only Search (Indexed search) function of
ReviewBoard? Search is not configured by default, so this
is not a strict dependency as I understand. Am I correct?

I am not sure why RHEL7 has no whoosh update, so I did not install whoosh
with pip.

/v

On Sun, May 1, 2016 at 12:48 AM, Christian Hammond  wrote:

> Hi Vlad,
>
> I can't speak for the RPMs, but Review Board itself requires Whoosh 2.6+.
> There are bugs in prior versions that impact Review Board, so while you may
> be able to change the dependencies, I can't guarantee it'll fully work as
> expected.
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Sat, Apr 30, 2016 at 1:54 PM, Vlad S.  wrote:
>
>> Hi, upgrading 2.5.3 -> 2.5.4 on RHEL7 fails:
>>
>> # rb-site upgrade /var/www/rb.site.internal
>>
>> Traceback (most recent call last):
>>
>> File "/usr/bin/rb-site", line 5, in 
>>
>> from pkg_resources import load_entry_point
>>
>> File
>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>> line 2713, in 
>>
>> parse_requirements(__requires__), Environment()
>>
>> File
>> "/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
>> line 584, in resolve
>>
>> raise DistributionNotFound(req)
>>
>> pkg_resources.DistributionNotFound: Whoosh>=2.6
>>
>> # rpm -qa|grep -i whoosh
>>
>> python-whoosh-2.5.7-4.el7.noarch
>>
>> # rpm -qa|grep -i reviewboard
>>
>> ReviewBoard-2.5.4-1.el7.noarch
>>
>> RHEL7 (epel) has no whoosh 2.6+ and ReviewBoard does not requires exactly
>> this version.. Shall I just fix ReviewBoard
>> /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg-info/requires.txt
>>  to
>> pass the rb-site upgrade?
>>
>> --
>> 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
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to reviewboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 "reviewboard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/reviewboard/5KEM-bcOAMk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


rb-site upgrade fails with whoosh 2.5.7 on RHEL7/OL7

2016-04-30 Thread Vlad S.
Hi, upgrading 2.5.3 -> 2.5.4 on RHEL7 fails:

# rb-site upgrade /var/www/rb.site.internal 

Traceback (most recent call last): 

File "/usr/bin/rb-site", line 5, in  

from pkg_resources import load_entry_point 

File 
"/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
 
line 2713, in  

parse_requirements(__requires__), Environment() 

File 
"/usr/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py",
 
line 584, in resolve 

raise DistributionNotFound(req) 

pkg_resources.DistributionNotFound: Whoosh>=2.6 

# rpm -qa|grep -i whoosh 

python-whoosh-2.5.7-4.el7.noarch 

# rpm -qa|grep -i reviewboard 

ReviewBoard-2.5.4-1.el7.noarch

RHEL7 (epel) has no whoosh 2.6+ and ReviewBoard does not requires exactly 
this version.. Shall I just fix ReviewBoard 
/usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg-info/requires.txt 
to 
pass the rb-site upgrade?

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rbssh *really* slow

2015-10-14 Thread vlad . romascanu
Replace the contents of /usr/bin/rbssh with the following:


#!/bin/sh
EXTRA_OPTS="-o UserKnownHostsFile=$HOME/.ssh/known_hosts -o ForwardX11=no 
-o LogLevel=ERROR"
# see https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexing
EXTRA_OPTS="-o ControlPath=/tmp/master-%r@%h:%p -o ControlMaster=auto -o 
ControlPersist=10m $EXTRA_OPTS"
for k in $HOME/.ssh/id_{dsa,rsa} ; do
  test -e "$k" && EXTRA_OPTS="$EXTRA_OPTS -i $k"
done
exec /usr/bin/ssh $EXTRA_OPTS "$@"


Using native ssh was about 5x faster than the default Python rbssh 
implementation.  Moreover, using the connection multiplexing feature of ssh 
further sped up things another 5x or so.

-- 
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 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Markdown is not worth sacrifice of spell checking :(

2014-12-02 Thread Vlad S.
Hi All,

Markdown is not worth sacrifice of spell checking :( This is really, 
really, disappointing..

/v

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Creating Dummy , empty request. Not (None - File attachments)

2014-10-20 Thread Vlad S.
I need to add a parent diff.
Thank you, Chris. I will wait for 2.1/2.2.

/v

понедельник, 20 октября 2014 г., 22:46:06 UTC+4 пользователь 
chri...@beanbaginc.com написал:
>
> Hi Vlad, 
>
> Select New Review Request and choose no repository (File Attachments 
> only). You won't be able to later add a diff, though. (We intend to change 
> that for 2.1/2.2.) 
>
> Christian 
>
> --   
> Christian Hammond - chri...@beanbaginc.com
> Review Board - https://www.reviewboard.org   
> Beanbag, Inc. - https://www.beanbaginc.com 
>
> -Original Message- 
> From: Vlad S. > 
> Reply: revie...@googlegroups.com   >> 
> Date: October 20, 2014 at 6:19:02 AM 
> To: revie...@googlegroups.com   >> 
> Subject:  Creating Dummy , empty request. Not (None - File attachments) 
>
> > Hi! 
> >   
> > How do I just create a review request with all fields empty, and then 
> fill 
> > in the blanks using the same interface as for updating the review 
> request? 
> >   
> > /v 
> >   
> > -- 
> > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ 
> > --- 
> > Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ 
> > --- 
> > Happy user? Let us know at http://www.reviewboard.org/users/ 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "reviewboard"   
> > group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to reviewboard...@googlegroups.com .   
> > For more options, visit https://groups.google.com/d/optout. 
> >   
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Creating Dummy , empty request. Not (None - File attachments)

2014-10-20 Thread Vlad S.
Hi!

How do I just create a review request with all fields empty, and then fill 
in the blanks using the same interface as for updating the review request?

/v

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Instant Messaging (XMPP) extension

2014-04-16 Thread Vlad Eu
Hi, Horatiu Vlad!

I've seen that you own the domain *vlad.eu*. It is an interesting domain 
for me and I'm prepared to make you an offer. If you want, please contact 
me!

sâmbătă, 18 mai 2013, 17:36:52 UTC+3, Horatiu Eugen VLAD a scris:
>
> Hi,
>
> I have open-sourced a some time ago an Instant Messaging (XMPP) extension 
> for Review board. The feature set is basic at it just a mirroring the email 
> notification behavior.
>
> Code can be downloaded from:
>
> https://github.com/iconoeugen/rb-xmpp-notification
>
> For installation follow the next steps:
>
> using pip:
> sudo pip install RBXmppNotification
> using easy_install:
> sudo easy_install RBXmppNotification
> from source:
> git clone https://github.com/iconoeugen/rb-xmpp-notification
> cd RBXmppNotification
> sudo python setup.py build install
> Restart your web server running review board
> Login in to review board as administrator
> Go to Admin panel -> Extensions
> In the 'MANAGE EXTENSIONS' page, enable 'RBXmppNotification'
> Configure 'RBXmppNotification' with the XMPP server and sender details.
> Click on 'Save'
>
>
> Any feedback is welcomed,
> H
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: post-review: Error uploading diff

2014-01-20 Thread Vlad Dovlekaev
We are currently using the RB 1.7.6 and having the similar problem using 
rbt post.

nntopencl046el$ rbt post -d
DEBUG:root:Checking for a Git repository...
DEBUG:root:Running: git rev-parse --git-dir
DEBUG:root:Running: git config core.bare
DEBUG:root:Running: git rev-parse --show-toplevel
DEBUG:root:Running: git symbolic-ref -q HEAD
DEBUG:root:Running: git config --get git-p4.port
DEBUG:root:Command exited with rc 1: ['git', 'config', '--get', 
'git-p4.port']
---
DEBUG:root:Running: git config --get branch.xx.merge
DEBUG:root:Running: git config --get branch.xx.remote
DEBUG:root:Running: git config --get remote.origin.url
DEBUG:root:repository info: Path: xx, Base path: , Supports changesets: 
False
DEBUG:root:Making HTTP GET request to http://xxx.xxx.com/cr/api/
DEBUG:root:Making HTTP GET request to http://xxx.xxx.com/cr/api/info/
DEBUG:root:Running: git rev-parse refs/heads/xx
DEBUG:root:Running: git merge-base e1d20e90c03a7591195ff08cb99934c0ea1b1934 
origin/xx
DEBUG:root:Running: git rev-parse e83d0646802305ec98b60606f907a655a92723b1
DEBUG:root:Running: git status --porcelain --untracked-files=no
DEBUG:root:Running: git diff --no-color --full-index --no-ext-diff 
--ignore-submodules --no-renames 
e83d0646802305ec98b60606f907a655a92723b1..e1d20e90c03a7591195ff08cb99934c0ea1b1934
 
-M
DEBUG:root:Making HTTP GET request to 
http://xxx.xxx.com/cr/api/review-requests/
DEBUG:root:Making HTTP POST request to 
http://xxx.xxx.com/cr/api/review-requests/
DEBUG:root:Making HTTP GET request to 
http://xxx.xxx.com/cr/api/review-requests/3852/diffs/
DEBUG:root:Making HTTP POST request to 
http://xxx.xxx.com/cr/api/review-requests/3852/diffs/
DEBUG:root:Making HTTP GET request to 
http://xxx.xxx.com/cr/api/review-requests/3852/draft/
Traceback (most recent call last):
  File "/opt/tools/bin/rbt", line 8, in 
load_entry_point('RBTools==0.5.5', 'console_scripts', 'rbt')()
  File 
"/opt/tools/lib/python2.7/site-packages/RBTools-0.5.5-py2.7.egg/rbtools/commands/main.py",
 
line 127, in main
command.run_from_argv([RB_MAIN] + args)
  File 
"/opt/tools/lib/python2.7/site-packages/RBTools-0.5.5-py2.7.egg/rbtools/commands/__init__.py",
 
line 158, in run_from_argv
exit_code = self.main(*args) or 0
  File 
"/opt/tools/lib/python2.7/site-packages/RBTools-0.5.5-py2.7.egg/rbtools/commands/post.py",
 
line 659, in main
submit_as=self.options.submit_as)
  File 
"/opt/tools/lib/python2.7/site-packages/RBTools-0.5.5-py2.7.egg/rbtools/commands/post.py",
 
line 585, in post_request
return review_request.id, review_request.absolute_url
  File 
"/opt/tools/lib/python2.7/site-packages/RBTools-0.5.5-py2.7.egg/rbtools/api/resource.py",
 
line 278, in __getattr__
raise AttributeError
AttributeError

However the draft review is created in the RB. The only problem is this 
error message that rbt post command is generating.  
Is it a known issue?  

Thanks.
Vlad

On Tuesday, August 20, 2013 6:35:03 PM UTC+3, Steven MacLeod wrote:
>
> The minimum Review Board version which fully supports the rbt commands is 
> RB 1.6.12. There were some changes to the web API in this version which 
> rbt relies on. Unfortunately, you won't be able to make use of most of rbt 
> without a newer version of Review Board.
>
> Admittedly, the error reporting here was terrible, but is something I'm 
> working on imporoving. 
>
>
> On Tue, Aug 20, 2013 at 8:43 AM, Akshaya Samantaray <
> akshaya.s...@gmail.com > wrote:
>
>> Thank for the response David .
>>
>> I had rbtool 0.4.1 so rbt was not there so i installed 0.5.2 and got rbt 
>> script  .
>>
>> To attach a arbitary file to existing review ,as per you i am using *"rbt 
>> attach 359 --filename=diff"* (where 359 is ReviewID), it giving below 
>> usage messge 
>>
>>
>> hostname:/vobs/ms 167 % *rbt attach 359 --filename=diff*
>> *Usage: rbt attach [options]  *
>>
>> *rbt: error: Invalid number of arguments provided*
>>
>>
>> So i tried the command as *"rbt attach 359 diff"* (where 359 is the 
>> reviewID and diff is the filename) but it giving error *" 
>> CRITICAL:root:" .Please have look and let me know what could be the issue .*
>>
>> *Note:The reviewBoard server version 1.6.3 and Rbtools is 0.5.2 ,Python 
>> 2.7 *
>>
>> rbt attach 359 diff
>> CRITICAL:root:
>>
>> *below is the debug output :*
>>
>>  169 % rbt attach 359 diff -d
>> DEBUG:root:Checking for a Subversion repository...
>> DEBUG:root:Checking for a Git repository...
>> DEBUG:root:Checking for a Mercurial repository...
>> DEBUG:root:Checking for a CVS repository...
>> DEBUG:root:Checking for a Per

Re: Interesting (js or css) bug in 2.0 beta1

2013-12-09 Thread Vlad S.
Hi Chris!

here is the file attached.

четверг, 5 декабря 2013 г., 23:20:15 UTC+4 пользователь Christian Hammond 
написал:
>
> Thanks Vlad.
>
> This has been widely reported, yet not everyone seems to hit it. It 
> appears due to some missing or broken CSS. We're trying to figure out the 
> cause for beta 2.
>
> Would you mind viewing the source, finding the common.min.*.css, and 
> attaching that file?
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
>
> On Thu, Dec 5, 2013 at 5:17 AM, Vlad S. >wrote:
>
>> See the attached file: text goes outside of the comment windows. No 
>> visible cursor as well.
>>
>> -- 
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


common.min.css_2.0
Description: Binary data


Interesting (js or css) bug in 2.0 beta1

2013-12-05 Thread Vlad S.
See the attached file: text goes outside of the comment windows. No visible 
cursor as well.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
<>

Re: 2.0 beta1: The file 'djblets/js/jquery.gravy.min.js' could not be found with

2013-11-19 Thread Vlad S.
tested out with clean environment (even no mysql)

$ virtualenv ~/envs/rb-2.0
$ source ~/envs/rb-2.0/bin/activate
$ pip install --upgrade setuptools
$ easy_install -f 
http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ -U ReviewBoard
$ rb-site install /home/rb/www/rb-20 --sitelist=$HOME/sites

same result:

(rb-2.0)[rb@vilje03 ~]$ ls /home/rb/www/rb-20/htdocs/static/
admin  lib  rb

/v

вторник, 19 ноября 2013 г., 15:03:03 UTC+4 пользователь Christian Hammond 
написал:
>
> So there aren't any errors indicating that the symlink failed. I don't 
> know what's going on, but certainly that symlink should appear. Perhaps 
> there's something strange with running in a virtualenv setup, or it's 
> grabbing the wrong version of Djblets while building the static directory.
>
> It's 3AM here, so I'm crashing for the night. Sorry I didn't have an 
> immediate answer for you.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>  
>
> On Tue, Nov 19, 2013 at 2:48 AM, Vishal Gautam 
> 
> > wrote:
>
>> Here is the info you requested Chris 
>>
>> *rb-site upgrade output*
>>
>> Rebuilding directory structure
>> Updating database. This may take a while.
>>
>> The log output below, including warnings and errors,
>> can be ignored unless upgrade fails.
>>
>> --  --
>> /usr/local/lib/python2.6/site-packages/Django-1.5.5-py2.6.egg/django/core/management/__init__.py:465:
>>  
>> DeprecationWarning: The 'execute_manager' function is deprecated, you 
>> likely need to update your 'manage.py'; please see the Django 1.4 release 
>> notes (https://docs.djangoproject.com/en/dev/releases/1.4/).
>>   DeprecationWarning)
>> /usr/local/lib/python2.6/site-packages/Django-1.5.5-py2.6.egg/django/core/management/__init__.py:409:
>>  
>> DeprecationWarning: The 'setup_environ' function is deprecated, you likely 
>> need to update your 'manage.py'; please see the Django 1.4 release notes (
>> https://docs.djangoproject.com/en/dev/releases/1.4/).
>>   DeprecationWarning)
>> Creating tables ...
>> Installing custom SQL ...
>> Installing indexes ...
>> Installed 0 object(s) from 0 fixture(s)
>> No evolution required.
>> ---  ---
>>
>> Resetting in-database caches.
>>
>> Upgrade complete!
>>
>> * rb-site --version*
>> rb-site 2.0 beta 1
>>
>> *Path to  Djblets 0.8alpha1 egg: *
>>  /usr/local/lib/python2.6/site-packages/Djblets-0.8alpha1-py2.6.egg
>>
>>
>> On Tuesday, November 19, 2013 3:48:42 PM UTC+5:30, Christian Hammond 
>> wrote:
>>
>>> The djblets/static/ directory isn't the one you want, as those are 
>>> source files the generated ones come from. Instead, you want 
>>> djblets/htdocs/static/. My egg has them. See if they exist there in your 
>>> egg.
>>>
>>> Can you also run 'rb-site --version' and show me what that says? Just 
>>> want to confirm it is indeed running the correct version.
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond - chi...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>
>>>
>>> On Tue, Nov 19, 2013 at 2:09 AM, Vlad S.  wrote:
>>>
>>>> There is something wrong with Djblets 0.8 itself, I have checked static 
>>>> directory in there and could find any *min.js files. Can you check yours? 
>>>>
>>>> вторник, 19 ноября 2013 г., 13:59:10 UTC+4 пользователь Vishal Gautam 
>>>> написал:
>>>>
>>>>> I am using easy_install, but I did use pip once, a few days ago to 
>>>>> downgrade Django to a specific version when I was getting issues of diff 
>>>>> not coming up after upgrading to 1.7.18, but that turned out to be an 
>>>>> issue 
>>>>> due to our svn server .. svn update and co were failing, most likely some 
>>>>> vhost conf settings are changed; switching the repository url from https 
>>>>> to 
>>>>> http finally worked. During this troubleshooting I did upgrade RB to 2.0 
>>>>> Beta1 using easy_install.
>>>>>
>>>>> Now what do you suggest?
>>>>>
>>>>> On Tuesday, November 19, 2013 3:12:44 PM UTC+5:30, Christian Hammond 
>>>>> wrote:

Re: 2.0 beta1: The file 'djblets/js/jquery.gravy.min.js' could not be found with

2013-11-19 Thread Vlad S.
that was clean virtual environment built with one command 

$ easy_install -f http://downloads.reviewboard.org/releases/ReviewBoard/1.6/ -U 
ReviewBoard

ok, I am going to create a new one and run this again.

/v

вторник, 19 ноября 2013 г., 15:03:03 UTC+4 пользователь Christian Hammond 
написал:
>
> So there aren't any errors indicating that the symlink failed. I don't 
> know what's going on, but certainly that symlink should appear. Perhaps 
> there's something strange with running in a virtualenv setup, or it's 
> grabbing the wrong version of Djblets while building the static directory.
>
> It's 3AM here, so I'm crashing for the night. Sorry I didn't have an 
> immediate answer for you.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>  
>
> On Tue, Nov 19, 2013 at 2:48 AM, Vishal Gautam 
> 
> > wrote:
>
>> Here is the info you requested Chris 
>>
>> *rb-site upgrade output*
>>
>> Rebuilding directory structure
>> Updating database. This may take a while.
>>
>> The log output below, including warnings and errors,
>> can be ignored unless upgrade fails.
>>
>> --  --
>> /usr/local/lib/python2.6/site-packages/Django-1.5.5-py2.6.egg/django/core/management/__init__.py:465:
>>  
>> DeprecationWarning: The 'execute_manager' function is deprecated, you 
>> likely need to update your 'manage.py'; please see the Django 1.4 release 
>> notes (https://docs.djangoproject.com/en/dev/releases/1.4/).
>>   DeprecationWarning)
>> /usr/local/lib/python2.6/site-packages/Django-1.5.5-py2.6.egg/django/core/management/__init__.py:409:
>>  
>> DeprecationWarning: The 'setup_environ' function is deprecated, you likely 
>> need to update your 'manage.py'; please see the Django 1.4 release notes (
>> https://docs.djangoproject.com/en/dev/releases/1.4/).
>>   DeprecationWarning)
>> Creating tables ...
>> Installing custom SQL ...
>> Installing indexes ...
>> Installed 0 object(s) from 0 fixture(s)
>> No evolution required.
>> ---  ---
>>
>> Resetting in-database caches.
>>
>> Upgrade complete!
>>
>> * rb-site --version*
>> rb-site 2.0 beta 1
>>
>> *Path to  Djblets 0.8alpha1 egg: *
>>  /usr/local/lib/python2.6/site-packages/Djblets-0.8alpha1-py2.6.egg
>>
>>
>> On Tuesday, November 19, 2013 3:48:42 PM UTC+5:30, Christian Hammond 
>> wrote:
>>
>>> The djblets/static/ directory isn't the one you want, as those are 
>>> source files the generated ones come from. Instead, you want 
>>> djblets/htdocs/static/. My egg has them. See if they exist there in your 
>>> egg.
>>>
>>> Can you also run 'rb-site --version' and show me what that says? Just 
>>> want to confirm it is indeed running the correct version.
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond - chi...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>
>>>
>>> On Tue, Nov 19, 2013 at 2:09 AM, Vlad S.  wrote:
>>>
>>>> There is something wrong with Djblets 0.8 itself, I have checked static 
>>>> directory in there and could find any *min.js files. Can you check yours? 
>>>>
>>>> вторник, 19 ноября 2013 г., 13:59:10 UTC+4 пользователь Vishal Gautam 
>>>> написал:
>>>>
>>>>> I am using easy_install, but I did use pip once, a few days ago to 
>>>>> downgrade Django to a specific version when I was getting issues of diff 
>>>>> not coming up after upgrading to 1.7.18, but that turned out to be an 
>>>>> issue 
>>>>> due to our svn server .. svn update and co were failing, most likely some 
>>>>> vhost conf settings are changed; switching the repository url from https 
>>>>> to 
>>>>> http finally worked. During this troubleshooting I did upgrade RB to 2.0 
>>>>> Beta1 using easy_install.
>>>>>
>>>>> Now what do you suggest?
>>>>>
>>>>> On Tuesday, November 19, 2013 3:12:44 PM UTC+5:30, Christian Hammond 
>>>>> wrote:
>>>>>>
>>>>>> That sounds like rb-site upgrade wasn't run or wasn't successful.
>>>>>>
>>>>>> Are

Re: 2.0 beta1 upgrade (mysql): Error applying evolution: Specified key was too long; max key length is 767 bytes

2013-11-19 Thread Vlad S.
Hi Chris!

I suspect this table, `repo_revision` varchar(512)

DROP TABLE IF EXISTS `attachments_fileattachment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `attachments_fileattachment` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `caption` varchar(256) NOT NULL,
  `draft_caption` varchar(256) NOT NULL,
  `file` varchar(512) DEFAULT NULL,
  `mimetype` varchar(256) NOT NULL,
  `orig_filename` varchar(256) DEFAULT NULL,
  `repository_id` int(11) DEFAULT NULL,
  `repo_revision` varchar(512) DEFAULT NULL,
  `repo_path` varchar(1024) DEFAULT NULL,
  `added_in_filediff_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `attachments_fileattachment_a322ed1e` (`repository_id`),
  KEY `attachments_fileattachment_3e277a4b` (`repo_revision`),
  KEY `attachments_fileattachment_4b31b03f` (`added_in_filediff_id`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;

so this shall be KEY `attachments_fileattachment_3e277a4b` 
(repo_revision(255)) to satisfy mysql default restrictions.

/v

понедельник, 18 ноября 2013 г., 23:26:14 UTC+4 пользователь Christian 
Hammond написал:
>
> Hmm, we tried to avoid indexes that would trigger this. Do you have any 
> idea which table/index this was having problems with?
>
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: 2.0 beta1: The file 'djblets/js/jquery.gravy.min.js' could not be found with

2013-11-19 Thread Vlad S.
There is something wrong with Djblets 0.8 itself, I have checked static 
directory in there and could find any *min.js files. Can you check yours? 

вторник, 19 ноября 2013 г., 13:59:10 UTC+4 пользователь Vishal Gautam 
написал:
>
> I am using easy_install, but I did use pip once, a few days ago to 
> downgrade Django to a specific version when I was getting issues of diff 
> not coming up after upgrading to 1.7.18, but that turned out to be an issue 
> due to our svn server .. svn update and co were failing, most likely some 
> vhost conf settings are changed; switching the repository url from https to 
> http finally worked. During this troubleshooting I did upgrade RB to 2.0 
> Beta1 using easy_install.
>
> Now what do you suggest?
>
> On Tuesday, November 19, 2013 3:12:44 PM UTC+5:30, Christian Hammond wrote:
>>
>> That sounds like rb-site upgrade wasn't run or wasn't successful.
>>
>> Are you using pip or easy_install to install Review Board and Djblets? We 
>> don't support pip, as it doesn't support some crucial Python packaging 
>> features we depend on.
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>>
>> On Tue, Nov 19, 2013 at 1:41 AM, Vishal Gautam wrote:
>>
>>> Ah  after posting this I noticed that while pip list is showing 
>>> Djblet as 0.8alpha1 but symlink inside htdocs/st is still pointing to 
>>> 0.7.23 ... any idea why?
>>>
>>>
>>> On Tuesday, November 19, 2013 3:06:45 PM UTC+5:30, Vishal Gautam wrote:
>>>>
>>>> Hi Chris,
>>>>
>>>> After upgrading to 2.0 beta1 we hit a similar issue for following files 
>>>> and as a result diffs are not worknig
>>>> [Tue Nov 19 09:09:03 2013] [error] [client 10.10.x.xxx] File does not 
>>>> exist: /var/www/rb-site-name/htdocs/static/djblets/js/datagrid.min.js, 
>>>> referer: https://rb-site-name/r/
>>>>
>>>>- js/datagrid.min.js
>>>>- js/extensions.min.js
>>>>- js/jquery.gravy.min.js 
>>>>- css/datagrid.min.css
>>>>
>>>> Djblet version is correct - Djblets (0.8alpha1) and we do have djblets 
>>>> symlink inside htdocs/static folder
>>>> lrwxrwxrwx 1 root root  78 Nov  8 00:47 djblets -> 
>>>> /usr/local/lib/python2.6/site-packages/Djblets-0.7.23-py2.6.
>>>> egg/djblets/static
>>>>
>>>> Since I do see their corresponding non min version, I simply copied 
>>>> that to above name to get around. With that the error went away from 
>>>> apache 
>>>> log but diff is still not working, have some JS errors (see attachment).
>>>>
>>>> Any pointers?
>>>>
>>>>
>>>>
>>>>
>>>> On Tuesday, November 19, 2013 2:54:38 PM UTC+5:30, Christian Hammond 
>>>> wrote:
>>>>>
>>>>> If it didn't have one, then the rb-site upgrade went wrong. Please run 
>>>>> it again and see if there are any mentions of the djblets symlink.
>>>>>
>>>>> We have a couple installs using this build that both have that djblets 
>>>>> symlink, so it should be working.
>>>>>
>>>>> Christian
>>>>>
>>>>> -- 
>>>>> Christian Hammond - chi...@chipx86.com
>>>>> Review Board - http://www.reviewboard.org
>>>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>>>
>>>>>
>>>>> On Tue, Nov 19, 2013 at 12:38 AM, Vlad S.  wrote:
>>>>>
>>>>>> non recursive ls:
>>>>>>
>>>>>> $ ls -l
>>>>>> total 12
>>>>>> lrwxrwxrwx 1 rb rb 111 Nov 18 16:15 admin -> /home/rb/envs/rb-dev/lib/
>>>>>> python2.6/site-packages/ReviewBoard-2.0beta1-py2.6.
>>>>>> egg/reviewboard/htdocs/static/admin
>>>>>> lrwxrwxrwx 1 rb rb 109 Nov 18 16:15 lib -> /home/rb/envs/rb-dev/lib/
>>>>>> python2.6/site-packages/ReviewBoard-2.0beta1-py2.6.
>>>>>> egg/reviewboard/htdocs/static/lib
>>>>>> lrwxrwxrwx 1 rb rb 108 Nov 18 16:15 rb -> /home/rb/envs/rb-dev/lib/
>>>>>> python2.6/site-packages/ReviewBoard-2.0beta1-py2.6.
>>>>>> egg/reviewboard/htdocs/static/rb
>>>>>>  
>>>>>> -- 
>>>>>> Get the 

Re: 2.0 beta1: The file 'djblets/js/jquery.gravy.min.js' could not be found with

2013-11-19 Thread Vlad S.
non recursive ls:

$ ls -l
total 12
lrwxrwxrwx 1 rb rb 111 Nov 18 16:15 admin -> 
/home/rb/envs/rb-dev/lib/python2.6/site-packages/ReviewBoard-2.0beta1-py2.6.egg/reviewboard/htdocs/static/admin
lrwxrwxrwx 1 rb rb 109 Nov 18 16:15 lib -> 
/home/rb/envs/rb-dev/lib/python2.6/site-packages/ReviewBoard-2.0beta1-py2.6.egg/reviewboard/htdocs/static/lib
lrwxrwxrwx 1 rb rb 108 Nov 18 16:15 rb -> 
/home/rb/envs/rb-dev/lib/python2.6/site-packages/ReviewBoard-2.0beta1-py2.6.egg/reviewboard/htdocs/static/rb

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: 2.0 beta1: The file 'djblets/js/jquery.gravy.min.js' could not be found with

2013-11-19 Thread Vlad S.
Hi!

This would disclose uploaded directory. I can say 
that /home/rb/www/rb-dev/htdocs/static had *no* djblets subdirectory or 
symlink. 

понедельник, 18 ноября 2013 г., 23:24:12 UTC+4 пользователь Christian 
Hammond написал:
>
> Hi Vlad,
>
> Can you show me the contents of your site's htdocs/static/ directory, 
> recursively?
>
> Christian
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


djblets 0.8 alpha1 misses *.min.js files in static/

2013-11-18 Thread Vlad S.
the subj.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: 2.0 beta1: The file 'djblets/js/jquery.gravy.min.js' could not be found with

2013-11-18 Thread Vlad S.
Hi Christian,

upgrade went fine, djblets is 0.8alpha1 installed.

(rb-dev)[rb@xxx ~]$ rb-site upgrade /home/rb/www/rb-dev
/home/rb/envs/rb-dev/lib/python2.6/site-packages/pkg_resources.py:979: 
UserWarning: /home/rb/.python-eggs is writable by group/others and 
vulnerable to attack when used with get_resource_filename. Consider a more 
secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE 
environment variable).
  warnings.warn(msg, UserWarning)
Rebuilding directory structure
Updating database. This may take a while.

The log output below, including warnings and errors,
can be ignored unless upgrade fails.

--  --
/home/rb/envs/rb-dev/lib/python2.6/site-packages/Django-1.5.5-py2.6.egg/django/core/management/__init__.py:465:
 
DeprecationWarning: The 'execute_manager' function is deprecated, you 
likely need to update your 'manage.py'; please see the Django 1.4 release 
notes (https://docs.djangoproject.com/en/dev/releases/1.4/).
  DeprecationWarning)
/home/rb/envs/rb-dev/lib/python2.6/site-packages/Django-1.5.5-py2.6.egg/django/core/management/__init__.py:409:
 
DeprecationWarning: The 'setup_environ' function is deprecated, you likely 
need to update your 'manage.py'; please see the Django 1.4 release notes 
(https://docs.djangoproject.com/en/dev/releases/1.4/).
  DeprecationWarning)
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
No evolution required.
---  ---

Resetting in-database caches.

Upgrade complete!

(rb-dev)[rb@xxx ~]$ pip list
Django (1.5.5)
django-evolution (0.6.9)
django-pipeline (1.3.16)
Djblets (0.8alpha1)
docutils (0.11)
ecdsa (0.10)
feedparser (5.1.3)
futures (2.1.5)
Markdown (2.3.1)
mimeparse (0.1.3)
MySQL-python (1.2.4)
osso (0.1)
paramiko (1.12.0)
PIL (1.1.7)
pip (1.4.1)
pycrypto (2.6.1)
Pygments (1.6)
python-dateutil (1.5)
python-memcached (1.53)
pytz (2013.8)
recaptcha-client (1.0.6)
ReviewBoard (2.0beta1)
setuptools (1.3.2)

воскресенье, 17 ноября 2013 г., 4:03:28 UTC+4 пользователь Christian 
Hammond написал:
>
> That's the result of either Djblets not being installed correctly, or 
> rb-site upgrade not being run after fixing up Djblets (or it pulling in the 
> wrong version). I expect the site won't work correctly without it.
>
> Christian
>
>
> On Saturday, November 16, 2013, Vlad S. wrote:
>
>> I have managed to run RB in virtualenv, but get (harmless?) repeating 
>> error - https://groups.google.com/forum/#!topic/reviewboard/NGKUWOeJobI
>>
>> /v
>>
>> суббота, 16 ноября 2013 г., 0:43:20 UTC+4 пользователь Christian Hammond 
>> написал:
>>>
>>> Hi,
>>>
>>> It's not SITE_ID. Assuming you're using a different database for 2.0 
>>> (really hope you are), then it's something else.
>>>
>>> Most likely, it's not using the proper Djblets. Can you check to make 
>>> sure Djblets 0.8alpha1 is being used within the virtualenv? And if you have 
>>> any tracebacks in the logs that might indicate, that'd help too.
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond - chi...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>
>>>
>>> On Fri, Nov 15, 2013 at 3:33 AM, Vlad S.  wrote:
>>>
>>>> Hi!
>>>>
>>>> I am trying out new 2.0 beta1 in a staging virtual env and getting this 
>>>> error:
>>>>
>>>> [Fri Nov 15 11:10:01 2013] [error] ERROR:root:Exception thrown for user 
>>>> AnonymousUser at http://rb-dev.[..]/rb/account/login/?next_page=/rb/
>>>> dashboard/
>>>> [Fri Nov 15 11:10:01 2013] [error] 
>>>> [Fri Nov 15 11:10:01 2013] [error] The file 
>>>> 'djblets/js/jquery.gravy.min.js' could not be found with >>> e.storage.PipelineCachedStorage object at 0x7f82acfc24d0>.
>>>> [Fri Nov 15 11:10:01 2013] [error] Traceback (most recent call last):
>>>>
>>>>
>>>> RB ws installed with
>>>> $ easy_install -f http://downloads.reviewboard.
>>>> org/releases/ReviewBoard/2.0/ -U ReviewBoard
>>>> in python virtual env.
>>>>
>>>> reviewboard.wsgi has been fixed to use virtualenv:
>>>> ---
>>>> import os
>>>> import sys
>>>> import site
>>>>
>>>> # Add the site-packages of the chosen virtualenv to work with
>>>> site.addsitedir('/home/rb/envs/rb-dev/lib/python2.6/site-packages')
>>>>
>>>> os.environ[

2.0 beta1 upgrade (mysql): Error applying evolution: Specified key was too long; max key length is 767 bytes

2013-11-18 Thread Vlad S.
Hi,

Just share my upgrade experience here with mysql 5.6 nd RB 1.7.14. 
Upgrade to 2.0 beta might require some InnoDB magic. 

Initial upgrade fails like this:

$ rb-site upgrade /home/rb/www/rb-dev
[..]
Rebuilding directory structure
Updating database. This may take a while.

The log output below, including warnings and errors,
can be ignored unless upgrade fails.

--  --
/home/rb/envs/rb-dev/lib/python2.6/site-packages/Django-1.5.5-py2.6.egg/django/core/management/__init__.py:465:
 
DeprecationWarning: The 'execute_manager' function is deprecated, you 
likely need to update your 'manage.py'; please see the Django 1.4 release 
notes (https://docs.djangoproject.com/en/dev/releases/1.4/).
  DeprecationWarning)
/home/rb/envs/rb-dev/lib/python2.6/site-packages/Django-1.5.5-py2.6.egg/django/core/management/__init__.py:409:
 
DeprecationWarning: The 'setup_environ' function is deprecated, you likely 
need to update your 'manage.py'; please see the Django 1.4 release notes 
(https://docs.djangoproject.com/en/dev/releases/1.4/).
  DeprecationWarning)
Creating tables ...
Upgrading Review Board from 1.7.14 to 2.0 beta 1
There are unapplied evolutions for accounts.
There are unapplied evolutions for attachments.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for reviews.
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
CommandError: Error applying evolution: Specified key was too long; max key 
length is 767 bytes

This is mysql (django) issue, so the database needs a minor fixes.

See recommendation here https://code.djangoproject.com/ticket/18392.
Basically your stage database would require these InnoDB options to be 
enabled. 


innodb_large_prefix=ON
innodb_file_per_table=ON
innodb_file_format=Barracuda
and ALTER TABLE all tables with ROW_FORMAT=DYNAMIC attribute.


To alter all tables to ROW_FORMAT=DYNAMIC I used this script to generate 
SQL commands.

#!/bin/sh

DB_NAME="rb_dev";

mysql --user=rb_dev -h localhost --password='' --execute="USE 
information_schema; SELECT CONCAT(\"ALTER TABLE \`\", 
TABLE_SCHEMA,\"\`.\`\", TABLE_NAME, \"\` ROW_FORMAT=DYNAMIC;\") as MySQLCMD 
from TABLES where TABLE_SCHEMA = \""${DB_NAME}"\";" > ${DB_NAME}-temp.sql;

then applied rb_dev-temp.sql file (remove the first line "MySQLCMD" in the 
file.)

After the tricks above the rb-site upgrade went fine.

/v



-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: 2.0 beta1: The file 'djblets/js/jquery.gravy.min.js' could not be found with

2013-11-16 Thread Vlad S.
I have managed to run RB in virtualenv, but get (harmless?) repeating error 
- https://groups.google.com/forum/#!topic/reviewboard/NGKUWOeJobI

/v

суббота, 16 ноября 2013 г., 0:43:20 UTC+4 пользователь Christian Hammond 
написал:
>
> Hi,
>
> It's not SITE_ID. Assuming you're using a different database for 2.0 
> (really hope you are), then it's something else.
>
> Most likely, it's not using the proper Djblets. Can you check to make sure 
> Djblets 0.8alpha1 is being used within the virtualenv? And if you have any 
> tracebacks in the logs that might indicate, that'd help too.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
>
> On Fri, Nov 15, 2013 at 3:33 AM, Vlad S.  >wrote:
>
>> Hi!
>>
>> I am trying out new 2.0 beta1 in a staging virtual env and getting this 
>> error:
>>
>> [Fri Nov 15 11:10:01 2013] [error] ERROR:root:Exception thrown for user 
>> AnonymousUser at http://rb-dev.
>> [..]/rb/account/login/?next_page=/rb/dashboard/
>> [Fri Nov 15 11:10:01 2013] [error] 
>> [Fri Nov 15 11:10:01 2013] [error] The file 
>> 'djblets/js/jquery.gravy.min.js' could not be found with > e.storage.PipelineCachedStorage object at 0x7f82acfc24d0>.
>> [Fri Nov 15 11:10:01 2013] [error] Traceback (most recent call last):
>>
>>
>> RB ws installed with
>> $ easy_install -f 
>> http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ -U ReviewBoard
>> in python virtual env.
>>
>> reviewboard.wsgi has been fixed to use virtualenv:
>> ---
>> import os
>> import sys
>> import site
>>
>> # Add the site-packages of the chosen virtualenv to work with
>> site.addsitedir('/home/rb/envs/rb-dev/lib/python2.6/site-packages')
>>
>> os.environ['DJANGO_SETTINGS_MODULE'] = "reviewboard.settings"
>> os.environ['PYTHON_EGG_CACHE'] = "/home/rb/www/rb-dev/tmp/egg_cache"
>> os.environ['HOME'] = "/home/rb/www/rb-dev/data"
>> os.environ['PYTHONPATH'] = '/home/rb/www/rb-dev/conf:' + 
>> os.environ.get('PYTHONPATH', '')
>>
>> sys.path = ['/home/rb/www/rb-dev/conf'] + sys.path
>>
>> # Activate rb-dev virtual env
>>
>> activate_env=os.path.expanduser("/home/rb/envs/rb-dev/bin/activate_this.py")
>> execfile(activate_env, dict(__file__=activate_env))
>>
>> import django.core.handlers.wsgi
>> application = django.core.handlers.wsgi.WSGIHandler()
>> --
>>
>> I think I made things right but still getting this error with no clue on 
>> how to fix this.
>>
>> Shall I change SITE_ID=1? The testing environment is on the site as 
>> production one, so I had to isolate that with virtualenv.
>>
>> -- 
>> V.
>> ~ 
>>
>> ~ 
>>
>> ~   
>>
>> -- 
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Mac OS X Mavericks, rb-site install, mysql

2013-11-15 Thread Vlad S.
pip install mysql-python (or python-mysql)

среда, 13 ноября 2013 г., 19:58:57 UTC+4 пользователь Chris Griffin написал:
>
> I believe I have installed all the necessary components to make this work. 
> When I run rb-site install and when I get to the database question the only 
> option is sqlite3. My python version is 2.7.5. If I run python and type 
> "import MySQLdb" it returns with no errors. I've searched the group and the 
> only post that I found interesting shows the poster as having the same 
> problem but no solution is given. Any ideas what's wrong?
>
> Thank you,
> Chris
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


2.0 beta1: The file 'djblets/js/jquery.gravy.min.js' could not be found with

2013-11-15 Thread Vlad S.
Hi!

I am trying out new 2.0 beta1 in a staging virtual env and getting this 
error:

[Fri Nov 15 11:10:01 2013] [error] ERROR:root:Exception thrown for user 
AnonymousUser at 
http://rb-dev.[..]/rb/account/login/?next_page=/rb/dashboard/
[Fri Nov 15 11:10:01 2013] [error] 
[Fri Nov 15 11:10:01 2013] [error] The file 
'djblets/js/jquery.gravy.min.js' could not be found with .
[Fri Nov 15 11:10:01 2013] [error] Traceback (most recent call last):


RB ws installed with
$ easy_install -f 
http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ -U ReviewBoard
in python virtual env.

reviewboard.wsgi has been fixed to use virtualenv:
---
import os
import sys
import site

# Add the site-packages of the chosen virtualenv to work with
site.addsitedir('/home/rb/envs/rb-dev/lib/python2.6/site-packages')

os.environ['DJANGO_SETTINGS_MODULE'] = "reviewboard.settings"
os.environ['PYTHON_EGG_CACHE'] = "/home/rb/www/rb-dev/tmp/egg_cache"
os.environ['HOME'] = "/home/rb/www/rb-dev/data"
os.environ['PYTHONPATH'] = '/home/rb/www/rb-dev/conf:' + 
os.environ.get('PYTHONPATH', '')

sys.path = ['/home/rb/www/rb-dev/conf'] + sys.path

# Activate rb-dev virtual env
activate_env=os.path.expanduser("/home/rb/envs/rb-dev/bin/activate_this.py")
execfile(activate_env, dict(__file__=activate_env))

import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
--

I think I made things right but still getting this error with no clue on 
how to fix this.

Shall I change SITE_ID=1? The testing environment is on the site as 
production one, so I had to isolate that with virtualenv.

-- 
V.
~   
 
~   
 
~   

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


2.0beta1, repeating error: File does not exist: /home/rb/www/rb-dev/htdocs/static/djblets

2013-11-15 Thread Vlad S.
Hi,

I managed to run ReviewBoard with virtualenv and mod_wsgi, but I got this 
repeating error in error_log
[Fri Nov 15 18:09:52 2013] [error] [client 10.175.14.74] File does not 
exist: /home/rb/www/rb-dev/htdocs/static/djblets, referer: 
http://rb-dev.[..].com/rb/admin/settings/authentication/

What are static/djblets for? How to populate one? 

the site was installed in virtualenv with:

$ easy_install -f http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ -U 
ReviewBoard


ps. http://code.google.com/p/modwsgi/wiki/VirtualEnvironments is the right 
link on setting mod_wsgi + virtualenv + reviewboard.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Instant Messaging (XMPP) extension

2013-08-09 Thread Horatiu Eugen VLAD
Hi,


Just released version 0.4 to fix one nasty bug:

Fix for multiple delivery of same message


H.


On Saturday, May 18, 2013 4:36:52 PM UTC+2, Horatiu Eugen VLAD wrote:
>
> Hi,
>
> I have open-sourced a some time ago an Instant Messaging (XMPP) extension 
> for Review board. The feature set is basic at it just a mirroring the email 
> notification behavior.
>
> Code can be downloaded from:
>
> https://github.com/iconoeugen/rb-xmpp-notification
>
> For installation follow the next steps:
>
> using pip:
> sudo pip install RBXmppNotification
> using easy_install:
> sudo easy_install RBXmppNotification
> from source:
> git clone https://github.com/iconoeugen/rb-xmpp-notification
> cd RBXmppNotification
> sudo python setup.py build install
> Restart your web server running review board
> Login in to review board as administrator
> Go to Admin panel -> Extensions
> In the 'MANAGE EXTENSIONS' page, enable 'RBXmppNotification'
> Configure 'RBXmppNotification' with the XMPP server and sender details.
> Click on 'Save'
>
>
> Any feedback is welcomed,
> H
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Instant Messaging (XMPP) extension

2013-08-07 Thread Horatiu Eugen VLAD
Hi,

I have made a new release to fix the missing template problem and also some 
other small problems:

Send message to all receivers over the same connection
Added configuration for connection timeout
Added configuration for tls verify peer self-signed certificate
Improved logging


One of the side effects of using one connection for each receive was that 
the message was sent several times :( This should be fixed now.


Horatiu

On Monday, May 20, 2013 6:01:31 PM UTC+2, Adam wrote:
>
> Hi,
>
> I just tried installing this (easy_install) and ran into some problems 
> after configuration:
>
> 1. I noticed it added a new (broken) link to the dashboard which (when 
> clicked) gives a traceback ending with
>
> TemplateDoesNotExist: rbxmppnotification/dashboard.html
>
> Is this link supposed to exist?
>
> 2. With regards the actual sending of Jabber messages, I get some nasty 
> tracebacks in the reviewboard log
>
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBXmppNotification-0.2-py2.7.egg/rbxmppnotification/xmpp.py",
>  
> line 239, in send_xmpp_message
> client.run()
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/client.py",
>  
> line 216, in run
> self.main_loop.loop(timeout)
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/mainloop/base.py",
>  
> line 86, in loop
> self.loop_iteration(interval)
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/mainloop/poll.py",
>  
> line 140, in loop_iteration
> self._handlers[fileno].handle_read()
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/transport.py",
>  
> line 717, in handle_read
> self._feed_reader(data)
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/transport.py",
>  
> line 810, in _feed_reader
> self._reader.feed(data)
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/xmppparser.py",
>  
> line 212, in feed
> self.parser.feed(data)
>   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1641, in feed
> self._parser.Parse(data, 0)
>   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1550, in _end
> return self.target.end(self._fixname(tag))
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/xmppparser.py",
>  
> line 158, in end
> self._handler.stream_element(element)
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/streambase.py",
>  
> line 367, in stream_element
> self._process_element(element)
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/streambase.py",
>  
> line 510, in _process_element
> logger.debug("Got features element: {0}".format(serialize(element)))
>   File 
> "/usr/local/lib/python2.7/dist-packages/pyxmpp2-2.0alpha2-py2.7.egg/pyxmpp2/xmppserializer.py",
>  
> line 365, in serialize
> if _THREAD.serializer is None:
> AttributeError: 'thread._local' object has no attribute 'serializer'
>
> The "alpha2" status of pyxmpp2 worried me, so I checked out the page on 
> PyPi for other versions, and it seems to have been alpha2 since 2011-07-10! 
> My Google-fu didn't lead me to finding any fixes for this issue, so I 
> hacked around it (the serialize() was only used in logging.debug 
> statements, which I commented out. Was this working for you?
>
> With this change, it seems to now be working for me (and spamming my 
> colleagues :D)
>
> Adam
>
>
> On 18 May 2013 17:36, Horatiu Eugen VLAD 
> > wrote:
>
>> Hi,
>>
>> I have open-sourced a some time ago an Instant Messaging (XMPP) extension 
>> for Review board. The feature set is basic at it just a mirroring the email 
>> notification behavior.
>>
>> Code can be downloaded from:
>>
>> https://github.com/iconoeugen/rb-xmpp-notification
>>
>> For installation follow the next steps:
>>
>> using pip:
>> sudo pip install RBXmppNotification
>> using easy_install:
>> sudo easy_install RBXmppNotification
>> from source:
>> git clone https://github.com/iconoeugen/rb-xmpp-notification
>> cd RBXmppNotification
>> sudo python setup.py build install
>> Restart your web server running review board
>> Login in to review board a

Instant Messaging (XMPP) extension

2013-05-18 Thread Horatiu Eugen VLAD
Hi,

I have open-sourced a some time ago an Instant Messaging (XMPP) extension 
for Review board. The feature set is basic at it just a mirroring the email 
notification behavior.

Code can be downloaded from:

https://github.com/iconoeugen/rb-xmpp-notification

For installation follow the next steps:

using pip:
sudo pip install RBXmppNotification
using easy_install:
sudo easy_install RBXmppNotification
from source:
git clone https://github.com/iconoeugen/rb-xmpp-notification
cd RBXmppNotification
sudo python setup.py build install
Restart your web server running review board
Login in to review board as administrator
Go to Admin panel -> Extensions
In the 'MANAGE EXTENSIONS' page, enable 'RBXmppNotification'
Configure 'RBXmppNotification' with the XMPP server and sender details.
Click on 'Save'


Any feedback is welcomed,
H

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.