You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* to assure the quality of the app, any PR gets reviewed, approved and tested by [two developers](https://github.com/nextcloud/android/blob/master/MAINTAINERS) before it will be merged to master
72
74
75
+
### Android Studio formatter setup
76
+
77
+
Our formatter setup is rather simple:
78
+
* Standard Android Studio
79
+
* Line length 120 characters (Settings->Editor->Code Style->Right margin(columns): 120)
80
+
* Auto optimize imports (Settings->Editor->Auto Import->Optimize imports on the fly)
81
+
73
82
74
83
## Contribution process
75
84
* Contribute your code in the branch 'master'. It will give us a better chance to test your code before merging it with stable code.
@@ -104,15 +113,15 @@ To make sure your new pull request does not contain commits which are already co
104
113
At the moment we are releasing the app in two app stores:
105
114
106
115
*[Google Play Store](https://play.google.com/store/apps/details?id=com.nextcloud.client)
We do differentiate between three different kinds of releases:
112
121
113
122
### Stable
114
123
Play store and f-droid releases for the masses
115
-
stable: as described, PRs that have been tested and reviewed can go to master. After the last stable beta published PR is out in the wild for ~2 weeks and no errors get reported (by users or in the developer console) the master branch is release ready. So when we decide to go for a new release we freeze the master feature wise
124
+
stable: as described, PRs that have been tested and reviewed can go to master. After the last stable beta published PR is out in the wild for ~2 weeks and no errors get reported (by users or in the developer console) the master branch is ready for the stable release. So when we decide to go for a new release we freeze the master feature wise.
116
125
117
126
### Release Candidate
118
127
*_stable beta_ releases done via the Beta program of the Google Play store
@@ -126,21 +135,21 @@ beta = your awesome beta application that can be installed in parallel and conta
126
135
127
136
128
137
##Version Name and number
129
-
For _stable_ and _release candidate_ the version name follows the [semantic versioning schema](http://semver.org/) and the version number has several digits reserved to parts of the versioning schema, where:
138
+
For _stable_ and _release candidate_ the version name follows the [semantic versioning schema](http://semver.org/) and the version number has several digits reserved to parts of the versioning schema inspired by the [jayway version numbering](https://www.jayway.com/2015/03/11/automatic-versioncode-generation-in-android-gradle/), where:
130
139
131
-
* 2 digits for beta code
140
+
* 2 digits for beta code as in release candidates starting at '01'
beware, that beta releases for an upcoming version will always use the minor and hotfix version of the current release not the upcoming so that the version code of the upcoming stable release will always be higher so the current beta release can be updated to the latest hot fix release.
152
+
beware, that beta releases for an upcoming version will always use the minor and hotfix version of the release they are targeting. So to make sure the version code of the upcoming stable release will always be higher stable releases set the 2 beta digits to '99' as seen above in the examples.
144
153
145
154
146
155
## Release cycle
@@ -150,14 +159,15 @@ beware, that beta releases for an upcoming version will always use the minor and
150
159
*~2 weeks testing, bug fixing
151
160
* release final version on f-droid and play store
152
161
162
+
To get an idea which PRs and issues will be part of the next release simply check our [milestone plan](https://github.com/nextcloud/android/milestones)
153
163
154
164
##Release process
155
165
156
166
157
167
###Stable Release
158
168
Stable releases are based on the git [master](https://github.com/nextcloud/android).
159
169
160
-
1. Bump the version name and version code in the [AndroidManifest.xml](https://github.com/nextcloud/android/blob/master/AndroidManifest.xml), see below the version name and code concept.
170
+
1. Bump the version name and version code in the [AndroidManifest.xml](https://github.com/nextcloud/android/blob/master/AndroidManifest.xml), see chapter 'Version Name and number'.
161
171
2. Create a [release/tag](https://github.com/nextcloud/android/releases) in git. Tag name following the naming schema: ```stable-Mayor.Minor.Hotfix``` (e.g. stable-1.2.0) naming the version number following the [semantic versioning schema](http://semver.org/)
0 commit comments