Re: rb-site fails

2014-09-25 Thread Pierre Leroy
Hi Chris,

with RBTools, it works fine so I'll go this way!
Thx,

/// Pierre

On Wednesday, September 24, 2014 7:15:22 PM UTC+2, Christian Hammond wrote:

 Hi Pierre, 

 Can you try using RBTools to post a change? 

 Christian 

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


 On September 24, 2014 at 6:29:41 AM, Pierre Leroy (pierre@gmail.com 
 javascript:) wrote: 
  Hi Chris, 
  
  thanks a lot, the --console flag helped me in sorting out my 
 installation 
  issue. Now, I've got a ReviewBoard site running correclty, I think. 
  
  Going a bit further, though, I'm a bit stuck in my workflow with RB and 
  Mercurial and maybe you could help again. 
  
  On the RB website, I've configured a mercurial repository. 
  Then, I've cloned this repository on my local machine and made some 
  changes. 
  I've generated a patch with the following command: 
  
  $ hg diff  diff.txt 
  
  When I try to create a new review request and upload the diff.txt file 
  generated as described above, I've got the error message: *The selected 
  file does not appear to be a diff*. 
  
  Any idea what I'm doing wrong here again? 
  
  Thanks a lot, 
  
  /// Pierre 
  



-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help, upgrading to 2.0.7 broke my server!

2014-09-25 Thread Christian Wuerdig
I just ran into the same problem upgrading from 2.0.6 to 2.0.8. Running 
postgres as well

In prostgres dropping the index is achieved by: DROP index 
scmtools_repository_8c446842;

running rb-site upgrade again after that completed successfully

On Tuesday, 16 September 2014 13:44:48 UTC+12, Christian Hammond wrote:

 Hmmm, it should have tried to drop the old index in that upgrade. Very 
 odd. 

 What version were you running before this? 

 (I have to take off for a couple hours, but will be back.. hopefully the 
 other instructions will have helped.) 

 Christian 

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


 On September 15, 2014 at 6:43:27 PM, Ian (iand...@mac.com javascript:) 
 wrote: 
  Upgraded from 2.0.6 and using PostgreSQL. 
  
  $ sudo rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard 
 evolve 
  -- --sql 
  
  Password: 
  
  
  -- Evolve application scmtools 
  
  ALTER TABLE scmtools_repository ADD COLUMN hooks_uuid varchar(32) 
 NULL; 
  
  CREATE UNIQUE INDEX scmtools_repository_8c446842 ON scmtools_repository 
  (archived_timestamp, path, local_site_id); 
  
  CREATE UNIQUE INDEX scmtools_repository_f22c3cf5 ON scmtools_repository 
  (hooks_uuid, local_site_id); 
  
  On Monday, September 15, 2014 6:40:21 PM UTC-7, Christian Hammond wrote: 
   
   What version did you upgrade from? 
   
   That looks like it may be a duplicate index. 
   
   Can you run: 
   
   rb-site manage /path/to/site evolve -- --sql 
   
   And show me what that says? 
   
   Also, are you using MySQL? 
   
   Christian 
   
   -- 
   Christian Hammond - chri...@beanbaginc.com 
   Review Board - https://www.reviewboard.org 
   Beanbag, Inc. - https://www.beanbaginc.com 
   
   
   On September 15, 2014 at 6:37:05 PM, Ian (iand...@mac.com ) 
   wrote: 
I did the easy_install -U thing to update Review Board, and then the 
rb-side upgrade thing to upgrade my site. I get this output though, 
 and 
now I can't view anything in Review Board. Any workarounds much 
appreciated! 

$ sudo rb-site upgrade /Library/Server/Web/Data/WebApps/ReviewBoard 

Password: 

Rebuilding directory structure 

Updating database. This may take a while. 


The log output below, including warnings and errors, 

can be ignored unless upgrade fails. 


-- -- 

Creating tables ... 

There are unapplied evolutions for scmtools. 

Project signature has changed - an evolution is required 

Installing custom SQL ... 

Installing indexes ... 

Installed 0 object(s) from 0 fixture(s) 

*CommandError: Error applying evolution: relation 
scmtools_repository_8c446842 already exists* 

-- 
Get the Review Board Power Pack at 
 http://www.reviewboard.org/powerpack/ 
--- 
Sign up for Review Board hosting at RBCommons: 
 https://rbcommons.com/ 
--- 
Happy user? Let us know at http://www.reviewboard.org/users/ 
--- 
You received this message because you are subscribed to the Google 
   Groups reviewboard 
group. 
To unsubscribe from this group and stop receiving emails from it, 
 send 
   an email to reviewboard...@googlegroups.com . 
For more options, visit https://groups.google.com/d/optout. 

   
   
  
  -- 
  Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ 
  --- 
  Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ 
  --- 
  Happy user? Let us know at http://www.reviewboard.org/users/ 
  --- 
  You received this message because you are subscribed to the Google 
 Groups reviewboard 
  group. 
  To unsubscribe from this group and stop receiving emails from it, send 
 an email to reviewboard...@googlegroups.com javascript:. 
  For more options, visit https://groups.google.com/d/optout. 
  



-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ReviewBoard Extensions ( BaseTextAreaField )

2014-09-25 Thread Christian Hammond
Hi Peter,

You can access MyExtensionClass.instance.settings, which should give you what 
you want.

Christian

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


On September 25, 2014 at 1:07:29 PM, Peter Williams 
(i.ask.django.questi...@gmail.com) wrote:
 Hey Christian,
 
 I would be glad to submit a patch.
 
 However, is there a clean way to gain access to an Extension object's
 .setting attribute within a Field? For example, I have a configuration form
 for my extension and this updates a setting dict. The setting dict exists
 in an Extension object which then calls something like:
 
 def initialize(self):
 ReviewRequestFieldsHook(self, 'main', [OutputField])
 
 Is there a clean way for OutputField to retrieve the settings dict?
 
 -P
 
 On Tuesday, September 23, 2014 3:36:47 PM UTC-7, Christian Hammond wrote:
 
  Hi Peter,
 
  There is no official way of doing this, but you can probably try to
  override the load_value() function and have it return some default text if
  not otherwise specified.
 
  I'd be happy to take a patch that implements default values cleanly.
 
  Christian
 
  --
  Christian Hammond - chri...@beanbaginc.com 
  Review Board - https://www.reviewboard.org
  Beanbag, Inc. - https://www.beanbaginc.com
 
 
  On September 23, 2014 at 3:33:53 PM, Peter Williams (
  i.ask.djang...@gmail.com ) wrote:
   Hello RB users / admins,
  
   Is there a way to specify default text within a BaseTextAreaField?
  
   My current field looks something like below:
  
  
   from reviewboard.reviews.fields import BaseTextAreaField
  
  
   class OutputField(BaseTextAreaField):
   field_id = testme'
   label = 'test label'
  
   I couldn't see any mention of this in the API and digging through the
  code
   suggests that you can't but I may be wrong.
  
   Thanks for any help.
  
   -P
  
  
  
  
  
   --
   Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
   ---
   Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
   ---
   Happy user? Let us know at http://www.reviewboard.org/users/
   ---
   You received this message because you are subscribed to the Google
  Groups reviewboard
   group.
   To unsubscribe from this group and stop receiving emails from it, send
  an email to reviewboard...@googlegroups.com .
   For more options, visit https://groups.google.com/d/optout.
  
 
 
 
 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups 
 reviewboard 
 group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard+unsubscr...@googlegroups.com. 
 For more options, visit https://groups.google.com/d/optout.
 

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help, upgrading to 2.0.7 broke my server!

2014-09-25 Thread Christian Hammond
Hi Christian,

Any chance you have a database backup from before the upgrade? I'd like to 
figure out why this is breaking in django-evolution.

Christian

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


On September 25, 2014 at 1:10:12 PM, Christian Wuerdig 
(christian.wuer...@gmail.com) wrote:
 I just ran into the same problem upgrading from 2.0.6 to 2.0.8. Running
 postgres as well
 
 In prostgres dropping the index is achieved by: DROP index
 scmtools_repository_8c446842;
 
 running rb-site upgrade again after that completed successfully
 
 On Tuesday, 16 September 2014 13:44:48 UTC+12, Christian Hammond wrote:
 
  Hmmm, it should have tried to drop the old index in that upgrade. Very
  odd.
 
  What version were you running before this?
 
  (I have to take off for a couple hours, but will be back.. hopefully the
  other instructions will have helped.)
 
  Christian
 
  --
  Christian Hammond - chri...@beanbaginc.com 
  Review Board - https://www.reviewboard.org
  Beanbag, Inc. - https://www.beanbaginc.com
 
 
  On September 15, 2014 at 6:43:27 PM, Ian (iand...@mac.com )
  wrote:
   Upgraded from 2.0.6 and using PostgreSQL.
  
   $ sudo rb-site manage /Library/Server/Web/Data/WebApps/ReviewBoard
  evolve
   -- --sql
  
   Password:
  
  
   -- Evolve application scmtools
  
   ALTER TABLE scmtools_repository ADD COLUMN hooks_uuid varchar(32)
  NULL;
  
   CREATE UNIQUE INDEX scmtools_repository_8c446842 ON scmtools_repository
   (archived_timestamp, path, local_site_id);
  
   CREATE UNIQUE INDEX scmtools_repository_f22c3cf5 ON scmtools_repository
   (hooks_uuid, local_site_id);
  
   On Monday, September 15, 2014 6:40:21 PM UTC-7, Christian Hammond wrote:
   
What version did you upgrade from?
   
That looks like it may be a duplicate index.
   
Can you run:
   
rb-site manage /path/to/site evolve -- --sql
   
