Open mariobehling opened 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.
@DishantK1807 This is related to https://github.com/fossasia/engelsystem/issues/163 So, we can define our framework through this model.
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.
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:
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.
Researched more online for this issue and checked many other projects to find a solution to this problem and found a solution to it.
fossasia/master
. update.sh
which will pull from the fossasia/master
and to local repo.index.php
file, so that it is executed everytime we open the Engelsystem to check for updates.fossasia/master
Fixed here: #220
Will write a blog post on it now
This issue is completed and can be closed.
Please research and propose the upgrade process similar to that of Wordpress. Then: