Re: Could you please check the steps to enable reviewboard to display other language?

2012-05-21 Thread Po-Chien Lin
Hi Brant,

The  LANGUAGE_CODE should be in the form: (It is also mentioned in 
settings.py)
http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1

In your case, I think it should be:
LANGUAGE_CODE = 'zh-cn' 

Try it, Good luck :)

- linpc

Brant於 2012年5月17日星期四UTC+8下午3時11分20秒寫道:

 Could anyone please check the steps to enable reviewboard to display 
 other language? 

 Could anyone please check my steps to enable reviewboard to display 
 other language? 
 It doesn't work. 
 Thank you in advanced. 

 Environment: 
 Ubuntu 12.04 LTS 
 python 2.7 
 ReviewBoard: 1.6.6 
 Installed by easy_install 
 English language show well. 
 System default locale: zh_CN.UTF-8 

 My steps to enable it to show zh_CN language: 
 1. Modify following places in /usr/local/lib/python2.7/dist-packages/ 
 ReviewBoard-1.6.6-py2.7.egg/reviewboard/settings.py: 
   (1) LANGUAGE_CODE = 'zh_CN' 
   (2) USE_I18N = True 
LANGUAGES = ( 
  ('zh', _('Chinese')), 
 ) 
 2. Compile settings.py by a python script: 
 import py_compile 

 py_compile.compile(r'/usr/local/lib/python2.7/dist-packages/ 
 ReviewBoard-1.6.6-py2.7.egg/reviewboard/settings.py') 

 3. Under /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.6- 
 py2.7.egg/reviewboard ,run: 
 mkdir -p locale/zh_CN/LC_MESSAGES/ 
 django-admin.py makemessages -l zh_CN 

 Now we got django.po. 

 4. Fill out locale/zh_CN/LC_MESSAGES/django.po with my Chinese 
 translation. 

 5. Under /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.6- 
 py2.7.egg/reviewboard ,run: 
 django-admin.py compilemessages -l zh_CN 

 Now we got django.mo. 

 6. Restart apatch2: 
 apachectl  -k restart 

 7. Refresh ReviewBoard portal. 

 Unfortunately, Nothing happened :( 

 Question 1: 
 1. Could you please point me what should I do with above steps? 

 2. I tried copying /usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3- 
 py2.7.egg/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo 
  to 
  /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.6-py2.7.egg/ 
 reviewboard/locale/zh_CN/LC_MESSAGES/django.mo 
 Then restart apache, now it works partly 
 But after I refresh portal again, it went back to English 
 Do you know why? 

 Thank you very much ~~ 


-- 
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: Do you have any plan for including localization file in your project?

2012-05-21 Thread Po-Chien Lin
I have replied in your post.
已回覆�o您了 :)

-linpc

Brant於 2012年5月19日星期六UTC+8下午11�r03分22秒��道:


 Hi Lin,

 我遇到一个设置ReviewBoard显示中文的问题,您能帮我看一下吗?
 具体的描述是这里:
  https://groups.google.com/d/topic/reviewboard/pXLe06MW5eU/discussion
 没有人帮我
 谢谢您先:)

 Best Regards,
 Brant.


-- 
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: Could you please check the steps to enable reviewboard to display other language?

2012-05-21 Thread Po-Chien Lin
Oh,

I forgot that ``LANGUAGES'' item need also be modified to be the same with 
your ``LANGUAGE_CODE'' setting

LANGUAGE_CODE = 'zh-cn'  
USE_I18N = True
LANGUAGES = ( 
 ('zh-cn', _('Chinese')), 
)  

-linpc

