Commit graph

84 commits

Author SHA1 Message Date
William Artero
6c5e904e9d
chore: last chance for GHA. I'm about to pull the dagger here
Some checks failed
Integration / metadata (push) Has been cancelled
Integration / lint (push) Has been cancelled
Integration / test (push) Has been cancelled
Security / metadata (push) Has been cancelled
Security / analyze (push) Has been cancelled
Integration / build (push) Has been cancelled
Integration / report (push) Has been cancelled
Integration / container (push) Has been cancelled
Security / security-scan (push) Has been cancelled
Signed-off-by: William Artero <git@artero.dev>
2023-12-06 16:17:03 +01:00
William Artero
6cecec1a1c
chore: updated code climate settings 2023-12-06 10:18:18 +01:00
William Artero
f3c0bcaf4e
ci: ah yes, GH actions path shenanigans, love 'em
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 21:03:32 +01:00
William Artero
19328fabd5
chore: updated make targets with safety checks
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 20:53:42 +01:00
William Artero
8ab292afd7
ci: fix install codecov
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 20:31:52 +01:00
William Artero
fded7eb0d4
chore: exclude xo generated files from Code Climate
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 20:23:42 +01:00
William Artero
fe33ed3d8f
ci: use make report
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 20:23:22 +01:00
William Artero
4939b12291
chore: updated make report targets
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 20:23:08 +01:00
William Artero
bfcce723b8
ci: fixed golang report generation
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 18:51:15 +01:00
William Artero
a1661da6d2
chore: adjusted golang make targets to use variables everywhere
also added a check to enable the integration test if the integration source
path is set (one less variable to configure :D)

Signed-off-by: William Artero <git@artero.dev>
2023-12-05 18:51:15 +01:00
William Artero
0f0ca50e74
chore: go build output needs a trailing slash...
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 18:15:54 +01:00
William Artero
4d1c8fac67
chore: added memoryFS used by some adapter tests
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 18:15:17 +01:00
William Artero
94a5198a37
ci: added code climate settings
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 18:12:16 +01:00
William Artero
0ca4b5bbc4
ci: refactor to use make targets instead of custom actions
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 18:11:59 +01:00
William Artero
2a9d5c762a
chore: updated golang unit test to save run report
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 18:11:31 +01:00
William Artero
b500c48d2c
chore: updated pre-commit dependencies
Signed-off-by: William Artero <git@artero.dev>
2023-12-05 18:10:34 +01:00
William Artero
b7c81a704e
chore: updated pre-commit CI settings with semantic messages 2023-12-05 18:10:18 +01:00
William Artero
1b3172863d
chore: disabled binary UID/GID check due to Docker/Podman divergence
Signed-off-by: William Artero <git@artero.dev>
2023-12-04 20:23:40 +01:00
William Artero
4f1ab5f611
chore: golang make now adds package prefix
Signed-off-by: William Artero <git@artero.dev>
2023-12-04 20:12:45 +01:00
William Artero
c5b0d72443
ci: added codecov upload step
Signed-off-by: William Artero <git@artero.dev>
2023-12-04 19:58:19 +01:00
William Artero
e7d8f76f12
chore: added codecov configuration
Signed-off-by: William Artero <git@artero.dev>
2023-12-04 19:58:19 +01:00
William Artero
25c15bbf10
refactor: split Makefile by topics
Signed-off-by: William Artero <git@artero.dev>
2023-12-04 19:58:19 +01:00
William Artero
2169ee96ec
chore: added lint make target
Signed-off-by: William Artero <git@artero.dev>
2023-12-04 18:13:05 +01:00
William Artero
8cda7d03db
chore: updated vscode settings + added cspell standalone config
Signed-off-by: William Artero <git@artero.dev>
2023-12-04 18:06:40 +01:00
William Artero
9ca1161c9b
refactor: renamed telemetry error to use standard Err prefix
Signed-off-by: William Artero <git@artero.dev>
2023-12-04 18:04:26 +01:00
William Artero
236666ef71
refactor: dropped rest API interface
Signed-off-by: William Artero <git@artero.dev>
2023-12-04 18:03:21 +01:00
William Artero
19d239b1c0
refactor: merged Badger cache and store
now there's a persistence interface for solutions that double as both cache
and store. This allows a DRY implementation of constructors.

Signed-off-by: William Artero <git@artero.dev>
2023-12-04 18:01:29 +01:00
William Artero
709a7c417b
refactor: MediaLister interface
Added constructor to do early checks on the provided tracker and mapper.
This way we avoid checking those pointers on each method.

Signed-off-by: William Artero <git@artero.dev>
2023-12-04 17:57:06 +01:00
William Artero
85c718c648
refactor: MediaLister Close now uses errors.Join
one less branch to test!

Signed-off-by: William Artero <git@artero.dev>
2023-12-04 17:24:02 +01:00
William Artero
e3a4f5647b
chore: dropped MapID dead method from Mapper
Signed-off-by: William Artero <git@artero.dev>
2023-12-04 17:20:58 +01:00
William Artero
dfd0378e94
fix: removed pyroscope/pprof PoC for now
Signed-off-by: William Artero <git@artero.dev>
2023-12-04 17:09:45 +01:00
William Artero
a969b234fd
test: added JSON local provider unit tests 2023-09-03 13:27:20 +02:00
William Artero
ed5a8eef68
chore: updated JSON local provider to fit the new interface 2023-09-03 13:27:02 +02:00
William Artero
2a88807b01
refactor: moved telemetry environment from constants and code to environment variables 2023-09-03 13:25:50 +02:00
William Artero
b8ab58f43c
chore: added OTEL configuration for the fly instance 2023-09-03 13:22:36 +02:00
William Artero
6d7f474b7a
docs: added OpenAPI definition and reference in the readme 2023-08-26 14:34:48 +02:00
William Artero
c706c45673
chore: added test request targets 2023-08-26 02:55:28 +02:00
William Artero
cd0e4beb43
chore: added CA certificates and temp data path to image 2023-08-26 02:55:16 +02:00
William Artero
c2b376fc1f
fix(stores/badger): ignore empty ids on bulk media request 2023-08-26 02:53:17 +02:00
William Artero
6c29817d07
fix: cached adapter hit check 2023-08-26 02:52:34 +02:00
William Artero
6536ef4d4d
chore: removed hardcoded cache folder paths 2023-08-26 02:52:14 +02:00
William Artero
de9735c13f
chore: get server host from environment 2023-08-26 02:51:35 +02:00
William Artero
29225663fa
chore(telemetry): added support for optional instrumentation 2023-08-26 02:51:13 +02:00
William Artero
0896a6eb02
chore: added envs to fly config 2023-08-26 01:37:35 +02:00
William Artero
529e3a5c43
chore: added docs and run image targets 2023-08-26 01:37:17 +02:00
William Artero
331d964f2c
chore: added buildkit cache for docker build layer 2023-08-26 01:36:33 +02:00
William Artero
5f43d8c9cd
chore(handler): dropped RedisOptions from wired code 2023-08-26 01:35:18 +02:00
William Artero
da5fedcbaa
chore: added WithInMemory option for badger caches 2023-08-26 01:34:36 +02:00
William Artero
05f3d07d7e
feat: added badger as a store 2023-08-26 01:34:20 +02:00
William Artero
fcccbc29eb
chore: changed anilist HTTP client limiter logic to return 429 instead of blocking the request 2023-08-25 19:52:45 +02:00