Migrating Review Board Database

2012-01-19 Thread Chris Baron
Hi reviewboard people,

There is a reviewboard 0.1 version in production.

There is a 1.6 version in a test environment.  Anyone have suggestions
on the best way to copy the 0.1 production data, transform it into 1.6
data?

-- 
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: Migrating Review Board Database

2012-01-19 Thread Christian Hammond
Hi Chris,

0.1, or 1.0? We never had a real 0.1 release of any sort, and anything
that would have had a label at all like that would have been way before
there was any sort of database migration.

Christian

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


On Thu, Jan 19, 2012 at 10:24 PM, Chris Baron topher.ba...@gmail.comwrote:

 Hi reviewboard people,

 There is a reviewboard 0.1 version in production.

 There is a 1.6 version in a test environment.  Anyone have suggestions
 on the best way to copy the 0.1 production data, transform it into 1.6
 data?

 --
 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: Migrating Review Board Database

2012-01-19 Thread Anton Cohen
On Thu, Jan 19, 2012 at 10:24 PM, Chris Baron topher.ba...@gmail.comwrote:

 There is a reviewboard 0.1 version in production.

 There is a 1.6 version in a test environment.  Anyone have suggestions
 on the best way to copy the 0.1 production data, transform it into 1.6
 data?


What will need to be done will depend on the specific version you are
moving from, and what is missing/different in the database. I did a
migration from a pre-1.0 to 1.5.5. Though it wasn't 0.1, if it had a
version it probably would have been something like 0.9.

I detailed the upgrade in this post:
http://groups.google.com/group/reviewboard/msg/5b445e99632190ab

If your old version is close enough to 1.0 you may not need to
manually manipulate the database at all, just install a new site with a
dump of the old database, and let the Django evolutions do their thing. If
your old version is really, really old, there may be a lot of manual DB
manipulation. I was pretty lucky that there was only one table missing and
I could copy the whole table from a new install.

-Anton

-- 
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 2454 in reviewboard: Search Button returns error 500

2012-01-19 Thread reviewboard

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

New issue 2454 by jpfill...@gmail.com: Search Button returns error 500
http://code.google.com/p/reviewboard/issues/detail?id=2454

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

What's the URL of the page containing the problem?
http://reviews.ott.qnx.com/dashboard/?view=to-groupgroup=HMI#

What steps will reproduce the problem?
1. Type in anything into the search box (numbers / letters)
2. Click Search

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

What operating system are you using? What browser?
Win XP, Google Chrome

Please provide any additional information below.


--
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 2454 in reviewboard: Search Button returns error 500

2012-01-19 Thread reviewboard

Updates:
Status: SetupIssue

Comment #1 on issue 2454 by trowb...@gmail.com: Search Button returns error  
500

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

You'll need to talk to your server administrator about this. If there's a  
backtrace in the server logs that isn't due to a problem with the  
deployment, we can reopen this, but we'll need the actual error.


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



Issue 2455 in reviewboard: Reverting a file then comparing revisions shows changed version on the right

2012-01-19 Thread reviewboard

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

New issue 2455 by djibo...@gmail.com: Reverting a file then comparing  
revisions shows changed version on the right

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

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

What's the URL of the page containing the problem?
Can't show the confidential example.

What steps will reproduce the problem?
1. Make a change to a file and post.
2. Revert changed file and post.
3. Compare r1 to r2. The changed version is on the right, even though it  
was changed in r1, not r2 (reverted in r2).



What is the expected output? What do you see instead?
Left side should have the changed version, right side should have the  
reverted (original) version.


What operating system are you using? What browser?
MacOSX 10.6.8/Chrome 16.0.912.75

Please provide any additional information below.
Contact oded at cs dot thatfamousuniversityinpaloalto dot edu if further  
info required.



--
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 1486 in reviewboard: Diff viewer displays incorrectly diffs for files which were removed in later revision of the change

2012-01-19 Thread reviewboard

Updates:
Status: New

Comment #7 on issue 1486 by trowb...@gmail.com: Diff viewer displays  
incorrectly diffs for files which were removed in later revision of the  
change

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

Still occurs.

--
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 2455 in reviewboard: Reverting a file then comparing revisions shows changed version on the right

2012-01-19 Thread reviewboard

Updates:
Status: Duplicate
Mergedinto: 1486

Comment #1 on issue 2455 by trowb...@gmail.com: Reverting a file then  
comparing revisions shows changed version on the right

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

(No comment was entered for this change.)

--
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 1486 in reviewboard: Diff viewer displays incorrectly diffs for files which were removed in later revision of the change

2012-01-19 Thread reviewboard


Comment #8 on issue 1486 by trowb...@gmail.com: Diff viewer displays  
incorrectly diffs for files which were removed in later revision of the  
change

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

Issue 2455 has been merged into this issue.

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



Issue 2456 in reviewboard: RB API doesn't allow updating changenum field for Git

2012-01-19 Thread reviewboard

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

New issue 2456 by eyuw...@gmail.com: RB API doesn't allow updating  
changenum field for Git

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

*NOTE: If you have a patch, please submit it to
http://reviews.reviewboard.org/


What version are you running?
1.6.1

What's the URL of the page this enhancement relates to, if any?
https://myserver/r/{review_id}

Describe the enhancement and the motivation for it.
I'm using API 2.0 to write a script to update the changenum field of a  
review. The URL is api/review-requests/{review_id}/draft/. It seems only a  
few fields (such as description, summary, etc) can be updated via HTTP.



What operating system are you using? What browser?
Centos 6

Please provide any additional information below.
I'd like to add the commit SHA1 string associated with the review to  
the 'Change Number' field so that I can keep track of the commit later on.  
Because I'm not able to use API to PUT the changenum field, I had to put  
that info in the description field guarded by a special string as a  
workaround. I'd love to see API is updated to support updating that field.



--
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 2456 in reviewboard: RB API doesn't allow updating changenum field for Git

2012-01-19 Thread reviewboard

Updates:
Status: NotABug

Comment #1 on issue 2456 by chip...@gmail.com: RB API doesn't allow  
updating changenum field for Git

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

The changenum field is only for Perforce. It represents server-side  
changeset numbers, which is different than a revision.


Best to put this as part of a close message when submitting.

--
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 2456 in reviewboard: RB API doesn't allow updating changenum field for Git

2012-01-19 Thread reviewboard


Comment #2 on issue 2456 by eyuw...@gmail.com: RB API doesn't allow  
updating changenum field for Git

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

Thanks for your quick response! Yes, I understand RB currently only  
supports change number if the backend SCM supports such concept natively.  
But wouldn't it be nice if the web service API provides the ability to  
update the field? Right now that field always shows 'None' if the  
underlying SCM is not Perforce. As an administrator/developer/user, I'd  
like to be able to overload that field to do meaningful task, such as use  
it to store the commit SHA1 string associated with the change, rather than  
be wasted? From there, I can do a lot more work build on top of it...


Would you consider providing such functionality in the API? I mean people  
who use the API probably know what they are doing, isn't it?


Thanks!

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