Po-Chien Lin於 2012年5月21日星期一UTC+8下午3時45分35秒寫道:

 Hi Brant,

 The  LANGUAGE_CODE should be in the form: (It is also mentioned in 
 settings.py)
 http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1

 In your case, I think it should be:
 LANGUAGE_CODE = 'zh-cn' 

 Try it, Good luck :)

 - linpc

 Brant於 2012年5月17日星期四UTC+8下午3時11分20秒寫道:

 Could anyone please check the steps to enable reviewboard to display 
 other language? 

 Could anyone please check my steps to enable reviewboard to display 
 other language? 
 It doesn't work. 
 Thank you in advanced. 

 Environment: 
 Ubuntu 12.04 LTS 
 python 2.7 
 ReviewBoard: 1.6.6 
 Installed by easy_install 
 English language show well. 
 System default locale: zh_CN.UTF-8 

 My steps to enable it to show zh_CN language: 
 1. Modify following places in /usr/local/lib/python2.7/dist-packages/ 
 ReviewBoard-1.6.6-py2.7.egg/reviewboard/settings.py: 
   (1) LANGUAGE_CODE = 'zh_CN' 
   (2) USE_I18N = True 
LANGUAGES = ( 
  ('zh', _('Chinese')), 
 ) 
 2. Compile settings.py by a python script: 
 import py_compile 

 py_compile.compile(r'/usr/local/lib/python2.7/dist-packages/ 
 ReviewBoard-1.6.6-py2.7.egg/reviewboard/settings.py') 

 3. Under /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.6- 
 py2.7.egg/reviewboard ,run: 
 mkdir -p locale/zh_CN/LC_MESSAGES/ 
 django-admin.py makemessages -l zh_CN 

 Now we got django.po. 

 4. Fill out locale/zh_CN/LC_MESSAGES/django.po with my Chinese 
 translation. 

 5. Under /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.6- 
 py2.7.egg/reviewboard ,run: 
 django-admin.py compilemessages -l zh_CN 

 Now we got django.mo. 

 6. Restart apatch2: 
 apachectl  -k restart 

 7. Refresh ReviewBoard portal. 

 Unfortunately, Nothing happened :( 

 Question 1: 
 1. Could you please point me what should I do with above steps? 

 2. I tried copying /usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3- 
 py2.7.egg/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo 
  to 
  /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.6-py2.7.egg/ 
 reviewboard/locale/zh_CN/LC_MESSAGES/django.mo 
 Then restart apache, now it works partly 
 But after I refresh portal again, it went back to English 
 Do you know why? 

 Thank you very much ~~ 



-- 
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: Could you please check the steps to enable reviewboard to display other language?

2012-05-21 Thread Po-Chien Lin
Oh,

I forgot that ``LANGUAGES'' item need also be modified to be the same with 
your ``LANGUAGE_CODE'' setting

LANGUAGE_CODE = 'zh-cn'  
USE_I18N = True
LANGUAGES = ( 
 ('zh-cn', _('Chinese')), 
)  

But keep your django.po file under ``locale/zh_CN/LC_MESSAGES/'' as you 
already did.

-linpc

Po-Chien Lin於 2012年5月21日星期一UTC+8下午3時45分35秒寫道:

 Hi Brant,

 The  LANGUAGE_CODE should be in the form: (It is also mentioned in 
 settings.py)
 http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1

 In your case, I think it should be:
 LANGUAGE_CODE = 'zh-cn' 

 Try it, Good luck :)

 - linpc

 Brant於 2012年5月17日星期四UTC+8下午3時11分20秒寫道:

 Could anyone please check the steps to enable reviewboard to display 
 other language? 

 Could anyone please check my steps to enable reviewboard to display 
 other language? 
 It doesn't work. 
 Thank you in advanced. 

 Environment: 
 Ubuntu 12.04 LTS 
 python 2.7 
 ReviewBoard: 1.6.6 
 Installed by easy_install 
 English language show well. 
 System default locale: zh_CN.UTF-8 

 My steps to enable it to show zh_CN language: 
 1. Modify following places in /usr/local/lib/python2.7/dist-packages/ 
 ReviewBoard-1.6.6-py2.7.egg/reviewboard/settings.py: 
   (1) LANGUAGE_CODE = 'zh_CN' 
   (2) USE_I18N = True 
LANGUAGES = ( 
  ('zh', _('Chinese')), 
 ) 
 2. Compile settings.py by a python script: 
 import py_compile 

 py_compile.compile(r'/usr/local/lib/python2.7/dist-packages/ 
 ReviewBoard-1.6.6-py2.7.egg/reviewboard/settings.py') 

 3. Under /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.6- 
 py2.7.egg/reviewboard ,run: 
 mkdir -p locale/zh_CN/LC_MESSAGES/ 
 django-admin.py makemessages -l zh_CN 

 Now we got django.po. 

 4. Fill out locale/zh_CN/LC_MESSAGES/django.po with my Chinese 
 translation. 

 5. Under /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.6- 
 py2.7.egg/reviewboard ,run: 
 django-admin.py compilemessages -l zh_CN 

 Now we got django.mo. 

 6. Restart apatch2: 
 apachectl  -k restart 

 7. Refresh ReviewBoard portal. 

 Unfortunately, Nothing happened :( 

 Question 1: 
 1. Could you please point me what should I do with above steps? 

 2. I tried copying /usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3- 
 py2.7.egg/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo 
  to 
  /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.6-py2.7.egg/ 
 reviewboard/locale/zh_CN/LC_MESSAGES/django.mo 
 Then restart apache, now it works partly 
 But after I refresh portal again, it went back to English 
 Do you know why? 

 Thank you very much ~~ 



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

Reviewboard upgrade database compatibility

2012-05-21 Thread virtualAdmin
Hi all,

In the next few weeks I'll be migrating our company's Reviewboard
installation.  We're currently running RB 1.5.5 backed by MySQL
(MyISAM), but I'd really like to install the current version of RB on
our new server.  Should this be a no-hassle database transition?  As
in, install Reviewboard 1.6.6, migrate the database, and that's it?

On a  related note, is the install process any easier for newer
versions of Reviewboard?  I know this is highly subjective and
determined by a lot of factors, but getting 1.5.5 loaded up took a lot
of time and effort for me, and I would be inclined to use the version
with the easiest installation process.

Thanks for all your hard work!

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


Reviewboard 1.6.5 problem

2012-05-21 Thread Florian Leibert
Hi,
I created a diff (the current revision and some previous version),
uploaded the diff while creating a new review request. Then, I
committed my revision locally. Later after a review, i went ahead and
updated the diff via the web ui, i.e. locally i did a git diff --full-
index  foo.diff.
Uploading the diff succeeds but I get the cryptic error below - what
went wrong?

Thanks,
Florian


The patch to 'installer' didn't apply cleanly. The temporary files
have been left in '/tmp/reviewboard.S_QiA8' for debugging purposes.
`patch` returned: patching file /tmp/reviewboard.S_QiA8/tmp0ffY9y Hunk
#1 FAILED at 101. 1 out of 1 hunk FAILED -- saving rejects to file /
tmp/reviewboard.S_QiA8/tmp0ffY9y-new.rej

Traceback (most recent call last):
  File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-
py2.7.egg/reviewboard/diffviewer/views.py, line 151, in view_diff
interdiffset, highlighting, True)
  File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-
py2.7.egg/reviewboard/diffviewer/diffutils.py, line 1072, in
get_diff_files
large_data=True)
  File /usr/local/lib/python2.7/dist-packages/Djblets-0.6.16-
py2.7.egg/djblets/util/misc.py, line 157, in cache_memoize
data = lookup_callable()
  File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-
py2.7.egg/reviewboard/diffviewer/diffutils.py, line 1071, in lambda
enable_syntax_highlighting)),
  File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-
