reviewboard + git

2015-07-29 Thread spronyuk


Hi guys!

Now I implementing a reviewboard and git in our company (now we used svn).

I have one question about creating a new review requests in reviewboard.
When I choose repository (type: svn), I see some form below, like this:

https://lh3.googleusercontent.com/-xzH837oupdQ/VbjhLWzhFNI/AAM/ERhiqq8usdg/s1600/1.jpg



There (in this form) I can choose folder with all commits and then I can 
create a new review request from selected commit. It is very easy for users.

But! When I choose repository (type: git), I don`t see this form below.
Does reviewboard have this feature (form) for git types or no?
If no, how should I create a new review request in reviewboard for my 
necessary commit? I want to create it via reviewboard web. It would be also 
easy for users.

Thanks.

-- 
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: Manual server updates required - Permission problems

2015-07-29 Thread miket
 

Maybe not as specific as it should be, but:


chcon -Rv --type=httpd_sys_content_t /var/www/ 
semanage fcontext -a -t httpd_sys_rw_content_t /var/www(/.*)?
semanage fcontext -a -t httpd_sys_rw_content_t 
/var/www/codereview.iacc.dis.gov(/.*)?
semanage fcontext -a -t httpd_sys_rw_content_t 
/var/www/codereview.iacc.dis.gov/data/(/.*)?
semanage fcontext -a -t httpd_sys_rw_content_t 
/var/www/codereview.iacc.dis.gov/htdocs/media/ext(/.*)?
semanage fcontext -a -t httpd_sys_rw_content_t 
/var/www/codereview.iacc.dis.gov/htdocs/static/ext(/.*)?
restorecon -R -v /var/www/


On Tuesday, June 25, 2013 at 11:27:06 AM UTC-5, Stephen Gallagher wrote:

 On 06/25/2013 12:24 PM, Matthew Woehlke wrote: 
  On 2013-06-25 07:48, Stephen Gallagher wrote: 
  Yeah, my TODO list includes working up some SELinux rules for 
  ReviewBoard and getting rb-site to be capable of setting them up during 
  installation. It's a pretty big task and low on my priority list right 
  now, unfortunately. 
  
  Heh. I'm running with SELinux enabled. I can probably dig up the 
  relevant *compiled* rules if those are of any use. I think I deleted the 
  'source' files for them, however. (Yeah, bad decision in retrospect, but 
  haven't gotten around to trying to recreate them.) 
  
  I don't think there are actually very many (maybe four, but at least one 
  is git specific; probably need additional rules for other VCS's). 
  

 If you can figure out what they are, it would be a great start for me. 

 I don't necessarily just need exception rules, though. We may want to 
 introduce new SELinux types for rules so we keep things constrained. 
 (Though since basically everything runs inside apache/mod_wsgi, we're 
 probably going to end up mostly using apache rules). 


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


Issue 3934 in reviewboard: Allow admins to configure the default repository

2015-07-29 Thread reviewboard

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

New issue 3934 by erik.l...@gmail.com: Allow admins to configure the  
default repository

https://code.google.com/p/reviewboard/issues/detail?id=3934

*** For customer support, please post to reviewbo...@googlegroups.com
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** Do not post confidential information in this enhancement request!


What version are you running?
2.0.17

What's the URL of the page this enhancement relates to, if any?
Relates to:  
http://reviewboard.sonos.com/reviews/admin/db/scmtools/repository/


Describe the enhancement and the motivation for it.
It seems that Reviewboard configures a default repository where you can  
submit review requests and not have them linked to any configured SCM repo.  
However, users that do this have complained that when they enter bug IDs,  
they are not hyperlinked like they are when using the Perforce SCM repo.  
This is because we created the Perforce SCM repo and configured a custom  
bug tracker and URL. My feature request is to make it so we can configure  
the default repo (i.e. the one when a user selects no repository via the  
webUI) so we can add a custom bug tracker.



What operating system are you using? What browser?
OS X, Safari

Please provide any additional information below.
It may also be nice to be able to disable the default repository because  
I'm not even sure if in our environment, users should be posting a review  
that isn't tied to an SCM.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Server 2.0.18: unable to reset password

2015-07-29 Thread Renu kumar Setty
not at all. Thanks!

-Renu

On Thursday, 30 July 2015 03:47:52 UTC+5:30, David Trowbridge wrote:

 Are you sure you're not using the X509 backend (or some custom 
 authentication backend)?

 -David

 On Wed, Jul 29, 2015 at 3:16 PM, Renu kumar Setty renukum...@gmail.com 
 javascript: wrote:

 For now users are created and authenticated via ReviewBoard's user 
 management. 

 -Renu

 On Thursday, 30 July 2015 00:07:31 UTC+5:30, David Trowbridge wrote:

 What authentication backend are you using?

 -David
 On Wed, Jul 29, 2015 at 4:36 AM Renu kumar Setty renukum...@gmail.com 
 wrote:

 Hello Barret,

 thanks for looking into this, please find below logs snippet:

   File 
 /usr/lib/python2.6/site-packages/ReviewBoard-2.0.18-py2.6.egg/reviewboard/accounts/forms/pages.py,
  
 line 121, in clean_old_password
 if not backend.authenticate(self.user.username, password):
 TypeError: authenticate() takes at most 2 arguments (3 given)

 do you think I need to update on dependencies like python or django? 

 regards
 Renu

 On Friday, 24 July 2015 22:25:50 UTC+5:30, Barret Rennie wrote:

 Hey there,

 I’m unable to reproduce this on a fresh install of 2.0.18. Can you get 
 the Review Board logs that correspond to the 500?

 Regards,
 Barret

 On Fri, Jul 24, 2015 at 7:04 AM, Renu kumar Setty renukum...@gmail.com
  wrote:

 Review server: 2.0.18

 I am unable to reset password from 'My account', it comes out with 
 error:

 Something broke! (Error 500)

 It appears something broke when you tried to go to here. This is 
 either a bug in Review Board or a server configuration error. Please 
 report 
 this to your administrator.


 Is this a known issue? do we have a workaround?


 any help is highly appreciated!


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

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


Re: Server 2.0.18: unable to reset password

2015-07-29 Thread Renu kumar Setty
For now users are created and authenticated via ReviewBoard's user 
management. 

-Renu

On Thursday, 30 July 2015 00:07:31 UTC+5:30, David Trowbridge wrote:

 What authentication backend are you using?

 -David
 On Wed, Jul 29, 2015 at 4:36 AM Renu kumar Setty renukum...@gmail.com 
 javascript: wrote:

 Hello Barret,

 thanks for looking into this, please find below logs snippet:

   File 
 /usr/lib/python2.6/site-packages/ReviewBoard-2.0.18-py2.6.egg/reviewboard/accounts/forms/pages.py,
  
 line 121, in clean_old_password
 if not backend.authenticate(self.user.username, password):
 TypeError: authenticate() takes at most 2 arguments (3 given)

 do you think I need to update on dependencies like python or django? 

 regards
 Renu

 On Friday, 24 July 2015 22:25:50 UTC+5:30, Barret Rennie wrote:

 Hey there,

 I’m unable to reproduce this on a fresh install of 2.0.18. Can you get 
 the Review Board logs that correspond to the 500?

 Regards,
 Barret

 On Fri, Jul 24, 2015 at 7:04 AM, Renu kumar Setty renukum...@gmail.com 
 wrote:

 Review server: 2.0.18

 I am unable to reset password from 'My account', it comes out with 
 error:

 Something broke! (Error 500)

 It appears something broke when you tried to go to here. This is either 
 a bug in Review Board or a server configuration error. Please report this 
 to your administrator.


 Is this a known issue? do we have a workaround?


 any help is highly appreciated!


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

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


Re: Server 2.0.18: unable to reset password

2015-07-29 Thread David Trowbridge
Are you sure you're not using the X509 backend (or some custom
authentication backend)?

-David

On Wed, Jul 29, 2015 at 3:16 PM, Renu kumar Setty renukumar.se...@gmail.com
 wrote:

 For now users are created and authenticated via ReviewBoard's user
 management.

 -Renu

 On Thursday, 30 July 2015 00:07:31 UTC+5:30, David Trowbridge wrote:

 What authentication backend are you using?

 -David
 On Wed, Jul 29, 2015 at 4:36 AM Renu kumar Setty renukum...@gmail.com
 wrote:

 Hello Barret,

 thanks for looking into this, please find below logs snippet:

   File
 /usr/lib/python2.6/site-packages/ReviewBoard-2.0.18-py2.6.egg/reviewboard/accounts/forms/pages.py,
 line 121, in clean_old_password
 if not backend.authenticate(self.user.username, password):
 TypeError: authenticate() takes at most 2 arguments (3 given)

 do you think I need to update on dependencies like python or django?

 regards
 Renu

 On Friday, 24 July 2015 22:25:50 UTC+5:30, Barret Rennie wrote:

 Hey there,

 I’m unable to reproduce this on a fresh install of 2.0.18. Can you get
 the Review Board logs that correspond to the 500?

 Regards,
 Barret

 On Fri, Jul 24, 2015 at 7:04 AM, Renu kumar Setty renukum...@gmail.com
 wrote:

 Review server: 2.0.18

 I am unable to reset password from 'My account', it comes out with
 error:

 Something broke! (Error 500)

 It appears something broke when you tried to go to here. This is
 either a bug in Review Board or a server configuration error. Please 
 report
 this to your administrator.


 Is this a known issue? do we have a workaround?


 any help is highly appreciated!


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

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


Re: Server 2.0.18: unable to reset password

2015-07-29 Thread David Trowbridge
What authentication backend are you using?

-David
On Wed, Jul 29, 2015 at 4:36 AM Renu kumar Setty renukumar.se...@gmail.com
wrote:

 Hello Barret,

 thanks for looking into this, please find below logs snippet:

   File
 /usr/lib/python2.6/site-packages/ReviewBoard-2.0.18-py2.6.egg/reviewboard/accounts/forms/pages.py,
 line 121, in clean_old_password
 if not backend.authenticate(self.user.username, password):
 TypeError: authenticate() takes at most 2 arguments (3 given)

 do you think I need to update on dependencies like python or django?

 regards
 Renu

 On Friday, 24 July 2015 22:25:50 UTC+5:30, Barret Rennie wrote:

 Hey there,

 I’m unable to reproduce this on a fresh install of 2.0.18. Can you get
 the Review Board logs that correspond to the 500?

 Regards,
 Barret

 On Fri, Jul 24, 2015 at 7:04 AM, Renu kumar Setty renukum...@gmail.com
 wrote:

 Review server: 2.0.18

 I am unable to reset password from 'My account', it comes out with error:

 Something broke! (Error 500)

 It appears something broke when you tried to go to here. This is either
 a bug in Review Board or a server configuration error. Please report this
 to your administrator.


 Is this a known issue? do we have a workaround?


 any help is highly appreciated!


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

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


Re: Unable to generate static files for rbseverity-0.5.1-py2.6.egg from source (rbseverity-0.5.1.tar.gz)

2015-07-29 Thread Christian Hammond
Hi Rahul,

That's odd. It should be erroring out if it can't build those files.

What version of Review Board are you using? Also, what versions of uglify
and lessc?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - https://www.reviewboard.org
Beanbag, Inc. - https://www.beanbaginc.com

On Wed, Jul 29, 2015 at 4:46 AM, rahul emmatty rahulb1...@gmail.com wrote:

 Hi,

 I am trying to generate / build rbseverity plugin (.egg file from
 source) from reviewboard repository.
 The Issue is I am not able to generate the static files.
 Which is available at precreated .egg file at


 http://downloads.reviewboard.org/releases/rbseverity/0.5/rbseverity-0.5.1-py2.6.egg#md5=c24aef5b7a936bddf0c10421722ba066

 I am able to find that the following files not being packaged in .egg
 file that I generate.

 rbseverity/static/css/default.min.5c83bc65f5a0.css
 rbseverity/static/css/default.min.css
 rbseverity/static/css/severity.69eada437e3f.less
 rbseverity/static/css/severity.less
 rbseverity/static/js/severity-review.min.e090c3e5966d.js
 rbseverity/static/js/severity-review.min.js
 rbseverity/static/js/severity.cb7ba5458d93.js
 rbseverity/static/js/severity.js

 For generating .egg I am using the below commands

  python setup.py bdist_egg
 running bdist_egg
 running egg_info
 writing rbseverity.egg-info/PKG-INFO
 writing top-level names to rbseverity.egg-info/top_level.txt
 writing dependency_links to rbseverity.egg-info/dependency_links.txt
 writing entry points to rbseverity.egg-info/entry_points.txt
 reading manifest file 'rbseverity.egg-info/SOURCES.txt'
 writing manifest file 'rbseverity.egg-info/SOURCES.txt'
 installing library code to build/bdist.linux-x86_64/egg
 running install_lib
 running build_py
 running build_static_files
 /usr/lib64/python2.6/site-packages/djblets/extensions/packaging.py:147:
 DeprecationWarning: Parameters to load are deprecated.  Call .resolve
 and .require separately.
   extension = entrypoint.load(require=False)
 creating build
 creating build/lib
 creating build/lib/rbseverity
 copying rbseverity/__init__.py - build/lib/rbseverity
 copying rbseverity/extension.py - build/lib/rbseverity
 creating build/bdist.linux-x86_64
 creating build/bdist.linux-x86_64/egg
 creating build/bdist.linux-x86_64/egg/rbseverity
 copying build/lib/rbseverity/__init__.py -
 build/bdist.linux-x86_64/egg/rbseverity
 copying build/lib/rbseverity/extension.py -
 build/bdist.linux-x86_64/egg/rbseverity
 byte-compiling build/bdist.linux-x86_64/egg/rbseverity/__init__.py to
 __init__.pyc
 byte-compiling build/bdist.linux-x86_64/egg/rbseverity/extension.py to
 extension.pyc
 creating build/bdist.linux-x86_64/egg/EGG-INFO
 copying rbseverity.egg-info/PKG-INFO -
 build/bdist.linux-x86_64/egg/EGG-INFO
 copying rbseverity.egg-info/SOURCES.txt -
 build/bdist.linux-x86_64/egg/EGG-INFO
 copying rbseverity.egg-info/dependency_links.txt -
 build/bdist.linux-x86_64/egg/EGG-INFO
 copying rbseverity.egg-info/entry_points.txt -
 build/bdist.linux-x86_64/egg/EGG-INFO
 copying rbseverity.egg-info/not-zip-safe -
 build/bdist.linux-x86_64/egg/EGG-INFO
 copying rbseverity.egg-info/top_level.txt -
 build/bdist.linux-x86_64/egg/EGG-INFO
 creating dist
 creating 'dist/rbseverity-0.5.1-py2.6.egg' and adding
 'build/bdist.linux-x86_64/egg' to it
 removing 'build/bdist.linux-x86_64/egg' (and everything under it)

 I would like to know If I am missing something out here.

 Thanks,
 Rahul

 --
 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 from 1.6.8 to 2.x

2015-07-29 Thread Christian Hammond
Thanks for the follow-up, Risha! I'm glad it's working :) Hopefully this
will help someone else down the road.

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - https://www.reviewboard.org
Beanbag, Inc. - https://www.beanbaginc.com

On Wed, Jul 29, 2015 at 4:21 PM, Risha Chheda rishachh...@gmail.com wrote:

 I managed to get this to work, just updating this thread.

 The problem was that the mysqldump I had done had truncated some of the
 data in the diffviewer_filediff table. I had to gzip the mysqldump output
 and dump it in my test mysql instance. After gzipping the dump was 1.6G.

 I then converted all the tables from MyISAM to Innodb. Again this was
 failing for the diffviewer_filediff table with the error 'The table is
 full' since the VM I was running this on didn't have enough space.  Moving
 to a physical server from the VM fixed this issue. I've attached the
 commands I ran along with the mysql settings.

 Reviewboard with Docker worked beautifully after that. I just had to run
 the docker instance and it installed reviewboard, connected to my database,
 performed all the evolutions and started hosting immediately.

 Thanks,
 Risha


 On Tue, Jul 14, 2015 at 12:21 PM, Christian Hammond 
 christ...@beanbaginc.com wrote:

 Hi Risha,

 Hmm, I'm not seeing what I was expecting to see there.

 It's possible that there's a bug in upgrading to 2.5, due to one of the
 changes we've made. I'm going to be investigating this. For now, I'd
 suggest taking a copy of the 1.6 database and upgrading to the latest 2.0.x
 release instead of 2.5 beta.

 Christian

 --
 Christian Hammond - christ...@beanbaginc.com
 Review Board - https://www.reviewboard.org
 Beanbag, Inc. - https://www.beanbaginc.com

 On Tue, Jul 14, 2015 at 10:14 AM, Risha Chheda rishachh...@gmail.com
 wrote:

 I'm not sure if it makes any difference but yesterday I ran the rb-site
 manage evolve --hint and execute commands. I have attached the output of
 both of those in the attached document. It didn't seem to make a
 difference, rb-site upgrade still gives me the same issue. ​
  rb-site_evolve
 https://docs.google.com/document/d/1eg47ZY25Zzx4rOnWk-WWPaUOEF33emWx3S16PruRmZE/edit?usp=drive_web
 ​

 Here is the output you requested.
  from django_evolution.models import Version
  for v in Version.objects.order_by('pk'):
 ...print '%s - %s - %s' % (v.pk, v.evolutions.count(), v.when)
 ...
 1 - 0 - 2008-05-19 20:11:53+00:00
 2 - 0 - 2008-09-24 10:08:29+00:00
 3 - 1 - 2008-09-24 10:09:01+00:00
 4 - 0 - 2008-10-27 16:17:08+00:00
 5 - 1 - 2008-10-27 16:17:25+00:00
 6 - 11 - 2011-03-08 05:21:06+00:00
 7 - 2 - 2011-10-17 12:15:42+00:00
 8 - 0 - 2012-10-13 09:34:28+00:00
 9 - 13 - 2012-10-13 09:34:36+00:00
 10 - 3 - 2015-07-13 22:41:16+00:00


 On Tue, Jul 14, 2015 at 2:58 AM, Christian Hammond 
 christ...@beanbaginc.com wrote:

 Can you run the following:

 $ rb-site manage /path/to/site shell
  from django_evolution.models import Version
  for v in Version.objects.order_by('pk'):
 print '%s - %s - %s' % (v.pk, v.evolutions.count(), v.when)

 That'll give me a sense of what evolutions are applied. There's a
 hard-to-diagnose issue that's come up before where an invalid entry ends up
 in the history, throwing things off, and this will help me check for that.

 Thanks,

 Christian

 --
 Christian Hammond - christ...@beanbaginc.com
 Review Board - https://www.reviewboard.org
 Beanbag, Inc. - https://www.beanbaginc.com

 On Mon, Jul 13, 2015 at 3:58 PM, Risha Chheda rishachh...@gmail.com
 wrote:

 No, that doesn't help either.

 # rb-site manage /var/ReviewBoard syncdb
 Creating tables ...
 There are unapplied evolutions for auth.
 The following content types are stale and need to be deleted:

 auth | message

 Any objects related to these content types by a foreign key will also
 be deleted. Are you sure you want to delete these content types?
 If you're unsure, answer 'no'.

 Type 'yes' to continue, or 'no' to cancel: yes
 There are unapplied evolutions for contenttypes.
 There are unapplied evolutions for accounts.
 There are unapplied evolutions for attachments.
 There are unapplied evolutions for changedescs.
 There are unapplied evolutions for diffviewer.
 There are unapplied evolutions for hostingsvcs.
 There are unapplied evolutions for reviews.
 There are unapplied evolutions for scmtools.
 There are unapplied evolutions for site.
 Project signature has changed - an evolution is required
 Installing custom SQL ...
 Installing indexes ...
 Installed 0 object(s) from 0 fixture(s)


 root@05e83c8f5ab7:/# rb-site upgrade /var/ReviewBoard
 ..
 ..
 Same error as the original email


 On Mon, Jul 13, 2015 at 3:26 PM, Christian Hammond 
 christ...@beanbaginc.com wrote:

 Hi Risha,

 That's strange. It's like some state is missing there.

 Can you try doing this first:

 $ rb-site manage /var/ReviewBoard syncdb

 and then do the upgrade? See if that gets any further.

 Christian

 --
 Christian Hammond - 

Re: Issue 3915 in reviewboard: FileNotFoundError problem with Mercurial

2015-07-29 Thread reviewboard


Comment #5 on issue 3915 by bar...@beanbaginc.com: FileNotFoundError  
problem with Mercurial

https://code.google.com/p/reviewboard/issues/detail?id=3915

Sorry I haven't had time to look at this bug.

What are you using to serve your repo, hg web?

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Issue 3933 in reviewboard: Review post from Clearcase fails if the file versions are same

2015-07-29 Thread reviewboard

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

New issue 3933 by viney.ya...@gmail.com: Review post from Clearcase fails  
if the file versions are same

https://code.google.com/p/reviewboard/issues/detail?id=3933

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
*** rejected.
***
*** If you have a security issue to report, please send it confidentially
to
*** secur...@reviewboard.org. Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** This bug tracker is public. Please check that any logs or other
information
*** that you include has been stripped of confidential information.


What version are you running?
ReviewBoard-2.0.6, RBTool-0.6.2


What's the URL of the page containing the problem?
NA

What steps will reproduce the problem?
1. Post a review with same versions: rbt post  
file1.c@@/main/2:file1.c@@/main/2

2. rbt post throws error (see snapshot at the end)

What is the expected output? What do you see instead?
Review should be posted with empty diff. I understand that it does not make  
sense to explicitly post reviews with same versions. But there would be  
cases when:
1. Posting a diff with labels and both labels are on same version of the  
file
2. Posting a diff from a branch (brtype option) and the branch has only  
version 0 so empty diff.


What operating system are you using? What browser?
ReviewBoard server is on RHEL 6.5
RBT is on RHEL 6.5

Please provide any additional information below.
Looks like the server is unable to parse the diff file (which probably  
would be empty as the versions are same)


Traceback from server logs:

2015-07-29 07:13:39,847 - ERROR - None - user1-  
/api/review-requests/218/diffs/ - Error uploading new diff: u'origFile'

Traceback (most recent call last):
   
File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.6-py2.6.egg/reviewboard/webapi/resources/diff.py,  
line 292, in create

request.FILES.get('parent_diff_path'))
   
File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.6-py2.6.egg/reviewboard/reviews/forms.py,  
line 116, in create

history)
   
File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.6-py2.6.egg/reviewboard/diffviewer/forms.py,  
line 69, in create

request=self.request)
   
File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.6-py2.6.egg/reviewboard/diffviewer/managers.py,  
line 156, in create_from_upload

save=save)
   
File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.6-py2.6.egg/reviewboard/diffviewer/managers.py,  
line 182, in create_from_data

check_existence=(not parent_diff_file_contents)))
   
File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.6-py2.6.egg/reviewboard/diffviewer/managers.py,  
line 275, in _process_files

for f in parser.parse():
   
File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.6-py2.6.egg/reviewboard/diffviewer/parser.py,  
line 55, in parse

next_linenum, new_file = self.parse_change_header(i)
   
File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.6-py2.6.egg/reviewboard/diffviewer/parser.py,  
line 97, in parse_change_header

linenum = self.parse_diff_header(linenum, info)
   
File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.6-py2.6.egg/reviewboard/scmtools/clearcase.py,  
line 356, in parse_diff_header

currentFilename = info['origFile']
KeyError: u'origFile'


Traceback from rbt:

[user1@rbserver include]$ rbt post -d file1.c@@/main/2:file1.c@@/main/2

RBTools 0.6.2
Python 2.6.6 (r266:84292, Sep  4 2013, 07:46:00)

[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]

Running on Linux-2.6.32-431.el6.x86_64-x86_64-with-redhat-6.5-Santiago
Home = /home/user1
Current directory = /cm_data/myvob/folder1
Checking for a ClearCase repository...
Running: cleartool pwv -short
Running: diff --version
Running: cleartool lsview -full -properties -cview
Running: cleartool describe -short vob:.
Running: cleartool pwv -root
repository info: Path: /cm_data/myvob, Base path: /cm_data/myvob,  
Supports changesets: False

Making HTTP GET request to http://rbserver/api/
Running: diff -uN file1.c@@/main/2 file1.c@@/main/2
Running: cleartool describe -fmt %On file1.c@@/main/2
Running: cleartool describe -fmt %On file1.c@@/main/2
Making HTTP GET request to http://rbserver/api/review-requests/
Making HTTP POST request to http://rbserver/api/review-requests/
Making HTTP GET request to  
http://rbserver/api/review-requests/218/diffs/
Making HTTP POST request to  
http://rbserver/api/review-requests/218/diffs/

Got API Error 105 (HTTP code 400): One or more fields had errors
Error data: {u'fields': {u'path': [uu'origFile']}, u'stat': u'fail',  
u'err': {u'msg': u'One or more fields had errors', u'code': 105}}

Traceback (most recent call last):
  File /usr/bin/rbt, line 9, in module

Re: Server 2.0.18: unable to reset password

2015-07-29 Thread Renu kumar Setty
Hello Barret,

thanks for looking into this, please find below logs snippet:

  File 
/usr/lib/python2.6/site-packages/ReviewBoard-2.0.18-py2.6.egg/reviewboard/accounts/forms/pages.py,
 
line 121, in clean_old_password
if not backend.authenticate(self.user.username, password):
TypeError: authenticate() takes at most 2 arguments (3 given)

do you think I need to update on dependencies like python or django? 

regards
Renu

On Friday, 24 July 2015 22:25:50 UTC+5:30, Barret Rennie wrote:

 Hey there,

 I’m unable to reproduce this on a fresh install of 2.0.18. Can you get the 
 Review Board logs that correspond to the 500?

 Regards,
 Barret

 On Fri, Jul 24, 2015 at 7:04 AM, Renu kumar Setty renukum...@gmail.com 
 javascript: wrote:

 Review server: 2.0.18

 I am unable to reset password from 'My account', it comes out with error:

 Something broke! (Error 500)

 It appears something broke when you tried to go to here. This is either a 
 bug in Review Board or a server configuration error. Please report this to 
 your administrator.


 Is this a known issue? do we have a workaround?


 any help is highly appreciated!


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


Unable to generate static files for rbseverity-0.5.1-py2.6.egg from source (rbseverity-0.5.1.tar.gz)

2015-07-29 Thread rahul emmatty
Hi,

I am trying to generate / build rbseverity plugin (.egg file from
source) from reviewboard repository.
The Issue is I am not able to generate the static files.
Which is available at precreated .egg file at

http://downloads.reviewboard.org/releases/rbseverity/0.5/rbseverity-0.5.1-py2.6.egg#md5=c24aef5b7a936bddf0c10421722ba066

I am able to find that the following files not being packaged in .egg
file that I generate.

rbseverity/static/css/default.min.5c83bc65f5a0.css
rbseverity/static/css/default.min.css
rbseverity/static/css/severity.69eada437e3f.less
rbseverity/static/css/severity.less
rbseverity/static/js/severity-review.min.e090c3e5966d.js
rbseverity/static/js/severity-review.min.js
rbseverity/static/js/severity.cb7ba5458d93.js
rbseverity/static/js/severity.js

For generating .egg I am using the below commands

 python setup.py bdist_egg
running bdist_egg
running egg_info
writing rbseverity.egg-info/PKG-INFO
writing top-level names to rbseverity.egg-info/top_level.txt
writing dependency_links to rbseverity.egg-info/dependency_links.txt
writing entry points to rbseverity.egg-info/entry_points.txt
reading manifest file 'rbseverity.egg-info/SOURCES.txt'
writing manifest file 'rbseverity.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_static_files
/usr/lib64/python2.6/site-packages/djblets/extensions/packaging.py:147:
DeprecationWarning: Parameters to load are deprecated.  Call .resolve
and .require separately.
  extension = entrypoint.load(require=False)
creating build
creating build/lib
creating build/lib/rbseverity
copying rbseverity/__init__.py - build/lib/rbseverity
copying rbseverity/extension.py - build/lib/rbseverity
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/rbseverity
copying build/lib/rbseverity/__init__.py -
build/bdist.linux-x86_64/egg/rbseverity
copying build/lib/rbseverity/extension.py -
build/bdist.linux-x86_64/egg/rbseverity
byte-compiling build/bdist.linux-x86_64/egg/rbseverity/__init__.py to
__init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/rbseverity/extension.py to
extension.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying rbseverity.egg-info/PKG-INFO - build/bdist.linux-x86_64/egg/EGG-INFO
copying rbseverity.egg-info/SOURCES.txt - build/bdist.linux-x86_64/egg/EGG-INFO
copying rbseverity.egg-info/dependency_links.txt -
build/bdist.linux-x86_64/egg/EGG-INFO
copying rbseverity.egg-info/entry_points.txt -
build/bdist.linux-x86_64/egg/EGG-INFO
copying rbseverity.egg-info/not-zip-safe -
build/bdist.linux-x86_64/egg/EGG-INFO
copying rbseverity.egg-info/top_level.txt -
build/bdist.linux-x86_64/egg/EGG-INFO
creating dist
creating 'dist/rbseverity-0.5.1-py2.6.egg' and adding
'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)

I would like to know If I am missing something out here.

Thanks,
Rahul

-- 
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: Issue 3915 in reviewboard: FileNotFoundError problem with Mercurial

2015-07-29 Thread reviewboard


Comment #4 on issue 3915 by aklitz...@gmail.com: FileNotFoundError problem  
with Mercurial

https://code.google.com/p/reviewboard/issues/detail?id=3915

Ping! Do you need some more info?

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.