14:02:44 #startmeeting Development IRC meeting 28 July 2021 14:02:44 Meeting started Wed Jul 28 14:02:44 2021 UTC. The chair is Joubu. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:02:44 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:02:44 The meeting name has been set to 'development_irc_meeting_28_july_2021' 14:02:51 info Nick Clemens, ByWaterSolutions 14:02:54 #topic Introductions 14:02:59 #info Jonathan Druart 14:03:03 #info Andrew Nugged, National Library of Finland, HELSINKI 14:03:04 #info Nick Clemens, ByWaterSolutions 14:03:06 #info Peter (Petro) Vashchuk, National Library of Finland, HELSINKI 14:03:31 #link https://wiki.koha-community.org/wiki/Development_IRC_meeting_28_July_2021 14:03:42 #info tuxayo/Victor Grousset, France 14:03:47 #info Kyle Hall, ByWater Solutions 14:03:52 cait1, tcohen, oleonard? 14:03:52 #info Thomas Dukleth, Agogme, New York City 14:03:59 #info Owen Leonard, Athens County Public Libraries, Ohio, USA 14:04:05 #topic Announcements 14:04:10 I'm here Joubu it just take a long time to type all that :D 14:04:23 #info Marcel de Rooy, Rijksmuseum, Netherlands 14:04:25 I got a reply for the KohaCon21 team, and they sent an email to koha-devel 14:04:30 "Website of Kohacon2021 has been live. Kindly checked and inform then community accordingly." - http://kohacon2021.org 14:04:52 #info KohaCon21 has a website! http://kohacon2021.org 14:05:00 :D 14:05:10 https 14:05:45 https://kohacon2021.org/submissions/ 14:05:46 indeed 14:06:06 Anyone have something to announce? 14:06:14 (that is not related to the roadmap topics) 14:06:50 #topic Update from the Release manager (21.11) 14:07:00 Last week has been a bit chaotic for Jenkins after I pushed bug 17600. But it looks quite stable now. 14:07:00 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17600 enhancement, P5 - low, ---, jonathan.druart+koha, CLOSED FIXED, Standardize the EXPORT 14:07:08 It's still not green, for other reasons (bug 28632 and bug 28585). 14:07:08 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28632 normal, P5 - low, ---, tomascohen, In Discussion , patrons.t fragile on slow boxes 14:07:09 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28585 major, P5 - low, ---, tomascohen, Pushed to master , Cannot search on date fields 14:07:14 Other things coming later (roadmap) 14:07:19 any questions? 14:07:40 #topic Updates from the Release Maintainers 14:07:44 #info Tomas Cohen Arazi, Theke Solutions 14:08:07 I think Kyle is going to announce 21.05.02 soon 14:08:21 #info 20.05x & 20.11.x : last release went well. 14:08:24 others have been announced already I think 14:08:59 #topic Updates from the QA team 14:09:22 #info Katrin Fischer, BSZ, Germany 14:09:26 Trying to QA stuff and filing more bugs as i go :-) 14:09:59 for Kohacon - can/shall I add the link to the webseite? 14:10:13 sorry, was too late :) 14:10:39 QA queue looks reasonable, but we have a lot of bigger patches I think and the NSO and bad bugs are up 14:10:59 cait1: yes I think so 14:11:22 so... no time to rest really 14:11:43 Joubu: do you want to higlight specific ones? 14:11:53 everything is a bit slow for the last weeks, maybe because of the holidays going on? 14:12:22 cait1: not now 14:12:51 I believe it's the summer holidays yes 14:13:00 at least in Europe... but that makes quite a few of the team 14:13:05 we lack QA dynamic 14:13:22 ok, moving on then.. 14:13:28 Status of roadmap projects 14:13:31 #topic Status of roadmap projects 14:13:35 I am going to list some topics on which I'd like to provide some info. 14:13:43 About the following two topics: 14:13:46 * Remove Mod/AddItemFromMarc from item form 14:13:49 * Refactor BackgroundJobs into Tasks 14:13:58 I have spent several days working on adapting batchMod.pl (aka batch item deletion and modification) to use the task queue/Koha::BackgroundJobs. See bug 28445. 14:13:58 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28445 enhancement, P5 - low, ---, jonathan.druart+koha, Needs Signoff , Use the task queue for the batch delete and update items tool 14:14:04 The changes look great to me, and I really would like to see it pushed ASAP. 14:14:09 I remind you that we removed the progress bar on the batch item mod for 21.05.00 which makes it high priority for 21.11. 14:14:29 There is a commit message with all the details and a complete test plan on bug 28445 comment 8. There is also a remote branch (on my gitlab) with all the patches applied. 14:14:32 Please test and provide me feedback :) 14:14:49 Joubu++ 14:14:49 And, it's fun to test! 14:14:57 I'll be more available for testing in early August 14:15:09 and Joubu++ for pushing those projects :) 14:15:14 Joubu++ 14:15:40 any questions about this? 14:16:00 * Improve the update database proces 14:16:05 I really need this ASAP - bug 25078, please? 14:16:05 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25078 enhancement, P5 - low, ---, jonathan.druart+koha, Signed Off , Update DB process - wrap each DBRev inside a transaction and better error handling 14:16:38 And, as I am RM and I am the one that bothers, I might push it without PQA stamp (what I would like to avoid) 14:17:02 Any objections about this move? 14:17:15 Joubu I will QA it 14:17:22 thx khall! 14:17:32 #action khall QA 25078 14:17:34 :D 14:17:39 * Improve our "news" module 14:17:47 Bug 22544 has been pushed and bug 24387 is waiting for QA 14:17:47 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22544 enhancement, P5 - low, ---, jonathan.druart+koha, RESOLVED FIXED, Move C4:NewsChannels to Koha namespace 14:17:48 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24387 enhancement, P5 - low, ---, jonathan.druart+koha, Signed Off , Rename News tool 14:18:37 This is a nice move as well. It extends (at least better than now) the "news" area/code/db/ui to handle several type of content 14:18:53 it's still not perfect but goes into the right direction IMO 14:19:30 QAers, action? 14:20:24 * Get rid of non-XSLT views 14:20:28 Bug 12561 is ready for testing! 14:20:28 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12561 enhancement, P5 - low, ---, jonathan.druart+koha, Needs Signoff , Remove non-XSLT views 14:20:43 We have been waiting for this one for.... 14:20:50 push it 14:20:50 10 years? 14:20:53 ho, 7 years 14:20:58 please, test it! 14:21:00 Oh I didn't see that... I'll test it today 14:21:00 I'd like ti test it 14:21:27 #action oleonard is going to test 12561 14:21:31 thx! 14:21:38 * Remove remaining SQL based installers (fr-FR, fr-CA, nb-NO) (bug 27829) 14:21:38 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27829 enhancement, P5 - low, ---, koha-bugs, NEW , [OMNIBUS] Remove specific LANG installer data 14:21:43 another big moves, cannot wait for too long 14:21:47 I want it for 21.11 14:21:55 Bug 27101 is ready for testing and bug 27622 needs bug 18984 first. 14:21:55 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27101 enhancement, P5 - low, ---, jonathan.druart+koha, Needs Signoff , Remove fr-CA installer data 14:21:56 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27622 minor, P5 - low, ---, magnus, NEW , Remove nb-NO installer data 14:21:57 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18984 enhancement, P5 - low, ---, jonathan.druart+koha, Needs Signoff , Remove support for NORMARC 14:22:03 About fr-FR (bug 27619), Bernardo is working on providing a yaml installer file for UNIMARC frameworks. 14:22:03 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27619 minor, P5 - low, ---, koha-bugs, NEW , Remove fr-FR installer data 14:22:09 The work is huge and will need to be move fast once it's submitted. 14:22:14 wI will keep you in touch! 14:22:20 what will be the work flow ? 14:22:25 but at least we have 2 ready for testing already 14:22:49 everything in the default yml 14:23:05 the strings are extracted, translatable via pootle, etc. 14:23:10 normal workflow for translation 14:23:24 it's already how it works for all other languages, expect those 3 ones 14:23:33 that's why we don't want to keep them anymore 14:23:53 was it your question, marcelr? 14:24:07 +1 14:24:12 hmm and when someone adds notices or other translatable stuff? 14:24:37 marcelr: it's already how it works for a couple of release 14:24:49 just as info: have added the kohacon21 to the website.. still working out sorting in the menu, but proof reading would be nice 14:24:55 marcelr: have a look at installer/data/mysql/en/mandatory/sample_notices.yml 14:25:14 marcelr: we switched all installers already last release, apart from these 3 14:25:17 yeah my question is the language stuff 14:25:24 so if you add a new notice 14:25:35 you need to change the notices.yml or someting and those 3 installers 14:25:44 once they are gone, we can only change the .yml 14:26:24 and the po files will catch it 14:26:33 great 14:26:36 if you have things specific to a language, you can add a custom .sql file 14:26:47 look ad de-DE - we use it to set up some prefs etc. 14:26:55 dateformat and such 14:26:59 bug 13897 was the first move, part of 20.05 14:26:59 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13897 enhancement, P5 - low, ---, bgkriegel, CLOSED FIXED, Use YAML files for installer data 14:27:20 and there is a custom.sql for localization stuffs 14:27:38 installer/data/mysql/localization/de-DE/custom.sql for instance 14:28:27 ok, moving on 14:28:28 * Merge 'issues' and 'reserves' tables with the old* counterparts 14:28:33 There were some movements on bug 25260. Ready for testing again! 14:28:33 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25260 enhancement, P5 - low, ---, tomascohen, Needs Signoff , Merge 'reserves' and 'old_reserves' into a new 'holds' table 14:28:39 tcohen, something to add? 14:29:07 There was a test failure for which help is welcome 14:29:45 Please test! 14:29:46 :-D 14:30:01 tuxayo is saying it's not working ;) 14:30:04 And a new warning about a notice template not found 14:30:05 but still NSO 14:30:23 will check! 14:31:24 * Wiki migration 14:31:38 I am waiting for thd reply to provide a version of what could be the new wiki, for testing 14:31:49 but he pingued me right before the meeting 14:32:16 I saw last weeks email today. Last week I had to meet with my new landlord. 14:32:30 tuxayo you need to start over with ALL the patches applied 14:32:34 my main concern with your approach is the lack of versioning 14:32:48 it is not a 'rename this thing' atomic update (the last patch) 14:33:03 updating a .tar.gz with a bunch of directories and files make changes hard to follow 14:34:24 Versioning has been primitive and included a partial archive of image files etc. from the current wiki which I have moved over time. 14:35:18 thd: waiting for your reply by email 14:35:53 Changes have been documented in a changelog file but obviously not proper version control. 14:36:18 rm the unecessary files; git init; git add .; git commit -m"init" 14:36:20 then we are good :) 14:36:50 Should we approach another topic from the roadmap? 14:37:01 Did I miss one with activity on it? 14:37:34 I think I will reorder the different topics and move some of them down. Those that are lacking interest 14:38:10 ok 14:39:56 No other topics? Only "mine"? 14:40:04 :) 14:40:11 Good, easy to choose then :) 14:40:16 you are the roadmap 14:40:37 :D 14:40:47 #topic Actions from last meeting 14:40:51 * ashimema Talk to key players about message passing for alerts 14:41:00 we have been seeing this one for weeks 14:41:11 #action ashimema Talk to key players about message passing for alerts (last postpone) 14:41:17 #topic General development discussion (trends, ideas, ...) 14:41:26 #topic Where/how to add helper methods/static methods for objects - Bugs 28709, 20817 14:41:31 kidclamp? 14:41:39 Hello 14:41:41 kidclamp sent an email to koha-devel about that 14:42:00 We just need a decision about where/ow to add these methods 14:42:04 probably there is no generic answer 14:42:06 I bet everybody read it and have excellent suggestions 14:42:09 :-) 14:42:29 Of course! https://lists.koha-community.org/pipermail/koha-devel/2021-July/046618.html 14:42:40 I would start with: if you have "Util[s]" in the name of the module, you are wrong 14:42:46 because it's too generic 14:42:47 Essentially, shoudl helper methods that don't use the objects be added to the Object modules, or a Util module 14:43:06 (and yes, I am the one who started C4::Utils) 14:43:11 imo a small helper method could be in the same module? 14:43:48 move it when it is needed on larger scale ? 14:44:34 Joubu: C4/Utils is a great name ;) 14:45:18 I had the same problem with 28445. Koha::Items->batch_update is calling a "apply_regex" method 14:45:32 but Koha::Items->apply_regex does not make sense (it's where it is, still...) 14:45:51 and it's hard to find another place because we don't have "generic but not to generic" modules 14:45:58 too* 14:46:35 Joubu this is why static methods exist in OOP, to keep related methods within the same class 14:47:15 it should be static and private then 14:47:35 but the apply_regex actually apply a regex on any strings :) 14:47:42 https://gitlab.com/thekesolutions/plugins/koha-plugin-innreach/-/blob/master/Koha/Plugin/Com/Theke/INNReach/Normalizer.pm 14:47:46 so it shouldn't belong to Koha::Items 14:47:50 that one could move 14:48:01 sample OO class for munging strings 14:48:01 but all can move :) 14:48:05 that was my point 14:48:23 depends if you think it will be used elsewhere too 14:48:31 this sounds like that 14:48:46 not just a private thingy 14:49:05 yeah, in this example, custom_cover_image_url would *not* be privige 14:49:53 but there's no reason to move it out of Koha::Biblio, it can and imo should be a static method since the code relates directly to Biblios 14:50:16 good case for keeping it 14:50:22 because you could get the url for an item? :) 14:50:29 cover images are for items as well now 14:51:02 so imo it should be part of a Koha::CoverImage[::Local?] module 14:51:06 and be a static method 14:51:53 Sorry, have to leave a little early 14:53:01 * kidclamp can be convinced either way - I just want a path to PQA :-P 14:53:39 I don't care about your example, it can go however you want 14:53:57 but it would be good to discuss the problem, because it's global 14:54:10 we are recreating the "monolithic modules" problem we had with C4 14:54:50 "holdability calculation" business exploded in different Koha:: classes, etc. for instance 14:55:30 ok ok 14:55:50 I think we need to discuss case by case, sorry 14:55:55 a monologue was not the point, and I don't try to convince any of you about where we should have the image_url method 14:56:17 Koha is a mess before C4 disappears? 14:56:23 Joubu if I module gets to big, we can break it up, but there's no reason to create a new module to hold one sub 14:57:38 there are reasons 14:57:43 he, design reasons 14:57:46 it was an example 14:57:56 if you consider cover images as resources 14:58:01 Koha::Patron->queue_notice # this is not a patron business 14:58:22 we could make them fit the RESTful API design and be embeddable, etc 14:58:27 (and that's only an other example) 14:58:31 we could have a conference about these 14:59:10 like Koha::Item->cover_images return an array of Koha::CoverImage objects that know how to render themselves on an API response 14:59:31 cool 15:00:36 kidclamp: go with that, and open another bug report, please? 15:00:45 "with that" => your version 15:01:01 moving on? 15:01:13 #topic Can we move forward on Bug 28376 - Replace obsolete jquery-ui-timepicker-addon? 15:01:13 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28376 enhancement, P5 - low, ---, oleonard, In Discussion , Replace obsolete jquery-ui-timepicker-addon 15:01:18 oleonard: ? 15:01:28 (yes, replace) 15:01:40 I don't know if anyone has had a chance to look, but I've added a revised patch 15:01:57 It makes some improvements to integration and provides more examples of implementation 15:01:59 not yet, but I will 15:02:22 I'm very happy so far with its functionality 15:02:29 Joubu: okay for me, but bug 28071? and there is another recently complaining og utl 15:02:29 04Bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28071 new feature, P5 - low, ---, koha-bugs, NEW , Ability to batch remove titles from a list 15:02:34 of util 15:02:38 if you are happy, we will be happy for sure :) 15:03:20 What kind of consensus do we want before it moves forward? 15:04:06 if it is looking good, works correctly, what else? 15:04:11 +1 15:04:22 Joubu you mentioned (yet) another library 15:04:33 It's a major change, so I wasn't sure if we wanted more than just a signoff. 15:05:06 if we want it into 21.11 it should be included soon 15:05:10 I'm hoping that we can start looking at replacing jQueryUI altogether as a next step. 15:07:07 I will try next week, oleonard 15:07:27 #topic Set time of next meeting 15:07:55 #info Next meeting: 11 August 2021, 14 UTC 15:08:21 #endmeeting