And show me what that says?
   
Also, are you using MySQL?
   
Christian
   
--
Christian Hammond - chri...@beanbaginc.com
Review Board - https://www.reviewboard.org
Beanbag, Inc. - https://www.beanbaginc.com
   
   
On September 15, 2014 at 6:37:05 PM, Ian (iand...@mac.com )
wrote:
 I did the easy_install -U thing to update Review Board, and then the
 rb-side upgrade thing to upgrade my site. I get this output though,
  and
 now I can't view anything in Review Board. Any workarounds much
 appreciated!

 $ sudo rb-site upgrade /Library/Server/Web/Data/WebApps/ReviewBoard

 Password:

 Rebuilding directory structure

 Updating database. This may take a while.


 The log output below, including warnings and errors,

 can be ignored unless upgrade fails.


 -- --

 Creating tables ...

 There are unapplied evolutions for scmtools.

 Project signature has changed - an evolution is required

 Installing custom SQL ...

 Installing indexes ...

 Installed 0 object(s) from 0 fixture(s)

 *CommandError: Error applying evolution: relation
 scmtools_repository_8c446842 already exists*

 --
 Get the Review Board Power Pack at
  http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons:
  https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google
Groups reviewboard
 group.
 To unsubscribe from this group and stop receiving emails from it,
  send
an email to reviewboard...@googlegroups.com .
 For more options, visit https://groups.google.com/d/optout.

   
   
  
   --
   Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
   ---
   Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
   ---
   Happy user? Let us know at http://www.reviewboard.org/users/
   ---
   You received this message because you are subscribed to the Google
  Groups reviewboard
   group.
   To unsubscribe from this group and stop receiving emails from it, send
  an email to reviewboard...@googlegroups.com .
   For more options, visit https://groups.google.com/d/optout.
  
 
 

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3582 in reviewboard: `rbt patch -c` fails for patches to public github repos with an RBCommons team when the patch if from a non-team member

2014-09-25 Thread reviewboard

Updates:
Status: Started
Owner: trowb...@gmail.com
Labels: Component-API

Comment #1 on issue 3582 by trowb...@gmail.com: `rbt patch -c` fails for  
patches to public github repos with an RBCommons team when the patch if  
from a non-team member

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

It looks like this regressed with the update to Review Board 2.0. We'll get  
a fix in ASAP.


--
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: Issue 3582 in reviewboard: `rbt patch -c` fails for patches to public github repos with an RBCommons team when the patch if from a non-team member

2014-09-25 Thread reviewboard

Updates:
Status: Fixed

Comment #2 on issue 3582 by trowb...@gmail.com: `rbt patch -c` fails for  
patches to public github repos with an RBCommons team when the patch if  
from a non-team member

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

Fixed in release-2.0.x (702a024). We'll get this deployed to RBCommons  
tonight.


--
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: Issue 3581 in reviewboard: If a user exists in a local site they will not get emails from the normal site if they are part of a reveiw group in the normal site.

2014-09-25 Thread reviewboard

Updates:
Status: PendingReview
Owner: trowb...@gmail.com

Comment #1 on issue 3581 by trowb...@gmail.com: If a user exists in a local  
site they will not get emails from the normal site if they are part of a  
reveiw group in the normal site.

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

Thanks for the report. We'll get a fix in for the next release.

Local sites aren't really meant to be a first-class feature right now, but  
it is possible to manage them using the admin UI (which is probably a  
better choice than making your own database queries).


--
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: Issue 3581 in reviewboard: If a user exists in a local site they will not get emails from the normal site if they are part of a reveiw group in the normal site.

2014-09-25 Thread reviewboard

Updates:
Labels: Component-EMail

Comment #2 on issue 3581 by trowb...@gmail.com: If a user exists in a local  
site they will not get emails from the normal site if they are part of a  
reveiw group in the normal site.

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

(No comment was entered for this change.)

--
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: Issue 3576 in reviewboard: Upgrade from 1.7.20 to 2.0.7 failed

2014-09-25 Thread reviewboard

Updates:
Status: SetupIssue

Comment #8 on issue 3576 by trowb...@gmail.com: Upgrade from 1.7.20 to  
2.0.7 failed

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

(No comment was entered for this change.)

--
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: Issue 3574 in reviewboard: Add support in post-review for p4 imported files (integration from remote depot)

2014-09-25 Thread reviewboard

Updates:
Status: NeedInfo

Comment #1 on issue 3574 by trowb...@gmail.com: Add support in post-review  
for p4 imported files (integration from remote depot)

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

What version of rbtools are you using?

--
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 3584 in reviewboard: fail to load files in view diff,unable to publish or discard files in draft

2014-09-25 Thread reviewboard

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

New issue 3584 by tmkrishn...@gmail.com: fail to load files in view  
diff,unable to publish or discard files in draft

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

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


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


What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What operating system are you using? What browser?


Please provide any additional information below.


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