Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Moodle App Release Process: Difference between revisions

From MoodleDocs
No edit summary
Line 75: Line 75:
| Create two different builds (one for ios and another one for android branch) in Phonegap Build using the Development certificate for iOs and not using any certificate for Android
| Create two different builds (one for ios and another one for android branch) in Phonegap Build using the Development certificate for iOs and not using any certificate for Android
And '''Start testing'''
And '''Start testing'''
| All the team
|-
| 10.
| Review the users and developers documentation (check that everything is in order). Review the [https://tracker.moodle.org/issues/?jql=project%20%3D%20MOBILE%20AND%20labels%20in%20%28docs_required%2C%20dev_docs_required%29 docs_required and dev_docs_required_tags]
| All the team
| All the team
|}
|}

Revision as of 09:30, 28 February 2017

4-7 days before (when possible)

# Task Responsibility
1. Create an issue in the tracker for the release, like: MOBILE-1248 Integration Lead
2. Update the local_moodlemobileapp plugin with new strings in moodle.org/plugins (only for Moodle version 2.6). Use the moodlemobile-scripts/json-to-string2.php to convert the build lang file to a valid string file.

Request a native English speaker to review the new strings. This will allow translators to add the new strings during the days prior to the release.

Integration Lead
3. Announce in the moodletranslation forums the new strings available: https://lang.moodle.org/mod/forum/view.php?id=5 Integration Lead
4. Add the release notes in the release issue created (search for the release_notes tag). Ask someone from the documentation team or Martin to review the release notes. Integration Lead
5. Contact the marketing announcing the new release and highlights . Integration Lead

3 days before (testing days)

# Task Responsibility
1. Create a new branch with the release tracker issue number for integrating all the version and string changes. Integration Lead
2. Run gulp and then auto-translate strings with the script auto-translate2.php, commiting the results Integration Lead
3. Run gupl and update language strings from AMOS using the fetch-langpacks2.sh script, commit the result Integration Lead
4. Bump version numbers in config.xml, www/config.json and in www/errorreport.js (is hardcoded there).

Push all this changes using the release issue number. Then integrate the changes into the master branch.

Integration Lead
5. Switch to the master branch and update from master (git fetch moodlehq; git merge moodlehq/master master)

Execute gulp to build all the files (and bower install if necessary to update javascript libraries)

Integration Lead
6. Copy the code of master (after doing gulp) to the moodlemobile-phonegapbuild repo Integration Lead
7. Bump version numbers in /config.xml Integration Lead
8. Rebase for iOs and Android (all the commits that apply the specific styles, includes the errorreport.js library etc.. will be applied) Integration Lead
9. Create two different builds (one for ios and another one for android branch) in Phonegap Build using the Development certificate for iOs and not using any certificate for Android

And Start testing

All the team

1 day before

# Task Responsibility
1. Backport to local_mobile (all branches) all the new required Web Services by new features.

Check if existing Web Services should be added to the local_mobile service (because they were added to the Mobile app service)

Once all the Web Services are backported and tested, publish a new version in the plugins database (via TAGS) so admin can updates their sites.

Integration Lead

The release day

# Task Responsibility
1. Build the app for Android and iOs using the Distribution certificate. Remember to do two different builds (pointing to the ios and android branches) Integration Lead
2. Send the applications to the stores for review. Integration Lead
3. Update release notes Moodle_Mobile_Release_Notes with the notes reviewed in the issue. Integration Lead
4. Create a TAG/Release in github (moodlehq/moodlemobile2) with the version number. Integration Lead
5. Update the local mobile plugin short description to indicate which is the latest Moodle Mobile version supported and date. Integration Lead
6. Remove the official tag in the android and ios branches (from the phonegapbuild repository) Integration Lead
7. Mark the issue and the version as released in the tracker Integration Lead
8. Social media announcements (Forum and Twitter) All the team & Marketing team
9. Post in moodle.org/news Team Lead