Re: Help required - Clearcase and ReviewBoard integration on Windows

2012-10-01 Thread Amit Priyadarshi
Hi Paddy, 
I am trying to do the same.
I followed the install steps mentioned here:
http://www.reviewboard.org/docs/manual/dev/admin/installation/windows/

and then created sites using folllowing link
http://www.reviewboard.org/docs/manual/dev/admin/installation/creating-sites/#creating-sites

However while creating a review package using post-review I run into 
following error:
*"Unable to find a Review Board server for this source code tree."*
*
*
*Looking at the python code for review board*
http://reviewboard.googlecode.com/svn/trunk/wxpostreview/postreview.py 

it looks like this:

def main(args):
if 'USERPROFILE' in os.environ:
homepath = os.path.join(os.environ["USERPROFILE"], "Local Settings",
"Application Data")
else:
homepath = os.environ["HOME"]

# Load the config and cookie files
globals()['user_config'] = \
load_config_file(os.path.join(homepath, ".reviewboardrc"))
cookie_file = os.path.join(homepath, ".post-review-cookies.txt")


Its actually looking for file with name ".reviewboardrc" in windows which is 
not possible on a windows box.


1. Were you able to successfully create a review package with clearcase on 
Wondows

2. if yes please let me know how you overcome this error and which version 
(reviewBoard) did you select?


On Friday, 27 May 2011 18:39:25 UTC+5:30, paddy wrote:
>
> BTW, I am trying to integrate RB with clearcase on windows.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

How do I get logging for active directory backend?

2012-10-01 Thread Steve
I'm trying to migrate from 1.5 to 1.6. In 1.5, I had this in my 
settings_local.py file:

AD_DEBUG = True
AD_DEBUG_FILE = '/var/www/reviewboard/logs/ldap.debug'

Which was essential for debugging authentication problems. In fact, I had 
all my AD settings in settings_local.py.

For 1.6, these settings aren't having any affect at all, as far as I can 
tell. It appears things have moved or been renamed.  I'm not getting an 
ldap.debug file. When I use the web interface for configuration, the only 
place I can find to set logging is in the general logging pane. I have that 
enabled, but I'm only getting stuff like this:

2012-10-01 08:51:54,429 - DEBUG - Logging to 
/var/www/reviewboard/logs/reviewboard.log with a minimum level of DEBUG
2012-10-01 08:51:54,430 - DEBUG - Log file for Review Board v1.6.9 (PID 
12370)

So 2 questions:

1. How can I get debug information for my active directory authentication?
2. What are my non-web ui options for configuration settings?

Thanks!

--Steve



-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Default tab configuration

2012-10-01 Thread Michael Zhilin
Hi,

We use RB since year 2009 and several reviewers requested default tab 
configuration. When reviewer opens review request first time, "View Diff" tab 
should be opened. Another case is tha when author/reviewer received email with 
review and click on link, "View Reviews" tab should be opened. To implement it, 
I can't use extensions and will be obliged to hack RB.

What do you think about such feature? Could you please advise how it implement 
correctly?

Thank you in advance, 
  Michael.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


What strategy to upgrade from 1.0 to 1.6 and migrate to new server?

2012-10-01 Thread Michal Musial
Hello Everyone,

I am currently running a ReviewBoard 1.0.5.1 on FreeBSD 7.2 installation 
from 3
years ago with following software:
- python 2.6.4
- mysql 5.1.41
- django 1.1.1
- subversion 1.6.4

I've got a new FreeBSD 9.0 server ready to upgrade & migrate the RB to:
- python 2.7.3
- mysql 5.5.27
- django 1.3.3
- subversion 1.7.6

Can someone suggest a strategy for this? I'd like to upgrade to latest 
stable
(1.6.12).

I was hoping there was a way to import data from the old version and do an
upgrade on the new server to avoid touching a live server and to avoid
dependencies upgrades which potentially can fail and cause a lot more work, 
but
I worry that I newer software version on the new server won't handle it 
well.

Will `easy_install -U ReviewBoard` take care of the upgrade process nicely 
and
upgrade necessary (python) dependencies if required? If this goes well, 
should I
expect any problems with different MySQL and Subversion versions on the 
servers?

It's probably worth noting that I have near-zero experience with RB and 
Python,
but I am decent with FreeBSD and web servers.

-- 
Regards,
Michał.

PS. First time poster here, I hope I didn't break any rules.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: What strategy to upgrade from 1.0 to 1.6 and migrate to new server?

2012-10-01 Thread Christian Hammond
Hi Michal,

First, whatever you do, back up your database using mysqldump.

You should be able to create a new site installation on the new box with
the latest 1.6.x of Review Board. Then completely wipe the resulting MySQL
database. You may also want to copy over anything else from your old site's
media/uploaded directory.

Once you've done that, import your old database, and then perform a site
upgrade (rb-site upgrade /path/to/site).

This should upgrade the database and get you in shape.

If you hit any snags (1.0.5.x is pretty old), let us know.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Oct 1, 2012 at 9:33 AM, Michal Musial wrote:

