-
Notifications
You must be signed in to change notification settings - Fork 57
Technical Decisions
Table of Contents
- ...
Outstanding decisions to review and discuss:
- ...
We successfully set-up Travis CI, with which we now have a pretty good workflow for contributions. We decided to use both GitHub actions and Travis. This is how a PR is handled on this repo:
- We have GitHub actions to automatically build project on new PRs. The checks status is conveniently shown right below the PR.
- Once we approve this PR and merge it to the develop branch, Travis will build the app and push it to the
apk
branch which can be found here
The build logs for Github actions can be found here and for Travis here
We have also set up constraints on when the CI/Cd will be triggered to prevent wasting resources. Refer the below links to see the yml
file of both the workflows.
-
Github action
- Add this action to your repo here
-
Travis
- The script used to push the
.apk
files to theapk
branch can be found here
- The script used to push the
To prevent any versioning errors between contributor's pull requests(who might be on different flutter channels) in files like the pubspec.lock, we have decided that it is mandatory for everyone to use the Flutter Beta channel, also our CI/Cd are set to beta. (we can get build errors if the contributor is on a different channel and the build environment on a different one). We have chosen this channel as it gets good testing, almost equal to the stable channel but also updates a bit faster than stable. You can read more about Flutter update channels here to learn how to switch branches you can refer this
April 2020 - Transferred Flutter project from Bartek Pacia to AnitaB
Bartek started building the Flutter version of the Mentorship System during Google Code-in 2019. When the contest ended, he asked whether his project could be further developed under AnitaB. After the discussion, the admins decided to onboard the app in the AnitaB.org organization.
Reasons:
- To evaluate whether Flutter is a good match for the cross-platform version of the Mentorship System