py2.7.egg/reviewboard/diffviewer/diffutils.py, line 553, in
get_chunks
new = get_patched_file(old, filediff)
  File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-
py2.7.egg/reviewboard/diffviewer/diffutils.py, line 375, in
get_patched_file
return patch(filediff.diff, buffer, filediff.dest_file)
  File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-
py2.7.egg/reviewboard/diffviewer/diffutils.py, line 243, in patch
(filename, tempdir, patch_output))
Exception: The patch to 'installer' didn't apply cleanly. The
temporary files have been left in '/tmp/reviewboard.S_QiA8' for
debugging purposes.
`patch` returned: patching file /tmp/reviewboard.S_QiA8/tmp0ffY9y
Hunk #1 FAILED at 101.
1 out of 1 hunk FAILED -- saving rejects to file /tmp/
reviewboard.S_QiA8/tmp0ffY9y-new.rej

-- 
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: Reviewboard upgrade database compatibility

2012-05-21 Thread Christian Hammond
Hi,

The upgrade should go pretty smoothly. I of course recommend backing up the
site directory and database first, but it should just be a matter of
upgrading the ReviewBoard package, running 'rb-site upgrade' on the site
directory, and restarting the server.

How hard RB is to install depends greatly on the OS/distro, and greatly on
what packages are shipped with it. Review Board *itself* is easy to
install, but the dependencies make it hard. Aside from providing our own
package repositories for every version of every distro people use with
every dependency we require, there's unfortunately not a lot we can do
about this :(

Generally, I recommend installing on Ubuntu or a modern Fedora, as these
are the easiest to get going on. Installing on these distros in a VM is
popular option. That way, you'll have every dependency you need right there
in the package repository, and in the case of Fedora, there's actually a
ReviewBoard package you can use directly.

Christian

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


On Mon, May 21, 2012 at 8:24 AM, virtualAdmin mrcul...@gmail.com wrote:

 Hi all,

 In the next few weeks I'll be migrating our company's Reviewboard
 installation.  We're currently running RB 1.5.5 backed by MySQL
 (MyISAM), but I'd really like to install the current version of RB on
 our new server.  Should this be a no-hassle database transition?  As
 in, install Reviewboard 1.6.6, migrate the database, and that's it?

 On a  related note, is the install process any easier for newer
 versions of Reviewboard?  I know this is highly subjective and
 determined by a lot of factors, but getting 1.5.5 loaded up took a lot
 of time and effort for me, and I would be inclined to use the version
 with the easiest installation process.

 Thanks for all your hard work!

 --
 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: Reviewboard 1.6.5 problem

2012-05-21 Thread Christian Hammond
Hi Florian,

After the review, I assume you made some changes that were either left in
the index or committed to another commit, right? You must make sure that
the diff is going to cover changes made since an upstream revision (such as
origin/master..HEAD), rather than just what's in the index or in the latest
commit or whatever.

That's usually the cause of the error you're using.

I recommend using the post-review tool, as it automates that for you.

Christian

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


On Mon, May 21, 2012 at 12:35 PM, Florian Leibert f...@leibert.de wrote:

 Hi,
 I created a diff (the current revision and some previous version),
 uploaded the diff while creating a new review request. Then, I
 committed my revision locally. Later after a review, i went ahead and
 updated the diff via the web ui, i.e. locally i did a git diff --full-
 index  foo.diff.
 Uploading the diff succeeds but I get the cryptic error below - what
 went wrong?

 Thanks,
 Florian


 The patch to 'installer' didn't apply cleanly. The temporary files
 have been left in '/tmp/reviewboard.S_QiA8' for debugging purposes.
 `patch` returned: patching file /tmp/reviewboard.S_QiA8/tmp0ffY9y Hunk
 #1 FAILED at 101. 1 out of 1 hunk FAILED -- saving rejects to file /
 tmp/reviewboard.S_QiA8/tmp0ffY9y-new.rej

 Traceback (most recent call last):
  File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-
 py2.7.egg/reviewboard/diffviewer/views.py, line 151, in view_diff
interdiffset, highlighting, True)
  File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-
 py2.7.egg/reviewboard/diffviewer/diffutils.py, line 1072, in
 get_diff_files
