Commit graph

111 commits

Author SHA1 Message Date
15c95ad3d5
build(make): fix qemu Android install with EmbedAssembliesIntoApk
The qemu install path used to crash on startup with
'No assemblies found in files/.__override__/<rid>':
monodroid-glue.cc:757 / SIGABRT. Root cause: the .NET 10 Android
SDK defaults to Fast Deployment in Debug, which ships the APK
without managed assemblies and pushes them at runtime via adb —
not viable on the qemu emulator.

Fix:
- Replace the no-op -p:AndroidEnableFastDeployment=false flag
  (does not exist as an MSBuild property in the .NET 10 SDK) with
  -p:EmbedAssembliesIntoApk=true, which forces the build to
  cross-compile the managed assemblies into native lib_*.dll.so
  libraries for every ABI and pack them into the APK under
  lib/<arch>/. The Mono runtime then loads them directly,
  bypassing the Fast Deployment code path entirely.
- Add CONFIG variable passthrough so 'make qemu-install CONFIG=Release'
  builds an optimised APK for release smoke tests.
- qemu-build now consumes $(CONFIG) instead of hardcoded 'Debug'
  for the APK output path.

Side effect: the Debug APK balloons from ~13 MB (libs only) to
~160 MB (libs + AOT-compiled assemblies for all four supported
ABIs). That is acceptable for the local qemu install path; the
Forgejo release workflow builds Release APKs separately and is
unaffected.

Validated end-to-end on this machine: AVD boots in 109s, the
build produces an APK with lib_*.dll.so for x86_64 (125 MB),
uninstall + reinstall + am start no longer aborts at
monodroid-glue.cc:757 (next test will confirm the app actually
renders, this commit only fixes the Fast Deployment crash).

Also adds qemu-logcat-boot target from the previous edit
(unchanged, documented in this commit message for context).
2026-08-22 05:47:31 +01:00
4b35625cb4
build(make): add qemu Android AVD install targets
Targets for building and installing PostIt.Android (Debug) on the
local postit_test_avd AVD without leaving the terminal:

  make qemu            # run AVD -> wait boot -> build APK -> install
  make qemu-install    # (re)build APK + install (AVD must be running)
  make qemu-build      # build APK alone (no install)
  make qemu-run        # start the AVD in the background
  make qemu-wait-boot  # block until sys.boot_completed=1 (180s timeout)
  make qemu-stop       # adb emu kill

Defaults match the local setup: AVD postit_test_avd on x86_64
(android-x64 RID), adb on emulator-5554, Android SDK at
/opt/android-sdk. All overridable on the command line:

  make qemu POSTIT_RID=android-arm64 ADB_SERIAL=emulator-5556

EMU_HEADLESS=1 disables the emulator window for scripted runs.
qemu-run logs to /tmp/yavsc-emu/<avd>.log.

Validated end-to-end on this machine: AVD booted in 109s on a
loaded system, APK built and installed cleanly. The 'UI not
responsive' warning is the software-rendering fallback when KVM
is busy; it does not block the install.
2026-08-22 05:01:29 +01:00
6e50967702
build(makefile): add 'release' target to automate release branch creation
All checks were successful
Dotnet build and test / log-the-inputs (push) Successful in 16s
Dotnet build and test / build (push) Successful in 7m14s
Paul wanted a Makefile target that:
- takes the target version as an argument (V=1.0.7-rc1),
- creates a release/<V> branch from main,
- runs 'dotnet-gitversion /updateprojectfiles' to bump
  <Version> across all .csproj from git history,
- commits the bump on the release branch (not on main, so
  main stays clean),
- pushes the new branch to origin.

The /src/**/*.csproj paths and CHANGELOG.md are excluded from
Forgejo's protected-branch rule so the bump commit goes
through on the release branch.

The target refuses to run unless the operator is already on
main with a clean working tree — no automatic checkout to
main, so the bump never lands on the wrong branch by
accident.

