Re: Question On ReviewBoard Upgrade

2010-03-03 Thread Christian Hammond
This is all covered in the administration guide. See the section on
upgrading.

Christian

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


2010/3/2 JohnHenry qhlonl...@163.com

 Thanks Christian. There is a version on our machine that has no change
 on database. I want firstly try to update it.  Then how to update it
 to V1.5 please? Will the upgrade affect existing data?


  Best Regards!

 On 3月3日, 上午4时18分, Christian Hammond chip...@chipx86.com wrote:
  It's going to be a lot harder for you to upgrade than users using the
 actual
  non-modified releases.
 
  If you've changed the structure of the database, then you'll have to make
  sure you have evolution files
 (seehttp://django-evolution.googlecode.comandthe evolution/* files in the
  Review Board source tree under each app)
  that describe going from a plain database to your changes. Running
  ./reviewboard/manage.py evolve --hint should give you a good starting
 point.
  If you do this correctly, you shouldn't have any database corruption
 issues
  *in theory*. That is, unless you modified how existing columns in Review
  Board work.
 
  Make sure to back up your database!
 
  You're going to then have to synchronize your branch containing your code
  changes with the top-level git 'origin/master' branch containing our
  changes.
 
  See our codebase documentation on the site for more information. There's
 a
  whole section on Review Board tree forks that describe how to get back in
  sync for a new release.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
  On Mon, Mar 1, 2010 at 10:00 PM, JohnHenry qhlonl...@163.com wrote:
   Hi, all
   We had put RB1.0.5.1 in use, But I want to upgrade it to V 1.5;
   How Can I do this? especially that I had made some change on the RB
   source?
   Another warry is that our database has stored some data of
   reviews. Will rb-site install process reconstruct all database
   tabales? I am afraid our data will get lost then.
   If there are some info of newly added file or edited file name of
   Reviewboard 1.5, I think we could simplely down_load those files and
   cover the RB code in Python site-packages. But I don't know whether
   there is model upgrade in version 1.5.
 
   BestRegards!
 
   --
   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.comreviewboard%2bunsubscr...@googlegroups.com
 reviewboard%2bunsubscr...@googlegroups.comreviewboard%252bunsubscr...@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.comreviewboard%2bunsubscr...@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: Question On ReviewBoard Upgrade

2010-03-02 Thread Christian Hammond
It's going to be a lot harder for you to upgrade than users using the actual
non-modified releases.

If you've changed the structure of the database, then you'll have to make
sure you have evolution files (see
http://django-evolution.googlecode.comand the evolution/* files in the
Review Board source tree under each app)
that describe going from a plain database to your changes. Running
./reviewboard/manage.py evolve --hint should give you a good starting point.
If you do this correctly, you shouldn't have any database corruption issues
*in theory*. That is, unless you modified how existing columns in Review
Board work.

Make sure to back up your database!

You're going to then have to synchronize your branch containing your code
changes with the top-level git 'origin/master' branch containing our
changes.

See our codebase documentation on the site for more information. There's a
whole section on Review Board tree forks that describe how to get back in
sync for a new release.

Christian

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


On Mon, Mar 1, 2010 at 10:00 PM, JohnHenry qhlonl...@163.com wrote:

 Hi, all
 We had put RB1.0.5.1 in use, But I want to upgrade it to V 1.5;
 How Can I do this? especially that I had made some change on the RB
 source?
 Another warry is that our database has stored some data of
 reviews. Will rb-site install process reconstruct all database
 tabales? I am afraid our data will get lost then.
 If there are some info of newly added file or edited file name of
 Reviewboard 1.5, I think we could simplely down_load those files and
 cover the RB code in Python site-packages. But I don't know whether
 there is model upgrade in version 1.5.




 BestRegards!

 --
 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.comreviewboard%2bunsubscr...@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: Question On ReviewBoard Upgrade

2010-03-02 Thread JohnHenry
Thanks Christian. There is a version on our machine that has no change
on database. I want firstly try to update it.  Then how to update it
to V1.5 please? Will the upgrade affect existing data?


 Best Regards!

On 3月3日, 上午4时18分, Christian Hammond chip...@chipx86.com wrote:
 It's going to be a lot harder for you to upgrade than users using the actual
 non-modified releases.

 If you've changed the structure of the database, then you'll have to make
 sure you have evolution files 
 (seehttp://django-evolution.googlecode.comandthe evolution/* files in the
 Review Board source tree under each app)
 that describe going from a plain database to your changes. Running
 ./reviewboard/manage.py evolve --hint should give you a good starting point.
 If you do this correctly, you shouldn't have any database corruption issues
 *in theory*. That is, unless you modified how existing columns in Review
 Board work.

 Make sure to back up your database!

 You're going to then have to synchronize your branch containing your code
 changes with the top-level git 'origin/master' branch containing our
 changes.

 See our codebase documentation on the site for more information. There's a
 whole section on Review Board tree forks that describe how to get back in
 sync for a new release.

 Christian

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

 On Mon, Mar 1, 2010 at 10:00 PM, JohnHenry qhlonl...@163.com wrote:
  Hi, all
  We had put RB1.0.5.1 in use, But I want to upgrade it to V 1.5;
  How Can I do this? especially that I had made some change on the RB
  source?
  Another warry is that our database has stored some data of
  reviews. Will rb-site install process reconstruct all database
  tabales? I am afraid our data will get lost then.
  If there are some info of newly added file or edited file name of
  Reviewboard 1.5, I think we could simplely down_load those files and
  cover the RB code in Python site-packages. But I don't know whether
  there is model upgrade in version 1.5.

  BestRegards!

  --
  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.comreviewboard%2bunsubscr...@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