large_data=True)
  File /usr/local/lib/python2.7/dist-packages/Djblets-0.6.16-
 py2.7.egg/djblets/util/misc.py, line 157, in cache_memoize
data = lookup_callable()
  File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-
 py2.7.egg/reviewboard/diffviewer/diffutils.py, line 1071, in lambda
enable_syntax_highlighting)),
  File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-
 py2.7.egg/reviewboard/diffviewer/diffutils.py, line 553, in
 get_chunks
new = get_patched_file(old, filediff)
  File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-
 py2.7.egg/reviewboard/diffviewer/diffutils.py, line 375, in
 get_patched_file
return patch(filediff.diff, buffer, filediff.dest_file)
  File /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-
 py2.7.egg/reviewboard/diffviewer/diffutils.py, line 243, in patch
(filename, tempdir, patch_output))
 Exception: The patch to 'installer' didn't apply cleanly. The
 temporary files have been left in '/tmp/reviewboard.S_QiA8' for
 debugging purposes.
 `patch` returned: patching file /tmp/reviewboard.S_QiA8/tmp0ffY9y
 Hunk #1 FAILED at 101.
 1 out of 1 hunk FAILED -- saving rejects to file /tmp/
 reviewboard.S_QiA8/tmp0ffY9y-new.rej

 --
 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: Reviewboard upgrade database compatibility

