fossasia / engelsystem

Shift planning system for events.
http://engelsystem.de
GNU General Public License v2.0
1.51k stars 32 forks source link

Implement an upgrade process for Engelsystem similar to Wordpress #162

Open mariobehling opened 8 years ago

mariobehling commented 8 years ago

Please research and propose the upgrade process similar to that of Wordpress. Then:

DishantK1807 commented 8 years ago

Research on documentation of wordpress on implementing update procedure. Wordpress is a CMS and it uses it's own CMS framework for pushing the updates to every server. It pushes updates using SVN and got the steps of wordpress installation through SVN here, https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/from-svn/

Wrodpress uses it's own CMS framework to push auto updates. We don't have any such framework to get auto updates. http://code.tutsplus.com/tutorials/a-guide-to-the-wordpress-http-api-automatic-plugin-updates--wp-25181

I'll going through the code of wordpress, https://github.com/WordPress/WordPress , if I am able to review complete code to find the upgrade process.

Went through stackoverflow, but the answers that I got, cannot be implemented on our system, as we don't use any framework like Wordpress. http://stackoverflow.com/questions/9053763/how-to-create-a-automatic-update-component-in-php http://stackoverflow.com/questions/2439160/how-to-self-update-phpmysql-cms

Will be posting my queries on stackoverflow and wait for answers.

Till then I'll work on how to implement it manually on the system. To get the notification if an update is available.

Will research on how to get version numbers from github to a server.

mariobehling commented 8 years ago

@DishantK1807 This is related to https://github.com/fossasia/engelsystem/issues/163 So, we can define our framework through this model.

mariobehling commented 8 years ago

Will research on how to get version numbers from github to a server.

We do not need version numbers. It is possible to make releases though.

DishantK1807 commented 8 years ago

Yes we can do it throught releases.

I've got different scripts and methods that we could use to implement upgrade process:

These links will help in understanding the process:

So what we need now is to implement:

DishantK1807 commented 8 years ago

We now have a more members in the team, we can complete issues #163 and #161 faster and implement this feature. I'll work with @kamishettysreeja25 to complete the issues faster, by dividing the tasks.

DishantK1807 commented 8 years ago

Researched more online for this issue and checked many other projects to find a solution to this problem and found a solution to it.

DishantK1807 commented 8 years ago

Fixed here: #220

DishantK1807 commented 8 years ago

Will write a blog post on it now

DishantK1807 commented 8 years ago

This issue is completed and can be closed.