Yii Framework Forum: Yii upgrade tools - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Yii upgrade tools Rate Topic: -----

#1 User is offline   Khaoz 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 30
  • Joined: 06-October 08
  • Location:Brazil

Posted 20 October 2008 - 11:42 AM

Will yii provide tools to help version upgrade ? Something like the following symfony task to upgrade from symfony 1.0 to symfony 1.1:


./symfony project:upgrade1.1


This task does not do all the job necessary to upgrade, but help a lot with some fixes and messages where do you need to change.
0

#2 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,902
  • Joined: 04-October 08
  • Location:DC, USA

Posted 20 October 2008 - 12:02 PM

At this moment I can't commit to provide such a tool. But we will maintain our branches like Symfony does. That is, all 1.0.x upgrades will remain strictly back-compatible. And 1.1.x may introduce something that is not BC. We will see if an upgrade tool can simplify the upgrading process. And if so, we will definitely provide such a tool.
0

#3 User is offline   KJedi 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 381
  • Joined: 19-October 08
  • Location:Nikolaev, Ukraine (Europe)

Posted 20 October 2008 - 02:09 PM

I'm dreamin of a framework that could be upgraded automatically by calling App->upgrade($version) somewhere. And it connects to the website, finds necessary files and updates them...
I saw one Russian commercial CMS, it did so :)
0

#4 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,902
  • Joined: 04-October 08
  • Location:DC, USA

Posted 20 October 2008 - 03:06 PM

Framework is different from applications like CMS because for CMS the main thing about BC is the data structure stored in database.

In fact, if you use a CMS and install some extensions, you will find the so-called automatic upgrading doesn't work very well. That's similar to the situation that a framework upgrade faces.

Anyway, we will try to keep BC as much as possible. And should there be BC problem, we will try every effort to make upgrading as easy as possible.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users