Commit graph

196 commits

Author SHA1 Message Date
renderexpert
2bdf6763ce Add glfw, imgui and cmake metal dependencies
Signed-off-by: renderexpert <expert@renderconsulting.co.uk>
2025-03-13 07:14:16 +03:00
Kuzey Bilgin
95a2cf3bc5 [github] Add stale bot to close very old PRs
Signed-off-by: Kuzey Bilgin <kuzeybilgin@proton.me>
2025-03-08 17:47:37 +00:00
6e37398cf1 [strings] Switch to Weblate
https://github.com/orgs/organicmaps/discussions/4515

Weblate works fine. There is no longer a need to maintain a
homegrown, non-standard translation toolchain.

Categories are not in Weblate yet, but they weren't supported by
the previous toolkit too. This issue can be addressed later.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2025-03-05 18:07:24 +00:00
d21800ec25 [github] Add leading slash (root) to all dirs
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-03-02 16:07:26 +00:00
147e12360c [github] Do not require POI PR reviews from design and data teams
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-02-28 20:02:16 +00:00
f5e61c7f35 [github] Don't require Design team to review each map icon change
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-02-23 16:27:07 +03:00
2b271761c1 [github] Remove explicit CODEOWNERS from translations
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-01-30 19:35:03 +03:00
25a875483e [build] Fix Android versioning
Caused by ee36eb8d1 "Use today's commits count and two numbers"

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2025-01-26 21:41:54 +03:00
77ef2ac0b4 [docs] Add TEAMS and update CODEOWNERS
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2025-01-08 09:24:49 +00:00
e00f33a076 [github] Manage private secrets with GitHub Secrets to enhance security
1. Restore the original simple version of `configure.sh`
   Restores 08e37f4 "Refactor configure.sh"
   Reverts b87ee95b "Fixed configure.sh script and gh actions"

2. Use GitHub Secrets instead of a private git repository to enhance
   security standards and ensure credentials are encrypted and safely
   managed.

3. Document credentials used by GitHub Actions in docs/CREDENTIALS.md

4. Include `network_security_config.xml` directly into the repo
   as it has nothing sensitive.

5. Include Apple WWDR intermediate certificates directly into the repo
   as they are not sensitive and publicly available.
   https://developer.apple.com/help/account/reference/wwdr-intermediate-certificates

6. Add `private.h` in the repository since it does not differ from
   `private_defaults.h`.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-12-27 20:16:52 +00:00
Alexander Borsuk
0694b7b0c1 Removed Enhancement label for new issues in favor of existing "unlabeled issues" filter
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-10-09 22:18:40 +02:00
Alexander Borsuk
7d7e32098c [github] Use Xcode 16 for checks and release builds
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-10-05 21:28:57 -03:00
Alexander Borsuk
5c7f162de7 [github][ios] Increase Xcode version to 15.4 on Github runners
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-29 10:35:38 +02:00
Alexander Borsuk
d24eb11dad [github] Fixed Obtainium typo
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-15 22:46:14 +02:00
Ferenc Géczi
9dc35ee99a [github] Execute drape_tests in CI
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-08-04 14:11:41 +02:00
Ferenc Géczi
ab040b6727 [github] Run appstreamcli in pedantic mode
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-07-09 14:45:00 +02:00
Alexander Borsuk
fa2e52d9cf Add link to Obtanium to GitHub web releases
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-07-09 15:30:07 +03:00
Alexander Borsuk
21776e1987 [github] Check arm32 Android builds too
Do not build many archs on one runner for faster feedback from Github

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-06-08 07:49:32 +02:00
Ferenc Géczi
75b36a661f [qt] Correctly report .desktop file to the compositor
This change is needed for KDE on Wayland and fixes #8351.

1. Renames the `.desktop` to ensure that it corresponds to
   the "reverse DNS" convention (same as the base of the .metadata.xml)
   as mandated by the specification
   https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s02.html

2. Reports the name with `setDesktopFileName`.
   https://doc.qt.io/qt-6/qguiapplication.html#desktopFileName-prop

Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-06-03 23:19:02 +02:00
Ferenc Géczi
2862afbc76 [github] Use sparse checkout & shallow clone everywhere
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-05-27 23:33:24 +02:00
bff4f01af6 fix coverage check
Signed-off-by: Harry Bond <me@hbond.xyz>
2024-05-27 23:11:15 +02:00
Ferenc Géczi
666703e3b2 [github] Validate desktop file
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-05-24 00:11:35 +02:00
Ferenc Géczi
601a3d07d0 [github] Use Ubuntu 24.04 images
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-05-17 09:57:44 +02:00
80720f74a3 [android] Remove the "-rc" tag suffix from the release candidates
Tag Android with `YYYY.MM.DD-x-android` instead of `YYYY.MM.DD-x-android`
to trigger F-Droid pipeline when the release candidate is published.
It typically takes 4-5 days for F-Droid to process submissions. Any
defective release candidates can be withdrawn from the queue by submitting
a merge request to fdroid/data.

Note: Published GitHub releases are still tagged as "pre-release".

See 9520fd8c "Update the Google Play release procedure"

See https://gitlab.com/fdroid/fdroiddata/-/merge_requests/15000

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-05-13 15:11:09 +03:00
Alexander Borsuk
271e712aa6 [linux] Run GlyphLoadingTest on Linux with GUI
Allows to test how fonts are rendered on Linux.

