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_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_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-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_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-07 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: 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 Revi

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_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

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_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 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. <the...@gmail.com > 
> 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. <the...@gmail.com > 
> 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.


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.


Review Board Ticket #4462: Interdiff bug. Removed lines are not marked as removed.

2016-09-05 Thread Vlad S.
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4462/
--

New ticket #4462 by valdis
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect

File attachments:

 * Screen Shot 2016-09-05 at 21.39.57.png
   



--
Interdiff bug. Removed lines are not marked as removed.
==

# What version of Djblets are you using?
python-djblets-0.9.3-1.el7.noarch

# Which module(s) have the problem?
Interdiff

# What steps will reproduce the problem?
n/a. Can't submit diff to reproduce. Would point me to the exact module/function
so I could test more or add debug output.

# What is the expected output? What do you see instead?
The expected out out is to mark lines moved upper as removed, not only as added.

# What version of Python and Django?
Python 2.7.5
python-django-pipeline-1.3.24-1.el7.noarch
python2-django-multiselectfield-0.1.3-5.el7.noarch
python-django-evolution-0.7.6-1.el7.noarch
python-django-1.6.11-5.el7.noarch
python-django-bash-completion-1.6.11-5.el7.noarch
python-django-haystack-2.3.1-1.el7.noarch

# Please provide any additional information below.
Git, own repo.
n/a

--

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
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-07 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.


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.


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.


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: 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 javascript:   
 Review Board - https://www.reviewboard.org   
 Beanbag, Inc. - https://www.beanbaginc.com 

 -Original Message- 
 From: Vlad S. the...@gmail.com javascript: 
 Reply: revie...@googlegroups.com javascript: revie...@googlegroups.com 
 javascript: 
 Date: October 20, 2014 at 6:19:02 AM 
 To: revie...@googlegroups.com javascript: revie...@googlegroups.com 
 javascript: 
 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 javascript:.   
  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.


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 javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com


 On Thu, Dec 5, 2013 at 5:17 AM, Vlad S. the...@gmail.com javascript: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 javascript:.
 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.
attachment: Screen Shot 2013-12-05 at 17.14.26.png

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.


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.
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 gautam...@gmail.comwrote:

 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. the...@gmail.com 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 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...@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

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 javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com
  

 On Tue, Nov 19, 2013 at 2:48 AM, Vishal Gautam 
 gautam...@gmail.comjavascript:
  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.

 -- begin log output --
 /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.
 --- end log output ---

 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. the...@gmail.com 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 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 
 gautam...@gmail.comwrote:

 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

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 javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com
  

 On Tue, Nov 19, 2013 at 2:48 AM, Vishal Gautam 
 gautam...@gmail.comjavascript:
  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.

 -- begin log output --
 /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.
 --- end log output ---

 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. the...@gmail.com 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 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 
 gautam...@gmail.comwrote:

 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

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.

-- begin log output --
/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.
--- end log output ---

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. the...@gmail.com 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 pipelin
 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

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-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 javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com


 On Fri, Nov 15, 2013 at 3:33 AM, Vlad S. the...@gmail.com 
 javascript: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 pipelin
 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 javascript:.
 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.


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: 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.