> Hello Everyone,
>
> I am currently running a ReviewBoard 1.0.5.1 on FreeBSD 7.2 installation
> from 3
> years ago with following software:
> - python 2.6.4
> - mysql 5.1.41
> - django 1.1.1
> - subversion 1.6.4
>
> I've got a new FreeBSD 9.0 server ready to upgrade & migrate the RB to:
> - python 2.7.3
> - mysql 5.5.27
> - django 1.3.3
> - subversion 1.7.6
>
> Can someone suggest a strategy for this? I'd like to upgrade to latest
> stable
> (1.6.12).
>
> I was hoping there was a way to import data from the old version and do an
> upgrade on the new server to avoid touching a live server and to avoid
> dependencies upgrades which potentially can fail and cause a lot more
> work, but
> I worry that I newer software version on the new server won't handle it
> well.
>
> Will `easy_install -U ReviewBoard` take care of the upgrade process nicely
> and
> upgrade necessary (python) dependencies if required? If this goes well,
> should I
> expect any problems with different MySQL and Subversion versions on the
> servers?
>
> It's probably worth noting that I have near-zero experience with RB and
> Python,
> but I am decent with FreeBSD and web servers.
>
> --
> Regards,
> Michał.
>
> PS. First time poster here, I hope I didn't break any rules.
>
>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Default tab configuration

2012-10-01 Thread Christian Hammond
Hi Michael,

Each page has its own URL. Flipping what /r/123/ and /r/123/diff/ points to
doesn't really make any sense.

The e-mails have a link to the review request, so users can always click on
those. No need to change the View Diff link. Unless I'm missing something,
there's nothing you really need to do differently here except click a
different link.

For the dashboard, you'd have to rewrite part of the code to change what
the review request summary it links to. It's not something we'd accept
upstream. That would be in reviewboard/reviews/datagrids.py.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Oct 1, 2012 at 10:25 AM, Michael Zhilin  wrote:

> Hi,
>
> We use RB since year 2009 and several reviewers requested default tab
> configuration. When reviewer opens review request first time, "View Diff"
> tab should be opened. Another case is tha when author/reviewer received
> email with review and click on link, "View Reviews" tab should be opened.
> To implement it, I can't use extensions and will be obliged to hack RB.
>
> What do you think about such feature? Could you please advise how it
> implement correctly?
>
> Thank you in advance,
>   Michael.
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Internal error - permissions on search-index directory

2012-10-01 Thread Christian Hammond
That never should have been the path in the first place. It should be in
your site's data/ directory. What does the setting for it say?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Oct 1, 2012 at 10:06 AM, J Arrizza  wrote:

> Received this error on Reviewboard 1.7 Beta 1  (see below for the full
> traceback):
>
>   JavaError: java.io.IOException: Cannot create directory:
> /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/search-index
>
> This was a fresh install (not an upgrade) on to an Ubuntu 10.04 server.
>
> You can see here the parent directory is owned by root and is part of the
> staff group. So the mkdir should have worked:
>
>
> $ pwd
>
> /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard
> $ ls -al
> total 152
> drwxr-sr-x 18 root staff  4096 2012-09-04 08:51 .
> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 ..
> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 accounts
> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 admin
> drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 attachments
> drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 changedescs
> drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 cmdline
> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 diffviewer
> drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 extensions
> drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 hostingsvcs
> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 htdocs
> -rwxr-xr-x  1 root staff  2382 2012-09-04 08:51 __init__.py
> -rw-r--r--  1 root staff  2781 2012-09-04 08:51 __init__.pyc
> -rwxr-xr-x  1 root staff  6337 2012-09-04 08:51 manage.py
> -rw-r--r--  1 root staff  5205 2012-09-04 08:51 manage.pyc
> -rw-r--r--  1 root staff   179 2012-09-04 08:51 nose.cfg
> drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 notifications
> drwxr-sr-x  7 root staff  4096 2012-09-04 08:51 reviews
> drwxr-sr-x  6 root staff  4096 2012-09-04 08:51 scmtools
> -rwxr-xr-x  1 root staff 10741 2012-09-04 08:51 settings.py
> -rw-r--r--  1 root staff  9540 2012-09-04 08:51 settings.pyc
> -rwxr-xr-x  1 root staff61 2012-09-04 08:51 signals.py
> -rw-r--r--  1 root staff   269 2012-09-04 08:51 signals.pyc
> drwxr-sr-x  4 root staff  4096 2012-09-04 08:51 site
> drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 static
> drwxr-sr-x 11 root staff  4096 2012-09-04 08:51 templates
> -rwxr-xr-x  1 root staff  4774 2012-09-04 08:51 test.py
> -rw-r--r--  1 root staff  4051 2012-09-04 08:51 test.pyc
> -rwxr-xr-x  1 root staff  3876 2012-09-04 08:51 urls.py
> -rw-r--r--  1 root staff  2860 2012-09-04 08:51 urls.pyc
> drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 webapi
>
>
>
> Any suggestions on what I need to do?
>
> John
>
>
>
> ==
>
>
> Traceback (most recent call last):
>
>   File
> "/usr/local/lib/python2.6/dist-packages/Django-1.4.1-py2.6.egg/django/core/handlers/base.py",
> line 111, in get_response
> response = callback(request, *callback_args, **callback_kwargs)
>
>   File
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/accounts/decorators.py",
> line 22, in _check
> return view_func(*args, **kwargs)
>
>   File
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/reviews/views.py",
> line 1409, in search
> store = lucene.FSDirectory.getDirectory(index_file, False)
>
> JavaError: java.io.IOException: Cannot create directory:
> /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/search-index
>
>
>  path:/reviews/r/search/,
> GET:,
> POST:,
> COOKIES:{'collapsediffs': 'True', 'rbsessionid':
> '5224bb50ddf053d9791305af2465b972'},
> META:{'DOCUMENT_ROOT': '/fmcapps',
>  'GATEWAY_INTERFACE': 'CGI/1.1',
>  'HOME': '/var/www/reviewboard/data',
>  'HTTP_ACCEPT':
> 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
>  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
>  'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
>  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
>  'HTTP_CONNECTION': 'keep-alive',
>  'HTTP_COOKIE': 'rbsessionid=5224bb50ddf053d9791305af2465b972;
> collapsediffs=True',
>  'HTTP_HOST': 'cm5',
>  'HTTP_REFERER': 'http://cm5/reviews/r/',
>  'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4
> (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4',
>  'PATH': '/usr/local/bin:/usr/bin:/bin',
>  'PATH_INFO': u'/reviews/r/search/',
>  'PATH_TRANSLATED':
> '/fmcapps/reviewboard/htdocs/reviewboard.wsgi/reviews/r/search/',
>  'QUERY_STRING': 'q=uicat',
>  'REMOTE_ADDR': '192.168.169.85',
>  'REMOTE_PORT': '54880',
>  'REQUEST_METHOD': 'GET',
>  'REQUEST_URI': '/reviews/r/search/?q=uicat',
>  'SCRIPT_FILENAME': '/fmcapps/reviewboard/htdocs/reviewboard.wsgi',
>  'SCRIPT_NAME': u'',
>  'SERVER_ADDR': '192.168.171.238',
>  'SERVER_ADMIN': 'webmaster@localhost',
>  'SERVER_NAME': 'cm5',
>  'SERVER_PORT': '80',
>  'SERVER_PROTOCOL

Re: Review Board 1.7 beta 1 released

2012-10-01 Thread Christian Hammond
There should be more than this. There should be some output from the script
being run.

Run ./contrib/internal/build-media.py manually and see what happens.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Sun, Sep 30, 2012 at 9:06 PM, kvr  wrote:

>  File "/usr/lib/python2.7/dist-packages/setuptools/command/bdist_egg.py",
> line 172, in run
> self.run_command("egg_info")
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "setup.py", line 63, in run
> self.run_command('build_media')
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "setup.py", line 81, in run
> raise RuntimeError('Failed to build media files')
>
> RuntimeError: Failed to build media files
>
> These are last few lines of the exception thrown during building egg in
> Ubuntu.
>
>
> On Friday, September 28, 2012 11:12:37 PM UTC+5:30, Christian Hammond
> wrote:
>
>> You'll get an entirely different error on Linux. I'd need to see it to
>> give you any information on a fix.
>>
>> Christian
>>
>>
>>
>> On Sep 28, 2012, at 3:49, kvr  wrote:
>>
>> No even I tried in Ubuntu, but was not successful.It failed while
>> building the media files in Ubuntu also.
>>
>> On Friday, September 28, 2012 12:55:08 AM UTC+5:30, Christian Hammond
>> wrote:
>>>
>>> We don't build packages on Windows, so likely new parts of our build
>>> infrastructure are assuming unixisms.
>>>
>>> Christian
>>>
>>>
>>> On Sep 27, 2012, at 4:21, kvr  wrote:
>>>
>>>
>>>
>>> On Thursday, September 27, 2012 11:22:07 AM UTC+5:30, Christian Hammond
>>> wrote:

 Can you show me what happened when you tried? There are certain things
 that must be installed in order to build the package.

 Christian

>>>
>>>
 I issued the following command to build the beta 1.7 code.

>>>
>>>  setup.py bdist_egg
>>>
>>> And the result is given below.
>>>
>>> running bdist_egg
>>> running egg_info
>>> running build_media
>>> error: %1 is not a valid Win32 application
>>>

 But 1.6.x code got successfully built.

>>>
>>>
 On Sep 26, 2012, at 20:26, kvr  wrote:

 May I know how did you make the egg file?

 Because I tried with easy_install bdist_egg, but did not work out.

 On Saturday, September 15, 2012 4:41:12 AM UTC+5:30, Christian Hammond
 wrote:
>
> In that case, grab the upstream Git version. Some of our RB 1.7
> dependencies have updated and are incompatible with a source build of 1.7.
>
> Christian
>
> --
> Christian Hammond - chi...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Thu, Sep 13, 2012 at 4:34 AM, kvr  wrote:
>
>> Thanks for your reply.
>>
>> But I've added some widgets in admin module that's why I want to
>> install from source.
>>
>>
>> On Friday, August 3, 2012 2:19:58 PM UTC+5:30, Christian Hammond
>> wrote:
>>
>>> Hey everyone,
>>>
>>> I'm happy to announce that we've pushed out the release of Review
>>> Board 1.7 beta 1. There's many new and exciting things in this release, 
>>> but
>>> rather than repeat myself, I'll just link you to the news post.
>>>
>>> http://www.reviewboard.org/**new**s/2012/08/03/review-board-**17-**
>>> beta-1-released/
>>>
>>> Please let me know if you hit any problems. And remember, it's a
>>> beta, so use your best judgment when deciding where to deploy it. Any
>>> testing would definitely be helpful, though, as that will help ensure a
>>> higher-quality release.
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond - chi...@chipx86.com
>>>
>>> Review Board - http://www.reviewboard.org
>>> VMware, Inc. - http://www.vmware.com
>>>
>>  --
>> Want to help the Review Board project? Donate today at
>> http://www.reviewboard.org/**donate/
>> Happy user? Let us know at 
>> http://www.reviewboard.org/**users/
>> -~--~~~~--**~~--~--~---
>> To unsubscribe from this group, send email to
>> reviewboard...@googlegroups.**com
>> For more options, visit this group at http://groups.google.com/**
>> group/reviewboard?hl=en
>>
>
>  --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/**donate/

Re: Not able to do post review

2012-10-01 Thread Christian Hammond
We'd need to see the full debug output plus the command line you're
invoking.

Also, a description of what you're submitting. Are you posting a revision
range? Is settings.py something that exists upstream?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Sun, Sep 30, 2012 at 9:53 PM, siva kumar <85s...@gmail.com> wrote:

>
> Hi ,
>
> I got the below mentioned error while post-review .
>
>
> DEBUG:root:Using candidate path 'default': 'https://sivakumar/hgtools'
> DEBUG:root:repository info: Path: https://sivakumar/hgtools, Base path: ,
> Supports changesets: False
> >>> Finished checking the repository type.
> >>> HTTP GETting api/
> >>> HTTP GETting 
> >>> http://sivakumar/reviews/api/**info/
> >>> Using the new web API
> >>> Attempting to create review request on HGTOOLS_NEW for None
> >>> HTTP POSTing to 
> >>> http://sivakumar/reviews/api/**review-requests/:
> {'repository': 'HGTOOLS_NEW'}
> >>> Review request created
> >>> Uploading diff, size: 994
> >>> HTTP POSTing to http://sivakumar/reviews/api/**
> review-requests/27/diffs/:
> {}
> >>> Got API Error 207 (HTTP code 400): The file was not found in the
> repository
> >>> Error data: {u'stat': u'fail', u'file': u'settings.py', u'err':
> {u'msg': u'The file was not found in the repository', u'code': 207},
> u'revision': u'd5ade09376df'}
>
> *Error uploading diff
>
> Your review request still exists, but the diff is not attached.*
>
>
> Thanks,
> Siva
>
>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: There are only two Authentication method available.

2012-10-01 Thread Christian Hammond
Running 'easy_install ReviewBoard' won't actually do much of anything.
You'd need to pass -U to do an upgrade.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Sat, Sep 29, 2012 at 12:32 AM, 周培青  wrote:

> Hi Christian,
>
> I remember I used easy_install and I tried running easy_install
> ReviewBoard command again and got below information,
> >> easy_install ReviewBoard
> Searching for ReviewBoard
> Best match: ReviewBoard 1.6.11
> Processing ReviewBoard-1.6.11-py2.6.egg
> ReviewBoard 1.6.11 is already the active version in easy-install.pth
> Installing rb-site script to /usr/bin
> Installing rbssh script to /usr/bin
>
> Using /usr/lib/python2.6/site-packages/ReviewBoard-1.6.11-py2.6.egg
> Processing dependencies for ReviewBoard
> Finished processing dependencies for ReviewBoard
>
> Any ideas...
>
> 在 2012年9月22日星期六UTC+8上午7时12分04秒,Christian Hammond写道:
>>
>> How did you install Review Board? It looks like the registrations are
>> missing, which indicates you may have used pip or something, instead of
>> easy_install.
>>
>> Christian
>>
>> --
>> Christian Hammond - chi...@chipx86.com
>>
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Fri, Sep 21, 2012 at 1:37 AM, 周培青  wrote:
>>
>>>  Hi all,
>>>
>>> I installed ReviewBoard 1.6.11 on CentOS and I was trying to enable LDAP
>>> as authentication method, but I cannot even select LDAP from the
>>> Authentication Method dropdown in Authentication --> Authentication
>>> Settings tab, see the attached screenshot.
>>>
>>> What's going on...
>>>
>>> I would be very appreciate for your help.
>>>
>>>  --
>>> Want to help the Review Board project? Donate today at
>>> http://www.reviewboard.org/**donate/
>>> Happy user? Let us know at 
>>> http://www.reviewboard.org/**users/
>>> -~--~~~~--**~~--~--~---
>>> To unsubscribe from this group, send email to reviewboard...@**
>>> googlegroups.com
>>>
>>> For more options, visit this group at http://groups.google.com/**
>>> group/reviewboard?hl=en
>>>
>>
>>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Internal error - permissions on search-index directory

2012-10-01 Thread Christian Hammond
Probably /data/search-index

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Oct 1, 2012 at 1:55 PM, J Arrizza  wrote:

> In the General Settings tab, the Enable Search is checked and the search
> index directory is:
>
>
> /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/search-index
>
>
> What should it say?
>
> John
>
>
> On Mon, Oct 1, 2012 at 1:40 PM, Christian Hammond wrote:
>
>> That never should have been the path in the first place. It should be in
>> your site's data/ directory. What does the setting for it say?
>>
>> Christian
>>
>> --
>> Christian Hammond - chip...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Mon, Oct 1, 2012 at 10:06 AM, J Arrizza  wrote:
>>
>>> Received this error on Reviewboard 1.7 Beta 1  (see below for the full
>>> traceback):
>>>
>>>   JavaError: java.io.IOException: Cannot create directory:
>>> /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/search-index
>>>
>>> This was a fresh install (not an upgrade) on to an Ubuntu 10.04 server.
>>>
>>> You can see here the parent directory is owned by root and is part of
>>> the staff group. So the mkdir should have worked:
>>>
>>>
>>> $ pwd
>>>
>>> /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard
>>> $ ls -al
>>> total 152
>>> drwxr-sr-x 18 root staff  4096 2012-09-04 08:51 .
>>> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 ..
>>> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 accounts
>>> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 admin
>>> drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 attachments
>>> drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 changedescs
>>> drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 cmdline
>>> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 diffviewer
>>> drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 extensions
>>> drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 hostingsvcs
>>> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 htdocs
>>> -rwxr-xr-x  1 root staff  2382 2012-09-04 08:51 __init__.py
>>> -rw-r--r--  1 root staff  2781 2012-09-04 08:51 __init__.pyc
>>> -rwxr-xr-x  1 root staff  6337 2012-09-04 08:51 manage.py
>>> -rw-r--r--  1 root staff  5205 2012-09-04 08:51 manage.pyc
>>> -rw-r--r--  1 root staff   179 2012-09-04 08:51 nose.cfg
>>> drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 notifications
>>> drwxr-sr-x  7 root staff  4096 2012-09-04 08:51 reviews
>>> drwxr-sr-x  6 root staff  4096 2012-09-04 08:51 scmtools
>>> -rwxr-xr-x  1 root staff 10741 2012-09-04 08:51 settings.py
>>> -rw-r--r--  1 root staff  9540 2012-09-04 08:51 settings.pyc
>>> -rwxr-xr-x  1 root staff61 2012-09-04 08:51 signals.py
>>> -rw-r--r--  1 root staff   269 2012-09-04 08:51 signals.pyc
>>> drwxr-sr-x  4 root staff  4096 2012-09-04 08:51 site
>>> drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 static
>>> drwxr-sr-x 11 root staff  4096 2012-09-04 08:51 templates
>>> -rwxr-xr-x  1 root staff  4774 2012-09-04 08:51 test.py
>>> -rw-r--r--  1 root staff  4051 2012-09-04 08:51 test.pyc
>>> -rwxr-xr-x  1 root staff  3876 2012-09-04 08:51 urls.py
>>> -rw-r--r--  1 root staff  2860 2012-09-04 08:51 urls.pyc
>>> drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 webapi
>>>
>>>
>>>
>>> Any suggestions on what I need to do?
>>>
>>> John
>>>
>>>
>>>
>>> ==
>>>
>>>
>>> Traceback (most recent call last):
>>>
>>>   File
>>> "/usr/local/lib/python2.6/dist-packages/Django-1.4.1-py2.6.egg/django/core/handlers/base.py",
>>> line 111, in get_response
>>> response = callback(request, *callback_args, **callback_kwargs)
>>>
>>>   File
>>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/accounts/decorators.py",
>>> line 22, in _check
>>> return view_func(*args, **kwargs)
>>>
>>>   File
>>> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/reviews/views.py",
>>> line 1409, in search
>>> store = lucene.FSDirectory.getDirectory(index_file, False)
>>>
>>> JavaError: java.io.IOException: Cannot create directory:
>>> /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/search-index
>>>
>>>
>>> >> path:/reviews/r/search/,
>>> GET:,
>>> POST:,
>>> COOKIES:{'collapsediffs': 'True', 'rbsessionid':
>>> '5224bb50ddf053d9791305af2465b972'},
>>> META:{'DOCUMENT_ROOT': '/fmcapps',
>>>  'GATEWAY_INTERFACE': 'CGI/1.1',
>>>  'HOME': '/var/www/reviewboard/data',
>>>  'HTTP_ACCEPT':
>>> 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
>>>  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
>>>  'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
>>>  'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
>>>  'HTTP_CONNECTION': 'keep-alive',
>>>  'HTTP_COOKIE': 'rbsessionid=5224bb50ddf053d9791305af2465b972;
>>> collapsediffs=True',
>>>  'HTTP_HOST': 'cm5',
>>>  'HTTP_REF

Re: How do I get logging for active directory backend?

2012-10-01 Thread Christian Hammond
We never had these settings. I don't know where they came from but I
suspect it was a custom patch in your copy of Review Board.

All configuration for auth backends are stored in a serialized form in the
database.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Oct 1, 2012 at 9:04 AM, Steve  wrote:

> I'm trying to migrate from 1.5 to 1.6. In 1.5, I had this in my
> settings_local.py file:
>
> AD_DEBUG = True
> AD_DEBUG_FILE = '/var/www/reviewboard/logs/ldap.debug'
>
> Which was essential for debugging authentication problems. In fact, I had
> all my AD settings in settings_local.py.
>
> For 1.6, these settings aren't having any affect at all, as far as I can
> tell. It appears things have moved or been renamed.  I'm not getting an
> ldap.debug file. When I use the web interface for configuration, the only
> place I can find to set logging is in the general logging pane. I have that
> enabled, but I'm only getting stuff like this:
>
> 2012-10-01 08:51:54,429 - DEBUG - Logging to
> /var/www/reviewboard/logs/reviewboard.log with a minimum level of DEBUG
> 2012-10-01 08:51:54,430 - DEBUG - Log file for Review Board v1.6.9 (PID
> 12370)
>
> So 2 questions:
>
> 1. How can I get debug information for my active directory authentication?
> 2. What are my non-web ui options for configuration settings?
>
> Thanks!
>
> --Steve
>
>
>
>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

How to specify cookie name

2012-10-01 Thread Michael Zhilin
Hi,

I've installed two instances on same server thanks to virtualenv. But I 
faced issue with cookies. I can't work on both servers simultaneously 
because cookie name and host names are same for both environments. I had 
quick look at setting.py and found out that COOKIE_NAME variable is defined 
after setting_local initialization. If i'm correct, it means that I can't 
override cookie name in setting_local.py files. 

Is there another way to specify cookie name? If not, is it defect?

Thank you,
 Michael 

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Internal error - permissions on search-index directory

2012-10-01 Thread J Arrizza
Thanks!
Any way to kick off the search index task (or whatever it is that uses that
directory), so I check the permissions, etc are set correctly?

PS there are a couple more issues, very low priority:
- clicking on the links in the "System Information" area (lower left hand
pane) gives me 404 errors, e.g. clicking on "indexed Search": 404 The
requested URL /admin/settings/general/ was not found on this server.
- In the System Settings | General tab, there is a "Server:" field. I fill
it in, click Save, it accepts it and then it blanks the field again.


John
On Mon, Oct 1, 2012 at 2:05 PM, Christian Hammond wrote:

> Probably /data/search-index
>
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Mon, Oct 1, 2012 at 1:55 PM, J Arrizza  wrote:
>
>> In the General Settings tab, the Enable Search is checked and the search
>> index directory is:
>>
>>
>> /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/search-index
>>
>>
>> What should it say?
>>
>> John
>>
>>
>> On Mon, Oct 1, 2012 at 1:40 PM, Christian Hammond wrote:
>>
>>> That never should have been the path in the first place. It should be in
>>> your site's data/ directory. What does the setting for it say?
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond - chip...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> VMware, Inc. - http://www.vmware.com
>>>
>>>
>>> On Mon, Oct 1, 2012 at 10:06 AM, J Arrizza  wrote:
>>>
 Received this error on Reviewboard 1.7 Beta 1  (see below for the full
 traceback):

   JavaError: java.io.IOException: Cannot create directory:
 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/search-index

 This was a fresh install (not an upgrade) on to an Ubuntu 10.04 server.

 You can see here the parent directory is owned by root and is part of
 the staff group. So the mkdir should have worked:


 $ pwd

 /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard
 $ ls -al
 total 152
 drwxr-sr-x 18 root staff  4096 2012-09-04 08:51 .
 drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 ..
 drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 accounts
 drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 admin
 drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 attachments
 drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 changedescs
 drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 cmdline
 drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 diffviewer
 drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 extensions
 drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 hostingsvcs
 drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 htdocs
 -rwxr-xr-x  1 root staff  2382 2012-09-04 08:51 __init__.py
 -rw-r--r--  1 root staff  2781 2012-09-04 08:51 __init__.pyc
 -rwxr-xr-x  1 root staff  6337 2012-09-04 08:51 manage.py
 -rw-r--r--  1 root staff  5205 2012-09-04 08:51 manage.pyc
 -rw-r--r--  1 root staff   179 2012-09-04 08:51 nose.cfg
 drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 notifications
 drwxr-sr-x  7 root staff  4096 2012-09-04 08:51 reviews
 drwxr-sr-x  6 root staff  4096 2012-09-04 08:51 scmtools
 -rwxr-xr-x  1 root staff 10741 2012-09-04 08:51 settings.py
 -rw-r--r--  1 root staff  9540 2012-09-04 08:51 settings.pyc
 -rwxr-xr-x  1 root staff61 2012-09-04 08:51 signals.py
 -rw-r--r--  1 root staff   269 2012-09-04 08:51 signals.pyc
 drwxr-sr-x  4 root staff  4096 2012-09-04 08:51 site
 drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 static
 drwxr-sr-x 11 root staff  4096 2012-09-04 08:51 templates
 -rwxr-xr-x  1 root staff  4774 2012-09-04 08:51 test.py
 -rw-r--r--  1 root staff  4051 2012-09-04 08:51 test.pyc
 -rwxr-xr-x  1 root staff  3876 2012-09-04 08:51 urls.py
 -rw-r--r--  1 root staff  2860 2012-09-04 08:51 urls.pyc
 drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 webapi



 Any suggestions on what I need to do?

 John



 ==


 Traceback (most recent call last):

   File
 "/usr/local/lib/python2.6/dist-packages/Django-1.4.1-py2.6.egg/django/core/handlers/base.py",
 line 111, in get_response
 response = callback(request, *callback_args, **callback_kwargs)

   File
 "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/accounts/decorators.py",
 line 22, in _check
 return view_func(*args, **kwargs)

   File
 "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/reviews/views.py",
 line 1409, in search
 store = lucene.FSDirectory.getDirectory(index_file, False)

 JavaError: java.io.IOException: Cannot create directory:
 /usr/local/lib/python2.6/dist-package

Re: Default tab configuration

2012-10-01 Thread Michael Zhilin
Hi Christian,

Thank you for quick reply and consultation. 

I think that my explanation might be misleading. Here is my quick simple 
draft of review process what we use:
http://www.diagram.ly/?share=#5QAsM6HeuLnSY1gW2OXvb5lpTvOm4yaiBG2gGlOEQ7wAq0nnG0
My idea is to make link to request to be configurable in several cases. 
Administrator will be able to change default tabs in admin interface. This 
feature will minimize clicks / review time and make review process more 
direct.

I'll try to implement it and share results with you. 

Best regards,
Michael
On Tuesday, October 2, 2012 12:40:25 AM UTC+4, Christian Hammond wrote:
>
> Hi Michael,
>
> Each page has its own URL. Flipping what /r/123/ and /r/123/diff/ points 
> to doesn't really make any sense. 
>
> The e-mails have a link to the review request, so users can always click 
> on those. No need to change the View Diff link. Unless I'm missing 
> something, there's nothing you really need to do differently here except 
> click a different link.
>
> For the dashboard, you'd have to rewrite part of the code to change what 
> the review request summary it links to. It's not something we'd accept 
> upstream. That would be in reviewboard/reviews/datagrids.py.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Mon, Oct 1, 2012 at 10:25 AM, Michael Zhilin 
> > wrote:
>
>> Hi,
>>
>> We use RB since year 2009 and several reviewers requested default tab 
>> configuration. When reviewer opens review request first time, "View Diff" 
>> tab should be opened. Another case is tha when author/reviewer received 
>> email with review and click on link, "View Reviews" tab should be opened. 
>> To implement it, I can't use extensions and will be obliged to hack RB.
>>
>> What do you think about such feature? Could you please advise how it 
>> implement correctly?
>>
>> Thank you in advance,
>>   Michael.
>>
>> --
>> Want to help the Review Board project? Donate today at 
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~---
>> To unsubscribe from this group, send email to 
>> reviewboard...@googlegroups.com 
>> For more options, visit this group at 
>> http://groups.google.com/group/reviewboard?hl=en
>>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Default tab configuration

2012-10-01 Thread Christian Hammond
Hi Michael,

Unfortunately, I can't seem to view anything when clicking that link. I get
an empty document.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Oct 1, 2012 at 2:55 PM, Michael Zhilin  wrote:

> Hi Christian,
>
> Thank you for quick reply and consultation.
>
> I think that my explanation might be misleading. Here is my quick simple
> draft of review process what we use:
>
> http://www.diagram.ly/?share=#5QAsM6HeuLnSY1gW2OXvb5lpTvOm4yaiBG2gGlOEQ7wAq0nnG0
> My idea is to make link to request to be configurable in several cases.
> Administrator will be able to change default tabs in admin interface. This
> feature will minimize clicks / review time and make review process more
> direct.
>
> I'll try to implement it and share results with you.
>
> Best regards,
> Michael
>
> On Tuesday, October 2, 2012 12:40:25 AM UTC+4, Christian Hammond wrote:
>
>> Hi Michael,
>>
>> Each page has its own URL. Flipping what /r/123/ and /r/123/diff/ points
>> to doesn't really make any sense.
>>
>> The e-mails have a link to the review request, so users can always click
>> on those. No need to change the View Diff link. Unless I'm missing
>> something, there's nothing you really need to do differently here except
>> click a different link.
>>
>> For the dashboard, you'd have to rewrite part of the code to change what
>> the review request summary it links to. It's not something we'd accept
>> upstream. That would be in reviewboard/reviews/datagrids.**py.
>>
>> Christian
>>
>> --
>> Christian Hammond - chi...@chipx86.com
>>
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Mon, Oct 1, 2012 at 10:25 AM, Michael Zhilin  wrote:
>>
>>>  Hi,
>>>
>>> We use RB since year 2009 and several reviewers requested default tab
>>> configuration. When reviewer opens review request first time, "View Diff"
>>> tab should be opened. Another case is tha when author/reviewer received
>>> email with review and click on link, "View Reviews" tab should be opened.
>>> To implement it, I can't use extensions and will be obliged to hack RB.
>>>
>>> What do you think about such feature? Could you please advise how it
>>> implement correctly?
>>>
>>> Thank you in advance,
>>>   Michael.
>>>
>>> --
>>> Want to help the Review Board project? Donate today at
>>> http://www.reviewboard.org/**donate/
>>> Happy user? Let us know at 
>>> http://www.reviewboard.org/**users/
>>> -~--~~~~--**~~--~--~---
>>> To unsubscribe from this group, send email to reviewboard...@**
>>> googlegroups.com
>>>
>>> For more options, visit this group at http://groups.google.com/**
>>> group/reviewboard?hl=en
>>>
>>
>>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: How to specify cookie name

2012-10-01 Thread Christian Hammond
Typically, a setup like this involves multiple subdomains.

Clearly the cookies aren't respecting subdirectories. That should be
figured out. We'd need the session stuff to use the SITE_ROOT as the cookie
path.

Changing cookie names won't really help you, because post-review actually
looks specifically for the rbsessionid cookie.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Oct 1, 2012 at 2:25 PM, Michael Zhilin  wrote:

> Hi,
>
> I've installed two instances on same server thanks to virtualenv. But I
> faced issue with cookies. I can't work on both servers simultaneously
> because cookie name and host names are same for both environments. I had
> quick look at setting.py and found out that COOKIE_NAME variable is defined
> after setting_local initialization. If i'm correct, it means that I can't
> override cookie name in setting_local.py files.
>
> Is there another way to specify cookie name? If not, is it defect?
>
> Thank you,
>  Michael
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Internal error - permissions on search-index directory

2012-10-01 Thread Christian Hammond
You can run the same command line that the supplied crontab uses, and run
it as whatever user is configured to run that crontab.

Would you mind filing bugs on those two issues? They should definitely be
fixed, and I don't want to lose track.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Oct 1, 2012 at 2:26 PM, J Arrizza  wrote:

> Thanks!
> Any way to kick off the search index task (or whatever it is that uses
> that directory), so I check the permissions, etc are set correctly?
>
> PS there are a couple more issues, very low priority:
> - clicking on the links in the "System Information" area (lower left hand
> pane) gives me 404 errors, e.g. clicking on "indexed Search": 404 The
> requested URL /admin/settings/general/ was not found on this server.
> - In the System Settings | General tab, there is a "Server:" field. I fill
> it in, click Save, it accepts it and then it blanks the field again.
>
>
> John
>
> On Mon, Oct 1, 2012 at 2:05 PM, Christian Hammond wrote:
>
>> Probably /data/search-index
>>
>>
>> Christian
>>
>> --
>> Christian Hammond - chip...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Mon, Oct 1, 2012 at 1:55 PM, J Arrizza  wrote:
>>
>>> In the General Settings tab, the Enable Search is checked and the search
>>> index directory is:
>>>
>>>
>>> /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/search-index
>>>
>>>
>>> What should it say?
>>>
>>> John
>>>
>>>
>>> On Mon, Oct 1, 2012 at 1:40 PM, Christian Hammond 
>>> wrote:
>>>
 That never should have been the path in the first place. It should be
 in your site's data/ directory. What does the setting for it say?

 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Mon, Oct 1, 2012 at 10:06 AM, J Arrizza  wrote:

> Received this error on Reviewboard 1.7 Beta 1  (see below for the full
> traceback):
>
>   JavaError: java.io.IOException: Cannot create directory:
> /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard/search-index
>
> This was a fresh install (not an upgrade) on to an Ubuntu 10.04
> server.
>
> You can see here the parent directory is owned by root and is part of
> the staff group. So the mkdir should have worked:
>
>
> $ pwd
>
> /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7beta1-py2.6.egg/reviewboard
> $ ls -al
> total 152
> drwxr-sr-x 18 root staff  4096 2012-09-04 08:51 .
> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 ..
> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 accounts
> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 admin
> drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 attachments
> drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 changedescs
> drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 cmdline
> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 diffviewer
> drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 extensions
> drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 hostingsvcs
> drwxr-sr-x  5 root staff  4096 2012-09-04 08:51 htdocs
> -rwxr-xr-x  1 root staff  2382 2012-09-04 08:51 __init__.py
> -rw-r--r--  1 root staff  2781 2012-09-04 08:51 __init__.pyc
> -rwxr-xr-x  1 root staff  6337 2012-09-04 08:51 manage.py
> -rw-r--r--  1 root staff  5205 2012-09-04 08:51 manage.pyc
> -rw-r--r--  1 root staff   179 2012-09-04 08:51 nose.cfg
> drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 notifications
> drwxr-sr-x  7 root staff  4096 2012-09-04 08:51 reviews
> drwxr-sr-x  6 root staff  4096 2012-09-04 08:51 scmtools
> -rwxr-xr-x  1 root staff 10741 2012-09-04 08:51 settings.py
> -rw-r--r--  1 root staff  9540 2012-09-04 08:51 settings.pyc
> -rwxr-xr-x  1 root staff61 2012-09-04 08:51 signals.py
> -rw-r--r--  1 root staff   269 2012-09-04 08:51 signals.pyc
> drwxr-sr-x  4 root staff  4096 2012-09-04 08:51 site
> drwxr-sr-x  3 root staff  4096 2012-09-04 08:51 static
> drwxr-sr-x 11 root staff  4096 2012-09-04 08:51 templates
> -rwxr-xr-x  1 root staff  4774 2012-09-04 08:51 test.py
> -rw-r--r--  1 root staff  4051 2012-09-04 08:51 test.pyc
> -rwxr-xr-x  1 root staff  3876 2012-09-04 08:51 urls.py
> -rw-r--r--  1 root staff  2860 2012-09-04 08:51 urls.pyc
> drwxr-sr-x  2 root staff  4096 2012-09-04 08:51 webapi
>
>
>
> Any suggestions on what I need to do?
>
> John
>
>
>
> ==
>
>
> Traceback (most recent call last):
>
>   File
> "/usr/local/lib/python2.6/dist-packages/Django-1.4.1-py2.6.egg/django/core/handlers/base.py",
> line 111, in get_response
> response = c

Re: Default tab configuration

2012-10-01 Thread Michael Zhilin
Christian,

Sorry for broken link. Please find attached picture file.

Thank you,
 Michael

On Tuesday, October 2, 2012 4:28:23 AM UTC+4, Christian Hammond wrote:
>
> Hi Michael,
>
> Unfortunately, I can't seem to view anything when clicking that link. I 
> get an empty document.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Mon, Oct 1, 2012 at 2:55 PM, Michael Zhilin 
> > wrote:
>
>> Hi Christian,
>>
>> Thank you for quick reply and consultation. 
>>
>> I think that my explanation might be misleading. Here is my quick simple 
>> draft of review process what we use:
>>
>> http://www.diagram.ly/?share=#5QAsM6HeuLnSY1gW2OXvb5lpTvOm4yaiBG2gGlOEQ7wAq0nnG0
>> My idea is to make link to request to be configurable in several cases. 
>> Administrator will be able to change default tabs in admin interface. This 
>> feature will minimize clicks / review time and make review process more 
>> direct.
>>
>> I'll try to implement it and share results with you. 
>>
>> Best regards,
>> Michael
>>
>> On Tuesday, October 2, 2012 12:40:25 AM UTC+4, Christian Hammond wrote:
>>
>>> Hi Michael,
>>>
>>> Each page has its own URL. Flipping what /r/123/ and /r/123/diff/ points 
>>> to doesn't really make any sense. 
>>>
>>> The e-mails have a link to the review request, so users can always click 
>>> on those. No need to change the View Diff link. Unless I'm missing 
>>> something, there's nothing you really need to do differently here except 
>>> click a different link.
>>>
>>> For the dashboard, you'd have to rewrite part of the code to change what 
>>> the review request summary it links to. It's not something we'd accept 
>>> upstream. That would be in reviewboard/reviews/datagrids.**py.
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond - chi...@chipx86.com
>>>
>>> Review Board - http://www.reviewboard.org
>>> VMware, Inc. - http://www.vmware.com
>>>
>>>
>>> On Mon, Oct 1, 2012 at 10:25 AM, Michael Zhilin wrote:
>>>
  Hi,

 We use RB since year 2009 and several reviewers requested default tab 
 configuration. When reviewer opens review request first time, "View Diff" 
 tab should be opened. Another case is tha when author/reviewer received 
 email with review and click on link, "View Reviews" tab should be opened. 
 To implement it, I can't use extensions and will be obliged to hack RB.

 What do you think about such feature? Could you please advise how it 
 implement correctly?

 Thank you in advance,
   Michael.

 --
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/**donate/
 Happy user? Let us know at 
 http://www.reviewboard.org/**users/
 -~--~~~~--**~~--~--~---
 To unsubscribe from this group, send email to reviewboard...@**
 googlegroups.com

 For more options, visit this group at http://groups.google.com/**
 group/reviewboard?hl=en

>>>
>>>  -- 
>> Want to help the Review Board project? Donate today at 
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~---
>> To unsubscribe from this group, send email to 
>> reviewboard...@googlegroups.com 
>> For more options, visit this group at 
>> http://groups.google.com/group/reviewboard?hl=en
>>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en<>