Setting QT_QPA_PLATFORM=offscreen environment var is required on non-GUI servers.

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-27 00:37:03 +02:00
8421449c51 [android] Actualize the list of devices for Monkey
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-04-24 19:52:09 +02:00
8637965a3a [github] implement test running for the ios-check debug job
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-04-17 16:27:48 +02:00
Alexander Borsuk
6d2fd06a8b [github] Use Xcode 15.3 for iOS and MacOX builds
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-14 22:47:15 +02:00
Alexander Borsuk
19278cf97b [github] Fix warning about deprecated action
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-04 08:46:52 +03:00
583bb53bbe
[github] Update FUNDING.yml
See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository#about-funding-files

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-04-04 08:39:36 +03:00
Ferenc Géczi
c214e44ecf [github/workflows]: Use the linter of flathub
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-04-01 13:55:32 +02:00
9520fd8ca5 [android] Update the Google Play release procedure
Before all new Google Play releases were published for phased 10% rollout
in the Production track. Now, a new Google Play release is initially
uploaded into "Closed Beta" track for 100% rollout and then promoted into
"Production" track after testing. The "Closed Beta" track (misleadingly
called "alpha" in the code) is invite-only and currently contains about
~1k users imported Firebase App Tester databases. Invited users can opt in
to install new pre-release versions for testing directly via Google Play.

Android releases are now initially tagged with `YYYY.MM.DD-x-android-rc`
(release-candidate) tags instead of `YYYY.MM.DD-x-android`. The production
`YYYY.MM.DD-x-android` tag is added after promotion in Google Play. This
kicks-off the F-Droid process as well. Huawei's version remains unpublished
until Android gets a green light in Google Play.

This change has two primary outcomes:

1. Users now can receive pre-production ("rc") via Google Play.
   This change uses invite-only "Closed Beta" track, but it can be
   changed to "Open Beta" track later.

2. Android versions in Google Play are now published after pre-production
   testing in a separate track in Google Play. Meanwhile, Google Play
   runs Monkey for free in such tracks and sends useful pre-prod reports.

There are no changes in Firebase App Tester - it works as usual. The primary
difference between App Tester and Google Play Open/Closed Beta is that
AppTester uses "app.organicmaps.beta" applicationId while Google Play uses
"app.organicmaps" id. This efficiently means that versions from App Testers
can be installed in parallel with Google Play, while Google Play's
Open/Closed version update the production app.

Please don't get confused with the word "beta" used in different places.
Google Play Open/Closed Beta actually will receive only pre-production
quality builds. App Tester probably can continue to be used both for
pre-production and ad-hoc experiemental version ("alpha"?).

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-03-31 09:19:39 +03:00
c3fb956309 [android] Generate .sha256sum file for Web release
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-03-30 18:26:41 +02:00
acb37cd805 [android] Run Monkey in the production mode on real devices
The debug mode occasionally fails on random asserts which are not very
critical for the production. The debug mode also does not have R8 enabled,
which causes certain bugs to leak into production. Use Beta instead.

This PR also removes virtual x86_64 devices from the list because they fail
randomly during rendering due to inconsistency of OpenGL emulation.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-03-27 08:35:17 +02:00
Ferenc Géczi
5267207206 [3party] Skip vendored HarfBuzz on Linux (dependency of Qt anyway)
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-03-23 23:00:50 +01:00
Alexander Borsuk
68f61a7c51 [github] Fixed failed iOS action due to removed repo dependency
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-03-23 06:48:55 +01:00
Ferenc Géczi
6aac668a62 [github] Add sane path-ignore rules to coverage check
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-03-05 14:14:32 +02:00
Alexander Borsuk
1ef2649cf2 [github] Update iOS actions to Xcode 15.2 and Mac OS 14
Also fixed path to version generation script.

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-02-13 03:04:10 +02:00
1295570e10 [github] Fix sdk.dir Android configuration
```
Could not find "/usr/local/lib/android/sdk/platform-tools/adb",
it's not an Android SDK path!
```

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-02-06 16:43:16 +02:00
7e4d24f9a5 Revert "[stores] Temporary skip F-Droid to publish urgent hotfix to Google Play"
This reverts commit d23976ead8.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-02-06 16:34:53 +02:00
a9973ec907 [strings] Fix messy formatting of countries_names.txt
This huge diff is necessary to re-enable automatic tooling.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-01-28 12:23:58 +02:00
f4a7b345a7 Add new text in issue templates
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2024-01-21 05:20:33 +02:00
d23976ead8 [stores] Temporary skip F-Droid to publish urgent hotfix to Google Play
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-01-09 17:10:35 +02:00
ec59fa8dda Reduce Android Monkey trigger
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2024-01-07 18:06:38 +02:00
5c7ddbffbf Update Github Actions
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2024-01-06 00:10:34 +01:00
Alexander Borsuk
b3e4d34d2b [github] Fix failing Mac builds and made builds faster
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-12-12 23:09:35 +01:00
Alexander Borsuk
aadb525b7f
[github] Show iOS build version for DSYM artifacts (#6730)
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-29 22:39:33 +01:00
Alexander Borsuk
ae43df9b66 Removed manual symlink creation
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-28 14:11:29 +01:00
Alexander Borsuk
4e56318e6f [github] Use Xcode 15.0.1 for builds
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-28 14:07:44 +01:00
Andrew Shkrob
2d5d68039b [ci] Add test coverage check
Signed-off-by: Andrew Shkrob <andrew.shkrob.social@yandex.by>
2023-11-23 10:28:30 +02:00