Commit graph

120 commits

Author SHA1 Message Date
bronsen
06868361c6 [dependencies] new django release, update all dependencies 2025-04-03 13:53:24 +02:00
bronsen
7028a03f5c [readme] rebuild TOC 2025-03-18 18:32:38 +01:00
bronsen
0b3a0cffb7 [gitignore] ignore generated and purely local files 2025-03-18 14:52:34 +01:00
bronsen
064bf1db36 [readme] add TOC and conform to linter suggestions 2025-03-18 14:47:38 +01:00
bronsen
95905709d9 [readme] some more structure in README file 2025-03-18 11:46:58 +01:00
bronsen
c9cc55e439 [just] explain - in woodpecker recipe 2025-03-18 11:46:15 +01:00
bronsen
2070318ced [dependencies] add pymarkdownlnt to lint markdown files
mind the package name: it is pymarkdonlnt (l-n-t)
2025-03-18 11:45:42 +01:00
bronsen
61a414e3ac [project meta,pdm] move version information to config package 2025-03-18 11:35:16 +01:00
bronsen
56bbb93b1f [project] bump version to 2025.03.3
let's try to add a git tag as well
2025-03-18 00:48:20 +01:00
bronsen
83c1d767a8 [readme] resolve reference to [woodpecker-cli] 2025-03-18 00:23:16 +01:00
bronsen
c60b494879 [flair] generate badges from pytest and coverage reports
dev only, doesn't yet need to run on CI
2025-03-18 00:18:31 +01:00
bronsen
60344a0cf5 [tests,dependencies] install and configure coverage reports
The reports will be printed on the terminal and written in xml.

A new just recipe is added as well: `just cov`

closes: 
2025-03-18 00:15:33 +01:00
bronsen
fe28b914be [readme] add badge for hypothesis 2025-03-17 19:09:52 +01:00
bronsen
ef708485a3 [readme] fiddle with texts, extend some sections, add a badge from ci.cbo 2025-03-17 18:55:11 +01:00
bronsen
848322f1d1 [test codestyle] shorten variable name for intentional similarity 2025-03-17 18:34:43 +01:00
bronsen
ff18fc8994 [dependencies] add comments explaining why we added those dev dependencies 2025-03-17 18:27:38 +01:00
bronsen
719d4254b2 [collector] ensure model manager retrieves newest Teil first
closes: 
2025-03-17 18:16:16 +01:00
bronsen
bcf6dff1b0 [tests,dependencies] capture logs with help from structlog and forget about logot
Closes 
2025-03-17 17:53:34 +01:00
bronsen
6de8b07d1b [just] validate templates when linting django
The is from package django_extensions
2025-03-17 17:13:49 +01:00
bronsen
1b157f2d34 [just] add new target to recalculate/update and then sync dependencies 2025-03-17 17:12:56 +01:00
bronsen
cd693e6014 [tests] WIP
re 
2025-03-15 23:15:46 +01:00
bronsen
a0a2b1ea53 [codestyle] rename variable 2025-03-15 22:48:43 +01:00
bronsen
7c825e15cf [test] widen scope of random-name fixture 2025-03-15 22:33:14 +01:00
bronsen
16503bea7a [codestyle] add type hint to fixture, indicating it is a function that we need to call 2025-03-15 22:30:34 +01:00
bronsen
246c22ce39 [codestyle] shortly explain why we wrap .create() in a transaction 2025-03-15 22:28:46 +01:00
bronsen
aa5d19c5e5 [collector] ensure endpoint only accepts POST requests 2025-03-15 22:26:36 +01:00
bronsen
4605dedc69 [codestyle] compact test functions a little bit 2025-03-15 22:26:01 +01:00
bronsen
051f0b964e [test] add new fixture to generate random strings of given length 2025-03-15 22:25:13 +01:00
bronsen
86ccdd58ee [logs] set up and use structlog in our app 2025-03-15 21:57:13 +01:00
bronsen
2e31cf8047 [settings] remove authenticator settings: we don't have users 2025-03-15 21:56:21 +01:00
bronsen
4d96f60b46 [settings] more robust detection of deployment
Retrieve it only once from env, make it an uppercase string
2025-03-15 21:55:43 +01:00
bronsen
e175071d3b [urls] move urls of collector up to top level 2025-03-15 21:54:37 +01:00
bronsen
2f8db3c67d [codestyle] taplo wants "pythonpath" to be a list of strings 2025-03-15 21:54:11 +01:00
bronsen
f27dc5a0d3 [test] tell pytest about the logot capturer
...which we do not yet use at this point
2025-03-15 21:53:41 +01:00
bronsen
2163a425fd [dependencies] add structlog packages, also for django and pytest 2025-03-15 21:52:57 +01:00
bronsen
41a8cb5836 [collector] templates now render html5
closes 
2025-03-15 13:28:41 +01:00
bronsen
3cd0aa3932 [collector] rename Views and urls 2025-03-15 13:28:41 +01:00
bronsen
6e078fe03d [just] ignore errors from linting workflow files
This assumes the error stems from not having woodpecker-cli installed or
not having it configured
2025-03-15 00:05:18 +01:00
bronsen
08cf19a69d [CI] run tests against python 3.13.2 and 3.12.9 2025-03-15 00:00:53 +01:00
bronsen
ef3523082a [just] add new lint recipe for woodpecker workflows 2025-03-15 00:00:32 +01:00
bronsen
831b86024c [CI service] try a hopefully smaller image for postgres service 2025-03-14 23:29:01 +01:00
bronsen
e60522f364 [CI debug] venv works, pip is happy even as root 2025-03-14 23:28:31 +01:00
bronsen
088eadc272 [CI debug] more fiddling with the venv
perhaps with a venv we don't need to tell pip about root being ok
2025-03-14 23:27:03 +01:00
bronsen
9b5f60b571 [CI] apparently /bin/sh does not know "source" so we try "." 2025-03-14 23:24:02 +01:00
bronsen
a7046d7296 [CI] suppress printing connection instructions
maybe this reduces the log amount a little bit
2025-03-14 23:22:37 +01:00
bronsen
90ad7643cf [CI] dont source venv in a subshell
let's see how that goes
2025-03-14 23:21:46 +01:00
bronsen
5de39ad077 Revert "[CI] don't use a venv in test step"
This reverts commit dec838c76d.
2025-03-14 23:20:53 +01:00
bronsen
dec838c76d [CI] don't use a venv in test step 2025-03-14 23:11:42 +01:00
bronsen
76f30befe8 [CI] tell pip again it is ok to run as root
perhaps we using this parameter correctly this time..
2025-03-14 23:09:42 +01:00
bronsen
1d0708f7a1 [CI] another attempt to speed up postgres service 2025-03-14 23:09:42 +01:00