Skip to content

Commit 4cf97d4

Browse files
committed
Merge remote-tracking branch 'origin/develop' into bugfix/eric/softlogout-ux-broken
# Conflicts: # matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/DefaultAuthenticationService.kt # matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/registration/DefaultRegistrationWizard.kt # vector/src/main/java/im/vector/app/features/login/LoginActivity.kt # vector/src/main/java/im/vector/app/features/signout/soft/SoftLogoutController.kt
2 parents fe27451 + abea685 commit 4cf97d4

File tree

1,851 files changed

+40757
-14073
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,851 files changed

+40757
-14073
lines changed

.editorconfig

Lines changed: 901 additions & 901 deletions
Large diffs are not rendered by default.

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,14 @@ body:
7373
- 'No'
7474
validations:
7575
required: true
76+
- type: dropdown
77+
id: pr
78+
attributes:
79+
label: Are you willing to provide a PR?
80+
description: |
81+
Providing a PR can drastically speed up the process of fixing this bug. Don't worry, it's still OK to answer 'No' :).
82+
options:
83+
- 'Yes'
84+
- 'No'
85+
validations:
86+
required: true

.github/ISSUE_TEMPLATE/enhancement.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,14 @@ body:
3434
placeholder: Is there anything else you'd like to add?
3535
validations:
3636
required: false
37+
- type: dropdown
38+
id: pr
39+
attributes:
40+
label: Are you willing to provide a PR?
41+
description: |
42+
Don't worry, it's still OK to answer 'No' :).
43+
options:
44+
- 'Yes'
45+
- 'No'
46+
validations:
47+
required: true

.github/ISSUE_TEMPLATE/release.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,34 @@ body:
4949
5050
### Once tested and validated internally
5151
52-
- [ ] Create a new beta release on the GooglePlay console and upload the 4 signed Apks.
52+
- [ ] Create a new open testing release on the GooglePlay console and upload the 4 signed Apks.
5353
- [ ] Check that the version codes are correct
5454
- [ ] Copy the fastlane change to the GooglePlay console in the section en-GB.
55-
- [ ] Push to beta release to 100% of the users
56-
- [ ] Notify the F-Droid team so that they can schedule the publication on F-Droid
55+
- [ ] Push the open testing release to 100% of the users
56+
- [ ] Notify the F-Droid team [here](https://matrix.to/#/!LAAuJLQXYHjMNWKrCK:matrix.org?via=matrix.org&via=bubu1.eu&via=lant.uk) so that they can schedule the publication on F-Droid
57+
- [ ] The application is available to the PlayStore testers (live). Google can take between 1 hour and up to 7 days to approve the release.
58+
- [ ] The application is available to the F-Droid users.
5759
58-
### Once Live on PlayStore
60+
### Once open testing is live on PlayStore
5961
6062
- [ ] Ping the Android public room and update its topic
61-
- [ ] Add an entry in the internal diary
6263
63-
### After at least 2 days
64+
### Once Live on F-Droid
65+
66+
- [ ] Update the Android public room topic
67+
68+
### After at least 2 days (generally next Monday)
6469
6570
- [ ] Check the [rageshakes](https://github.com/matrix-org/element-android-rageshakes/issues)
6671
- [ ] Check the crash reports on the GooglePlay console
6772
- [ ] Check the Android Element room for any reported issues on the new version
68-
- [ ] If all is OK, push to production and notify Markus (Bubu) to release the F-Droid version
69-
- [ ] Ping the Android public room and update its topic with the new available version
73+
- [ ] If all is OK, promote the open testing release to production. Generally using a 100% roll out, but can be a smaller value depending on the release content.
74+
- [ ] The application is available to the PlayStore users (live). Google can take (again!) between 1 hour and up to 7 days to approve the release.
75+
76+
### Once production is live on PlayStore
77+
78+
- [ ] Ping the Android public room and update its topic
79+
- [ ] Add an entry in the internal diary
7080
7181
### Android SDK2
7282

.github/workflows/build.yml

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ on:
88
# Enrich gradle.properties for CI/CD
99
env:
1010
CI_GRADLE_ARG_PROPERTIES: >
11-
-Porg.gradle.jvmargs=-Xmx2g
11+
-Porg.gradle.jvmargs=-Xmx4g
1212
-Porg.gradle.parallel=false
13+
--no-daemon
1314
1415
jobs:
1516
debug:
@@ -46,8 +47,9 @@ jobs:
4647
release:
4748
name: Build unsigned GPlay APKs
4849
runs-on: ubuntu-latest
49-
if: github.ref == 'refs/heads/main'
50-
# Only runs on main, no concurrency.
50+
concurrency:
51+
group: ${{ github.ref == 'refs/head/main' && format('build-release-apk-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('build-release-apk-develop-{0}', github.sha) || format('build-debug-{0}', github.ref) }}
52+
cancel-in-progress: ${{ github.ref != 'refs/head/main' }}
5153
steps:
5254
- uses: actions/checkout@v3
5355
- uses: actions/cache@v3
@@ -59,12 +61,34 @@ jobs:
5961
restore-keys: |
6062
${{ runner.os }}-gradle-
6163
- name: Assemble GPlay unsigned apk
62-
run: ./gradlew clean assembleGplayRelease $CI_GRADLE_ARG_PROPERTIES --stacktrace
64+
run: ./gradlew clean assembleGplayRelease $CI_GRADLE_ARG_PROPERTIES --stacktrace
6365
- name: Upload Gplay unsigned APKs
6466
uses: actions/upload-artifact@v3
6567
with:
6668
name: vector-gplay-release-unsigned
6769
path: |
6870
vector/build/outputs/apk/*/release/*.apk
6971
70-
# TODO add exodus checks
72+
exodus:
73+
runs-on: ubuntu-latest
74+
needs: release
75+
steps:
76+
- name: Obtain apk from artifact
77+
id: download
78+
uses: actions/download-artifact@v3
79+
with:
80+
name: vector-gplay-release-unsigned
81+
- name: Show apks in artifact
82+
run: ls -R ${{steps.download.outputs.download-path}}
83+
- name: Execute exodus-standalone
84+
uses: docker://exodusprivacy/exodus-standalone:latest
85+
with:
86+
args: /github/workspace/gplay/release/vector-gplay-universal-release-unsigned.apk -j -o /github/workspace/exodus.json
87+
- name: Upload exodus json report
88+
uses: actions/upload-artifact@v3
89+
with:
90+
name: exodus.json
91+
path: |
92+
exodus.json
93+
- name: Check for trackers
94+
run: "jq -e '.trackers == []' exodus.json > /dev/null || { echo '::error static analysis identified user tracking library' ; exit 1; }"

0 commit comments

Comments
 (0)