The version in the branch name (V=...) is an intent label.
The version GitVersion writes into the .csproj is whatever
GitVersion computes from git history (last tag + commit
count), so assembly versions stay truthful even when the
branch name is aspirational.
2026-08-18 17:20:23 +01:00
333b066e66 Identity reloaded 2026-07-05 23:56:10 +01:00
19cf073677 Regenerate the secret 2026-06-19 01:36:08 +01:00
5c6d6ee687 refactoring 2026-06-15 00:33:38 +01:00
a90cdc08b8 docker composes 2026-05-30 15:41:59 +01:00
ba6e188504 Claude me donne confiance. 2026-05-24 00:59:38 +01:00
Paul Schneider
45514010f2 REORG 2026-02-14 16:54:27 +00:00
Paul Schneider
866619c539 init a Dockerfile 2026-02-07 23:44:51 +00:00
Paul Schneider
bcadc733bb refacts 2025-11-16 15:53:13 +00:00
Paul Schneider
bc79e5a674 MEF++ 2025-09-14 02:42:08 +01:00
Paul Schneider
44cbaefa9c User list 2025-08-19 21:32:17 +01:00
Paul Schneider
4226126278 re-init de la liste des migrations 2025-08-18 09:22:09 +01:00
Paul Schneider
94c11e6afa try and trigger the workflow_dispatch event 2025-06-11 14:28:00 +01:00
Paul Schneider
fb48e11bf0 updated 2025-02-24 21:13:25 +00:00
Paul Schneider
36002d8ef8 got Abstraction 2023-03-19 16:02:50 +00:00
Paul Schneider
60bf0f47fe push 2021-06-28 22:35:47 +01:00
Paul Schneider
45d76a2917 new mailling for not confirmed emails 2021-05-30 12:30:39 +01:00
Paul Schneider
eb8b765fc2 NUGETSOURCE 2021-04-05 22:38:59 +01:00
Paul Schneider
54ded64861 make 2021-04-05 02:11:19 +01:00
Paul Schneider
8a15df9b1d ci 2021-04-05 01:13:24 +01:00
f8fa671a0b gitlab ci
and simpler make all
2021-03-16 01:06:06 +00:00
f39d6c48c5 yavsccli target 2021-03-10 01:41:31 +00:00
fe9349160b code hidding 'build' dir 2021-01-02 00:40:55 +00:00
0756b3b2dd fixes a strange restore behavior 2020-11-01 20:28:00 +00:00
1517b48741 Fixing destination file @streaming 2020-10-18 23:00:17 +01:00
ae1ceb71ce implement predefined circles usage 2020-10-17 11:35:15 +01:00
7d7f9bebeb scripting version 2020-10-10 18:29:06 +01:00
ff1444d664 principalement du format de code 2020-09-14 14:31:14 +01:00
aa5549cc4d Restoring publishing target 2020-06-08 02:34:20 +01:00
b7fdf47529 Fixes abstract file name filter 2020-06-07 18:54:38 +01:00
8403798d4d make clean 2020-06-07 16:40:17 +01:00
e289c1bbd9 yavscd in prod 2019-12-11 16:42:07 +00:00
3c0a40b739 yavsc as native binary 2019-12-11 02:50:46 +00:00
c3a6d5ec7e fear ..dll 2019-12-10 09:16:17 +00:00
d76863012c Fixing dev #62 2019-09-27 06:59:20 +01:00
945a41c189 only abstract needed for the moment 2019-09-18 01:43:08 +01:00
36722d338b packaging 2019-06-24 14:41:28 +01:00
9c24e4c66e to be more clear 2019-05-24 20:13:35 +01:00
85dd299f4a some changes 2019-03-17 00:03:04 +00:00
4a314400ab email refacts trying to use creds
+ Admin user deletion from user list
+ Admin send email confirmation message from user list
+ WebSocket minor change
2019-03-07 10:47:04 +00:00
2cf706378e do make, from there too. 2019-01-30 19:29:11 +00:00
3e2178a18d make from root project dir. 2019-01-30 17:10:19 +00:00
ccc91bbf19 files tree made better. 2019-01-01 16:29:36 +00:00
13d66adc08 make watch 2018-12-23 21:08:24 +00:00
41f4b3fabd renewing nuget beans 2018-12-20 16:30:09 +00:00
8fccac76ea make tests 2018-11-28 14:02:45 +00:00
14c1d8b248 make push from solution dir 2018-08-05 14:52:51 +02:00
e1b1347284 refactoring 2018-08-01 06:12:42 +02:00