Commit Graph
59 Commits
Author SHA1 Message Date
devydaveanddevydave 550c9aa48f test: introduce local integration testing (#902)
continuous-integration/drone/push Build is passing
This PR adds a declarative integration testing setup which includes 2 local VMs client and server which can be started and stopped via a command. The VMs are run with QEMU and created by https://github.com/microvm-nix/microvm.nix
The key pair is generated for this use case and is safe to commit, it resolves the problem that the readFile function can only be used with git tracked files.

---------

Co-authored-by: devydave <yannick-dev@tutanota.com>
Reviewed-on: #902
Reviewed-by: p4u1 <133+p4u1@noreply.git.coopcloud.tech>
Co-authored-by: devydave <bittedanke@tutanota.com>
2026-10-31 08:28:04 +00:00
Linus Gasser 14ee80582a Use go run for xgettext-go
continuous-integration/drone/pr Build is passing
Before: on a mac, the Makefile downloaded a linux file, which did not work
for updating the i18n.

Now: use 'go run' to run the xgettext-go file. go caches it, so it compiles only
once.
2026-06-14 18:28:45 +02:00
decentral1se 7fb9675b1e chore: golang 1.26 && make deps
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2026-04-01 11:25:57 +02:00
decentral1se d88b478503 test: unit tests clean up themselves
continuous-integration/drone/push Build is passing
See #792
2026-04-01 10:47:32 +02:00
decentral1se 2e062899c7 feat: release make target
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2026-03-01 09:42:59 +01:00
decentral1se cf8cd7423d build: trimpath
continuous-integration/drone/push Build is passing
2026-02-20 11:03:16 +01:00
decentral1se 6c1c0a8a8a refactor: use xgettext-go from makefile variable
continuous-integration/drone/push Build is passing
Easier to hack when customising xgettext-go.
2025-10-23 09:26:51 +02:00
decentral1se 964ed834ee refactor!: remove autoupdate (kadabra)
continuous-integration/drone/push Build is passing
2025-10-19 15:46:18 +02:00
decentral1se 3845b40aa3 refactor!: archive kadabra
continuous-integration/drone/push Build is passing
2025-10-19 15:32:38 +02:00
decentral1se 033c9bfc13 feat: msgctxt support
continuous-integration/drone/push Build is failing
See #647
See toolshed/xgettext-go#1
2025-09-30 19:08:52 +02:00
3wordchant acb6170768 Add make find-tests
continuous-integration/drone/push Build is passing
2025-08-28 14:26:27 +00:00
3wordchant c43e68ea6a Fix Makefile & .drone.yml
continuous-integration/drone/push Build is passing
2025-08-27 15:29:45 -04:00
3wordchant d3d3358a79 Sort files for make update-pot
continuous-integration/drone/push Build is failing
2025-08-27 13:00:40 -04:00
3wordchant db5da1656a Semi-automated mass string commenting 2025-08-27 12:54:05 -04:00
3wordchant 5b6254a243 Update check-pot-changes
continuous-integration/drone/push Build is failing
2025-08-27 16:50:27 +00:00
3wordchant e095bbe9d6 Fix check-pot-changes makefile command 2025-08-27 16:50:27 +00:00
3wordchant 82779b233b Move check-pot-changes to Makefile 2025-08-27 16:50:27 +00:00
decentral1se 4e205cf13e feat: translation support
continuous-integration/drone/push Build is passing
See #483
2025-08-23 17:55:56 +02:00
decentral1se 1723025fbf build: go 1.24
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
We were running behind and there were quite some deprecations to update.
This was mostly in the upstream copy/pasta package but seems quite
minimal.
2025-03-16 12:31:45 +01:00
decentral1se d9e60afd71 chore: upgrade go version
continuous-integration/drone/push Build is passing
2024-12-02 01:47:45 +01:00
decentral1se 1f9b863be0 fix: appease formatter, ignore vendor
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-10-21 16:46:39 +02:00
decentral1se 2a5985e44e build: drop 2MB with GCFLAGS [ci skip] 2024-07-27 12:56:43 +02:00
decentral1se ae4653f5e3 build: add full install target [ci skip] 2024-07-13 15:30:38 +02:00
decentral1se 791183adfe build: new deps target 2024-06-19 19:14:31 +02:00
decentral1se 66b40a9189 fix: just run it in place [ci skip] 2023-11-27 11:25:01 +01:00
decentral1se 15857e6453 fix: clean up after cp'ing script [ci skip]
Follows 31e0ed75b0.
2023-11-27 11:21:46 +01:00
decentral1se 31e0ed75b0 build: target for docker building
continuous-integration/drone/push Build is failing
Adapted from coop-cloud/abra#384.

Thanks @cas.
2023-11-27 11:15:59 +01:00
decentral1se a43125701c test: optimise default make target for abra hacking [ci skip] 2023-10-07 10:32:42 +02:00
decentral1se 54dc696c69 build: fix targets for small local builds
continuous-integration/drone/push Build is passing
2023-10-03 09:31:57 +02:00
decentral1se 9b6eb613aa test: woops, keep unit test target default
continuous-integration/drone/push Build is passing
2023-09-21 12:06:41 +02:00
decentral1se 0be532692d test: moar integration tests [ci skip]
continuous-integration/drone/pr Build is failing
2023-09-20 13:51:06 +02:00
decentral1se 25258d3d64 fix: separate abra/kababra makefile targets 2023-09-05 09:58:13 +00:00
decentral1se f55f01a25c build: verbose local builds to show progress 2023-02-11 23:40:47 +01:00
decentral1se 2eebac6fc0 chore: formatting, indentation 2023-02-08 22:59:47 +01:00
moritz e76ed771df feat: kadabra, the app auto-updater (!268)
continuous-integration/drone/push Build is passing
coop-cloud/organising#236

Autoupdater `kadabra` is ready for testing.
It should run on the server, check for available minor/patch updates and automatically upgrade the apps.

Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: coop-cloud/abra#268
2023-02-08 18:53:04 +00:00
decentral1se 7a8c7cd50f ci: drop static check
continuous-integration/drone/push Build is passing
2022-03-27 13:51:40 +02:00
decentral1se afeee1270e test: break up integration, rejig manual 2022-01-19 12:17:09 +01:00
decentral1se 1df69aa259 refactor: more shuffling test infra around [ci skip] 2022-01-02 14:59:46 +01:00
decentral1se 224c0c38db fix: setup git for e2e testing 2022-01-01 22:03:53 +01:00
decentral1se 49f565e5db test: start on integration script
continuous-integration/drone/push Build is passing
2022-01-01 21:36:00 +01:00
decentral1se 87851d26f7 chore: makefile default runs more common tasks 2021-12-31 17:11:54 +01:00
d1admin 2ba6445daa test: go verbose on testing [ci skip] 2021-11-09 11:36:24 +01:00
d1admin 1396f15c78 chore: new loc count by author
continuous-integration/drone/push Build is passing
2021-10-24 18:08:00 +02:00
d1admin d19c56d75b fix: drop file for version handling [ci skip]
See coop-cloud/go-abra#77.
2021-09-07 09:39:12 +02:00
d1admin f59380a35e feat: add new target for LOC stats [ci skip] 2021-09-05 01:57:50 +02:00
roxxers cc9c690cd0 build: added GOPRIVATE export to makefile
continuous-integration/drone/push Build is passing
2021-08-13 13:28:18 +01:00
roxxers 2158dc851c test: makefile now runs all tests recursively
continuous-integration/drone/push Build is passing
2021-07-21 08:56:53 +01:00
roxxers b0c241ae98 bulid: added build-dev option
continuous-integration/drone/push Build is passing
this otion does no optimisations in the compile (removing debug stuff)
2021-07-21 08:20:17 +01:00
d1admin c9ba7aef20 build: reduce binary size with optimisation flags
continuous-integration/drone/push Build is passing
Part of https://git.autonomic.zone/coop-cloud/go-abra/issues/4.
2021-07-20 22:45:49 +02:00
roxxers dee013e4e4 test: added makefile entry for running tests
continuous-integration/drone/push Build is passing
2021-07-19 14:38:19 +01:00