GSoC14:Ryzom App Improvements : Fifth Week
As fifth week is come to end, as decided in the proposal i will start working on the REST API interface but due to some reasons i started my work late but to cover up i decided to first cover up maximum part of plugin interface this week .So , the task i completed this week is to update plugins which involves some interesting features which i have implemented by discussing with my mentor and other community members . The most confusing task is to understand the versioning of the plugins. So, mentor suggested me a link to semantic versioning to overcome this situation.
Semantic versioning involves following steps:
Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards-compatible manner, and
- PATCH version when you make backwards-compatible bug fixes
So the update work start with creating a update templates which shows the available updates for the installed plugins , where the current verison , new version and update info will be mentioned. User have to upload the update package with proper versioning and details from the install plugins option . When the upload is complete , AMS check for the current version and version of update and add it to the update list with the respective plugin name. After testing it i found some situations like:
- if the .info file is not updated with update info field
- if the user try to install the update without modification in versioning.
After adding validation regarding the above situation , it looks fine. Now, next week i am going to work for the hook parts after discussing with mentor and reviewing my code i submitted.
The view of the update plugin template is added with the blog :