Re: Upgrading Review Board 1.7.6 to 2.0.2

2015-10-23 Thread David Trowbridge
Robert,

It's easiest (and safest) to develop extensions using a development
environment for Review Board rather than a production deploy. We have
instructions for creating a dev environment at
https://www.reviewboard.org/docs/codebase/dev/getting-started/

-David

On Wed, Oct 21, 2015 at 2:09 PM, Robert Bolen  wrote:

> David,
>
> When doing the upgrade from 1.7.6 to 2.0.20 using the easy_install command
> I received no errors as I previously stated. In order to create the
> extensions you recommended which utilizes the contrib directory, this was
> not installed when upgrading review board. Does this directory need to be
> installed separately from the review board .egg file?
>
> -Robert
>
>
> On Wednesday, October 21, 2015 at 9:20:03 AM UTC-6, Robert Bolen wrote:
>>
>> David,
>>
>> When doing the extension what would the right file path for this
>> extension and does another file call it or does it need a specific name?
>>
>> -Robert
>>
>> On Tuesday, October 20, 2015 at 2:14:07 PM UTC-6, David Trowbridge wrote:
>>>
>>> Robert,
>>>
>>> You can either do it as part of an extension, or just using entry
>>> points. See
>>> https://www.reviewboard.org/docs/manual/2.0/extending/auth-backends/#packaging
>>>
>>> -David
>>>
>>> On Tue, Oct 20, 2015 at 9:15 AM, Robert Bolen  wrote:
>>>
 David,

 How would I go about doing that? I'm new to python why I went the route
 that I did.

 -Robert

 On Monday, October 19, 2015 at 2:29:03 PM UTC-6, David Trowbridge wrote:
>
>
> On Mon, Oct 19, 2015 at 1:25 PM, Robert Bolen 
> wrote:
>
>> 'Mantis User Database'
>
>
> This is not part of the upstream Review Board code. It looks like you
> have some custom modifications that are broken.
>
> There's no reason to ship additional authentication backends as a
> patch to Review Board. You can write them in a separate python package and
> use entry points to register them. This way you can maintain it outside of
> the Review Board codebase without worrying about patching problems like
> this.
>
> -David
>
 --
 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.
>

-- 
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: Upgrading Review Board 1.7.6 to 2.0.2

2015-10-21 Thread Robert Bolen
David,

When doing the upgrade from 1.7.6 to 2.0.20 using the easy_install command 
I received no errors as I previously stated. In order to create the 
extensions you recommended which utilizes the contrib directory, this was 
not installed when upgrading review board. Does this directory need to be 
installed separately from the review board .egg file?

-Robert

On Wednesday, October 21, 2015 at 9:20:03 AM UTC-6, Robert Bolen wrote:
>
> David,
>
> When doing the extension what would the right file path for this extension 
> and does another file call it or does it need a specific name?
>
> -Robert
>
> On Tuesday, October 20, 2015 at 2:14:07 PM UTC-6, David Trowbridge wrote:
>>
>> Robert,
>>
>> You can either do it as part of an extension, or just using entry points. 
>> See 
>> https://www.reviewboard.org/docs/manual/2.0/extending/auth-backends/#packaging
>>
>> -David
>>
>> On Tue, Oct 20, 2015 at 9:15 AM, Robert Bolen  wrote:
>>
>>> David,
>>>
>>> How would I go about doing that? I'm new to python why I went the route 
>>> that I did.
>>>
>>> -Robert
>>>
>>> On Monday, October 19, 2015 at 2:29:03 PM UTC-6, David Trowbridge wrote:


 On Mon, Oct 19, 2015 at 1:25 PM, Robert Bolen  
 wrote:

> 'Mantis User Database'


 This is not part of the upstream Review Board code. It looks like you 
 have some custom modifications that are broken.

 There's no reason to ship additional authentication backends as a patch 
 to Review Board. You can write them in a separate python package and use 
 entry points to register them. This way you can maintain it outside of the 
 Review Board codebase without worrying about patching problems like this.

 -David

>>> -- 
>>> 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: Upgrading Review Board 1.7.6 to 2.0.2

2015-10-21 Thread Robert Bolen
David,

When doing the extension what would the right file path for this extension 
and does another file call it or does it need a specific name?

-Robert

On Tuesday, October 20, 2015 at 2:14:07 PM UTC-6, David Trowbridge wrote:
>
> Robert,
>
> You can either do it as part of an extension, or just using entry points. 
> See 
> https://www.reviewboard.org/docs/manual/2.0/extending/auth-backends/#packaging
>
> -David
>
> On Tue, Oct 20, 2015 at 9:15 AM, Robert Bolen  > wrote:
>
>> David,
>>
>> How would I go about doing that? I'm new to python why I went the route 
>> that I did.
>>
>> -Robert
>>
>> On Monday, October 19, 2015 at 2:29:03 PM UTC-6, David Trowbridge wrote:
>>>
>>>
>>> On Mon, Oct 19, 2015 at 1:25 PM, Robert Bolen  wrote:
>>>
 'Mantis User Database'
>>>
>>>
>>> This is not part of the upstream Review Board code. It looks like you 
>>> have some custom modifications that are broken.
>>>
>>> There's no reason to ship additional authentication backends as a patch 
>>> to Review Board. You can write them in a separate python package and use 
>>> entry points to register them. This way you can maintain it outside of the 
>>> Review Board codebase without worrying about patching problems like this.
>>>
>>> -David
>>>
>> -- 
>> 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: Upgrading Review Board 1.7.6 to 2.0.2

2015-10-20 Thread David Trowbridge
Robert,

You can either do it as part of an extension, or just using entry points.
See
https://www.reviewboard.org/docs/manual/2.0/extending/auth-backends/#packaging

-David

On Tue, Oct 20, 2015 at 9:15 AM, Robert Bolen  wrote:

> David,
>
> How would I go about doing that? I'm new to python why I went the route
> that I did.
>
> -Robert
>
> On Monday, October 19, 2015 at 2:29:03 PM UTC-6, David Trowbridge wrote:
>>
>>
>> On Mon, Oct 19, 2015 at 1:25 PM, Robert Bolen  wrote:
>>
>>> 'Mantis User Database'
>>
>>
>> This is not part of the upstream Review Board code. It looks like you
>> have some custom modifications that are broken.
>>
>> There's no reason to ship additional authentication backends as a patch
>> to Review Board. You can write them in a separate python package and use
>> entry points to register them. This way you can maintain it outside of the
>> Review Board codebase without worrying about patching problems like this.
>>
>> -David
>>
> --
> 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 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: Upgrading Review Board 1.7.6 to 2.0.2

2015-10-20 Thread Robert Bolen
David,

How would I go about doing that? I'm new to python why I went the route 
that I did.

-Robert

On Monday, October 19, 2015 at 2:29:03 PM UTC-6, David Trowbridge wrote:
>
>
> On Mon, Oct 19, 2015 at 1:25 PM, Robert Bolen  > wrote:
>
>> 'Mantis User Database'
>
>
> This is not part of the upstream Review Board code. It looks like you have 
> some custom modifications that are broken.
>
> There's no reason to ship additional authentication backends as a patch to 
> Review Board. You can write them in a separate python package and use entry 
> points to register them. This way you can maintain it outside of the Review 
> Board codebase without worrying about patching problems like this.
>
> -David
>

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


Upgrading Review Board 1.7.6 to 2.0.2

2015-10-19 Thread Robert Bolen
When trying to upgrade Review Board from a working 1.7.6 to 2.0.2 Redhat 
Santiago: 

1) easy_install -U ReviewBoard
2) rb-site upgrade 
/var/www/html/reviewboard/ -successful 
evolution

After restarting my httpd server, I received the following errors in the 
error_log file:

[error] [client 10.79.85.104]  IndentationError: unindent does not match 
any outer indentation level
[error] [client 10.79.85.104] mod_wsgi (pid=6333): Exception occurred 
processing WSGI script '/var/www/html/reviewboard/htdocs/reviewboard.wsgi'.
[error] [client 10.79.85.104] Traceback (most recent call last):
[error] [client 10.79.85.104]   File 
"/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/handlers/wsgi.py",
 
line 187, in __call__
[error] [client 10.79.85.104] self.load_middleware()
[error] [client 10.79.85.104]   File 
"/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/core/handlers/base.py",
 
line 45, in load_middleware
[error] [client 10.79.85.104] mw_class = import_by_path(middleware_path)
[error] [client 10.79.85.104]   File 
"/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/utils/module_loading.py",
 
line 21, in import_by_path
[error] [client 10.79.85.104] module = import_module(module_path)
[error] [client 10.79.85.104]   File 
"/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/utils/importlib.py",
 
line 40, in import_module
[error] [client 10.79.85.104] __import__(name)
[client 10.79.85.104]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.20-py2.6.egg/reviewboard/admin/middleware.py",
 
line 24, in 
[error] [client 10.79.85.104] from reviewboard.admin.siteconfig import 
load_site_config
[error] [client 10.79.85.104]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.20-py2.6.egg/reviewboard/admin/siteconfig.py",
 
line 48, in 
[error] [client 10.79.85.104] from reviewboard.accounts.backends import 
get_registered_auth_backend
[error] [client 10.79.85.104]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.20-py2.6.egg/reviewboard/accounts/backends.py",
 
line 108
[error] [client 10.79.85.104]  name = _('Mantis User Database')

AND the Review Board is taking a nap screen on my browser

Thanks for your help,

Robert

-- 
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: Upgrading Review Board 1.7.6 to 2.0.2

2015-10-19 Thread David Trowbridge
On Mon, Oct 19, 2015 at 1:25 PM, Robert Bolen  wrote:

> 'Mantis User Database'


This is not part of the upstream Review Board code. It looks like you have
some custom modifications that are broken.

There's no reason to ship additional authentication backends as a patch to
Review Board. You can write them in a separate python package and use entry
points to register them. This way you can maintain it outside of the Review
Board codebase without worrying about patching problems like this.

-David

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