IRC log for #koha, 2023-02-01

← Previous day | Today | Next day → | Search | Index

All times shown according to UTC.

Time Nick Message
04:09 fridolin joined #koha
05:54 dcook @later tell ashimema You know me... if there's something weird and obscure, I'll obsess over it for hours. Fun playing with the Makefile in the end...
05:54 huginn dcook: The operation succeeded.
07:21 magnuse__ dcook++
07:21 magnuse \o/
07:29 Joubu obsession++ :D
07:39 reiveune joined #koha
07:39 reiveune hello
07:39 wahanui hello, reiveune
07:41 thibaud_g joined #koha
07:55 Joubu @later tell tcohen do you agree with dcook on 32612?
07:55 huginn Joubu: The operation succeeded.
07:58 alex_ joined #koha
07:59 alex_ Bonjour
08:04 thibaud_g joined #koha
08:15 cait joined #koha
08:22 Joubu ashimema, tcohen: /api/v1/patrons?_page=1&_per_page=20&q=[{"​-and":[[{"me.sort1":{"like":"%foo%"}}]]}]
08:22 Koha::Patron->to_api_mapping: 1962         sort1               => 'statistics_1',
08:22 Is this supposed to work? (it works)
08:22 ashimema er...
09:07 lds joined #koha
09:08 lds hi
09:47 thibaud_g joined #koha
09:56 * ashimema is testing Makefile.PL changes.. and realises it's absolutely ages since I've run through an install from source
10:30 fridolin left #koha
11:13 Joubu @later tell tcohen where are we at moving our rest api specs to openapi v3? no bug number yet it seems
11:13 huginn Joubu: The operation succeeded.
11:24 oleonard Hi #koha
11:32 khall joined #koha
11:35 ashimema hi oleonard
11:35 wahanui hi oleopard
11:59 hammat_ joined #koha
12:04 tcohen hola #koha
12:05 Joubu: I haven't filed a bug for that yet
12:07 Joubu tcohen: what about the other question? sort1 vs statistics_1
12:08 * cait waves
12:08 tcohen sorry, I read my backlog in reverse order LOL
12:08 why are we building KTD this often?
12:08 is it built on each push to master??
12:09 we need to save the planet
12:09 Joubu tcohen: push to misc4dev and qa-tools IIRC
12:09 tcohen ah, ok
12:09 I mean...
12:09 about dcook's comment
12:10 it is correct and the most elegant way to do it but...
12:10 I still don't like that we don't have a nice way to patch configs...
12:11 Joubu won't it be overridden on upgrade?
12:11 tcohen no
12:11 Joubu log4perl config?
12:12 tcohen we tweak it in koha-common.postinst
12:12 neverming
12:12 nevermind
12:12 yeah, I agree with dcook
12:12 and it needs to be added in koha-common.postinst
12:12 Joubu ok, it's not nice but it's done
12:13 tcohen I mean, it is what we've come up with a few years ago and we are using it
12:13 exactly
12:16 Joubu: batman (the OpenAPI plugin maintainer) is easily approached on IRC, and he has already downloaded Koha's spec and tried a few things to fix the plugin, so if there's an open problem just contact him
12:17 Joubu I am trying to avoid rabbit holes...
12:18 tcohen he's exactly the opposite
12:18 he acts, fixes, and mtj builds fairly easily
12:19 Joubu given his answer on the bug, V2 is not a much maintained, and we need to focus on the v3 move
12:21 tcohen I read 'this report was about v3, please ask me on IRC or file a new one if it is about v2'
12:23 now that I read the whole thread I think you're correct and there won't be a fix upstream
12:23 so
12:24 maybe we should do it ourselves
12:24 in V1.pm
12:24 V1/Auth.pm
12:25 Joubu yes, my point was: focus on v3 move instead ;) Hence my other question about its status.
12:26 tcohen it should be trivial but boring (because of the splitted files, etc)
12:26 and it will break all plugins implementing endpoints
12:27 so we need a path, maybe release API v2
12:27 Joubu we could define it for each route
12:27 but yes, even more boring
12:27 tcohen on VSCode (which I use) there's a redocly plugin
12:27 that would just convert to v3
12:28 and redocly (which we use for api.koha-community.org) has CLI tools to convert
12:28 when building the site, it actually converts the spec heh
12:28 khall joined #koha
12:50 alex_ joined #koha
12:59 magnuse_ joined #koha
13:03 magnuse__ joined #koha
13:06 paulderscheid[m] Hi #koha
13:06 Don't want to interrupt your discussion but how do I define refs in a koha-plugin?
13:06 I have a solution but I hate it.
13:06 Or better, in a koha-plugin's openapi spec..
13:08 * cait waves
13:09 paulderscheid[m] Hi cait
13:16 alex__ joined #koha
13:24 alex_ joined #koha
13:30 Dyrcona joined #koha
13:34 zb does someone have pointers to documentation on good policies / best practices re deletion/anonymization of old borrowers in koha?
13:37 note to self: https://wiki.koha-community.or[…]nd_patron_privacy seems relevant
13:42 cait zb: I believe the cleanup_database has an option now
13:42 and there is a script for deleting expired patrons
13:42 delete_patrons I think
13:42 you'll need both, a deleted patron is moved from borrowers to deleted_borrowers, eventually you won#t both cleaned up
13:45 zb is it possible to anonymize borrower information after it has been moved to deleted_borrowers?
13:46 (after the “deleting” ie. move has already been done)
13:46 cait I am not sure if we have that at the moment
13:47 it would also be something we'd be interested in
13:47 zb +1
13:47 khall joined #koha
13:47 cait the question might be about defining what info to keep and what to delete
13:47 easier to have a keep-list than a delete-list and make that configurable possibly
14:06 magnuse__ my git-brain is failing me... lets say i have a branch with some commits for local koha-customizations based on koha v20.05.05. now i want to update those commits and have them on top of tag v22.05.09. what is the bast way to do that? merge, rebase, cherry-pick?
14:15 cait git rebae -i now-tag --onto then-tag
14:15 puts yours on top
14:15 git rebase -i v.22.11.01 --onto v22.11.02
14:24 magnuse__ thanks, i'll have a look in that direction!
14:29 cait i always do our brnches this way :)
14:41 magnuse_ joined #koha
14:49 cait joined #koha
14:59 lukeg joined #koha
15:34 cait left #koha
16:01 bag joined #koha
16:04 reiveune bye
16:04 reiveune left #koha
16:28 caroline joined #koha
17:00 emlam joined #koha
17:46 lukeg joined #koha
20:17 caroline joined #koha

← Previous day | Today | Next day → | Search | Index

koha1