2012-05-21 Thread virtualAdmin
Our new server will run RB in its own VM, so I'll probably use Fedora
for that.  Also, it's actually a completely new server, so what I was
really asking was, can I install Reviewboard 1.6.6 fresh on a new OS,
then immediately import my Reviewboard database from the 1.5.5
install?  Or do I need to, as you said, run 'rb-site upgrade' on the
old installation, in order to make the database compatible with the
new 1.6.6 software?

On May 21, 3:36 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi,

 The upgrade should go pretty smoothly. I of course recommend backing up the
 site directory and database first, but it should just be a matter of
 upgrading the ReviewBoard package, running 'rb-site upgrade' on the site
 directory, and restarting the server.

 How hard RB is to install depends greatly on the OS/distro, and greatly on
 what packages are shipped with it. Review Board *itself* is easy to
 install, but the dependencies make it hard. Aside from providing our own
 package repositories for every version of every distro people use with
 every dependency we require, there's unfortunately not a lot we can do
 about this :(

 Generally, I recommend installing on Ubuntu or a modern Fedora, as these
 are the easiest to get going on. Installing on these distros in a VM is
 popular option. That way, you'll have every dependency you need right there
 in the package repository, and in the case of Fedora, there's actually a
 ReviewBoard package you can use directly.

 Christian

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







 On Mon, May 21, 2012 at 8:24 AM, virtualAdmin mrcul...@gmail.com wrote:
  Hi all,

  In the next few weeks I'll be migrating our company's Reviewboard
  installation.  We're currently running RB 1.5.5 backed by MySQL
  (MyISAM), but I'd really like to install the current version of RB on
  our new server.  Should this be a no-hassle database transition?  As
  in, install Reviewboard 1.6.6, migrate the database, and that's it?

  On a  related note, is the install process any easier for newer
  versions of Reviewboard?  I know this is highly subjective and
  determined by a lot of factors, but getting 1.5.5 loaded up took a lot
  of time and effort for me, and I would be inclined to use the version
  with the easiest installation process.

  Thanks for all your hard work!

  --
  Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
  Happy user? Let us know athttp://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: Reviewboard upgrade database compatibility

2012-05-21 Thread Christian Hammond
You should be able to copy over the 1.5 database and site directory to the
new server and then do the site upgrade. Just make sure you're copying over
the database exactly, as in SQL dump/load or something. Don't create a new
1.6 database and then try to import the data.

Christian

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


On Mon, May 21, 2012 at 12:51 PM, virtualAdmin mrcul...@gmail.com wrote:

 Our new server will run RB in its own VM, so I'll probably use Fedora
 for that.  Also, it's actually a completely new server, so what I was
 really asking was, can I install Reviewboard 1.6.6 fresh on a new OS,
 then immediately import my Reviewboard database from the 1.5.5
 install?  Or do I need to, as you said, run 'rb-site upgrade' on the
 old installation, in order to make the database compatible with the
 new 1.6.6 software?

 On May 21, 3:36 pm, Christian Hammond chip...@chipx86.com wrote:
  Hi,
 
  The upgrade should go pretty smoothly. I of course recommend backing up
 the
  site directory and database first, but it should just be a matter of
  upgrading the ReviewBoard package, running 'rb-site upgrade' on the site
  directory, and restarting the server.
 
  How hard RB is to install depends greatly on the OS/distro, and greatly
 on
  what packages are shipped with it. Review Board *itself* is easy to
  install, but the dependencies make it hard. Aside from providing our own
  package repositories for every version of every distro people use with
  every dependency we require, there's unfortunately not a lot we can do
  about this :(
 
  Generally, I recommend installing on Ubuntu or a modern Fedora, as these
  are the easiest to get going on. Installing on these distros in a VM is
  popular option. That way, you'll have every dependency you need right
 there
  in the package repository, and in the case of Fedora, there's actually a
  ReviewBoard package you can use directly.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
 
 
 
 
 
 
  On Mon, May 21, 2012 at 8:24 AM, virtualAdmin mrcul...@gmail.com
 wrote:
   Hi all,
 
   In the next few weeks I'll be migrating our company's Reviewboard
   installation.  We're currently running RB 1.5.5 backed by MySQL
   (MyISAM), but I'd really like to install the current version of RB on
   our new server.  Should this be a no-hassle database transition?  As
   in, install Reviewboard 1.6.6, migrate the database, and that's it?
 
   On a  related note, is the install process any easier for newer
   versions of Reviewboard?  I know this is highly subjective and
   determined by a lot of factors, but getting 1.5.5 loaded up took a lot
   of time and effort for me, and I would be inclined to use the version
   with the easiest installation process.
 
   Thanks for all your hard work!
 
   --
   Want to help the Review Board project? Donate today at
  http://www.reviewboard.org/donate/
   Happy user? Let us know athttp://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


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

Windows installation: Creating a Review Board Site

2012-05-21 Thread mark.har...@arcinnovations.co.nz
Hello,

I'm trying to install ReviewBoard on a Windows machine for evaluation.
After fighting my way through the Windows installation, which may or
may not have been successful, I then moved through to the Creating a
Review Board Site section (http://www.reviewboard.org/docs/manual/1.6/
admin/installation/creating-sites/#creating-sites).

When I try and run the rb-site install command (rb-site install /
var/www/reviews.example.com), I get the following error:

[!] Unable to create the /var/www/reviews.example.com directory. Make
sure you're running as an administrator and that the directory does
not contain any files.

The directory does not exist and I am running the script as an
administrator. Can anyone suggest a solution to this issue, please?

Thanks for any assistance.

-- 
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: Windows installation: Creating a Review Board Site

2012-05-21 Thread Christian Hammond
Hi Mark,

I generally recommend people do not try to install on Windows, as it's much
more painful to get set up and maintained, and it's typically slower. If
you're a Windows shop, I recommend using an Ubuntu or Fedora VM on
something like VMware Workstation or some other product.

That said, I don't have any real idea why you're hitting that specific
error, except that that error is a direct response to us attempting to
create and then remove a directory and hitting an error in doing so. One
thing you could try doing is to edit the reviewboard/cmdline/rbsite.py
file, look for the check_permissions function, and add some print
debugging to figure out how far it's getting. Maybe change the:

except OSError:

to:

except OSError, e:
print e

You may get more information as to which operation is failing.

Christian

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


On Mon, May 21, 2012 at 3:11 PM, mark.har...@arcinnovations.co.nz 
mark.har...@arcinnovations.co.nz wrote:

 Hello,

 I'm trying to install ReviewBoard on a Windows machine for evaluation.
 After fighting my way through the Windows installation, which may or
 may not have been successful, I then moved through to the Creating a
 Review Board Site section (http://www.reviewboard.org/docs/manual/1.6/
 admin/installation/creating-sites/#creating-siteshttp://www.reviewboard.org/docs/manual/1.6/%0Aadmin/installation/creating-sites/#creating-sites
 ).

 When I try and run the rb-site install command (rb-site install /
 var/www/reviews.example.com), I get the following error:

 [!] Unable to create the /var/www/reviews.example.com directory. Make
 sure you're running as an administrator and that the directory does
 not contain any files.

 The directory does not exist and I am running the script as an
 administrator. Can anyone suggest a solution to this issue, please?

 Thanks for any assistance.

 --
 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: Windows installation: Creating a Review Board Site

2012-05-21 Thread mark.har...@arcinnovations.co.nz
 Thanks for any assistance.

I should add that I'm attempting to install version 1.6 on Windows via
this link:

http://www.reviewboard.org/docs/manual/1.6/admin/installation/windows/


Thanks.

-- 
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: Windows installation: Creating a Review Board Site

2012-05-21 Thread mark.har...@arcinnovations.co.nz
 You may get more information as to which operation is failing.

The error is as follows:

[Error 3] The system cannot find the path specified: '\\var\\www\
\reviews.example.com'

Thanks.

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


Issue 2606 in reviewboard: post-review can't get repository infomation.

2012-05-21 Thread reviewboard

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 2606 by rajen...@gmail.com: post-review can't get repository  
infomation.

http://code.google.com/p/reviewboard/issues/detail?id=2606

* NOTE: Do not post confidential information in this bug report. *
*   If you need immediate support, please contact*
*   reviewbo...@googlegroups.com *

What version are you running?
 - ReviewBoard-1.6.6-py2.6

What's the URL of the page containing the problem?
 - I had registered repository of clearcase in ReviewBoard. But Repository  
infomation don't be called. result of debug



What steps will reproduce the problem?
1. To register repository of clearcase in site.
2. You input url. (http://site-name/api/repositories/1/
3.

What is the expected output? What do you see instead?
 - expected output : repository infomation. (xml file)
   But don't response infomation.

What operating system are you using? What browser?
 - CentOS 6.2, Apache 2, mod_wsgi

Please provide any additional information below.
 - Exception was occurred from Reviewboard/scmtool/clearcase.py

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Issue 2445 in reviewboard: Unable to 'View Diff' when using with RhodeCode for mercurial repositories

2012-05-21 Thread reviewboard


Comment #17 on issue 2445 by vairavan...@ciinow.com: Unable to 'View Diff'  
when using with RhodeCode for mercurial repositories

http://code.google.com/p/reviewboard/issues/detail?id=2445

Awesome! Thank you so much Mike.  I'm going to try your patch now!

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Issue 2606 in reviewboard: post-review can't get repository infomation.

2012-05-21 Thread reviewboard

Updates:
Status: NeedInfo

Comment #1 on issue 2606 by trowb...@gmail.com: post-review can't get  
repository infomation.

http://code.google.com/p/reviewboard/issues/detail?id=2606

Please include the exception here.

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Issue 2606 in reviewboard: post-review can't get repository infomation.

2012-05-21 Thread reviewboard


Comment #2 on issue 2606 by rajen...@gmail.com: post-review can't get  
repository infomation.

http://code.google.com/p/reviewboard/issues/detail?id=2606

Exception is REPO_INFO_ERROR. Python can't call cleartool.exe from  
subprocess.popen().


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.