<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>A new request with request id 17800 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is : <br><br>Title : Koha-devel Digest, Vol 187, Issue 10<br>Category : <br>Description : <div>Send Koha-devel mailing list submissions to<br>    koha-devel@lists.koha-community.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>or, via email, send a message with subject or body 'help' to<br>    koha-devel-request@lists.koha-community.org<br><br>You can reach the person managing the list at<br>    koha-devel-owner@lists.koha-community.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Koha-devel digest..."<br><br><br>Today's Topics:<br><br>   1. Re: Notes about Docker Swarm / Portainer and Koha<br>      (dcook@prosentient.com.au)<br>   2. Sharing installation method with Hea (dcook@prosentient.com.au)<br>   3. Re: Sharing installation method with Hea (Victor Grousset/tuxayo)<br>   4. Re: Sharing installation method with Hea<br>      (dcook@prosentient.com.au)<br>   5. Perl syntax for strings (Fridolin SOMERS)<br>   6. some thoughts on #28519 regarding lib (Thomas Klausner)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 15 Jun 2021 09:42:52 +1000<br>From: <dcook@prosentient.com.au><br>To: "'Tomas Cohen Arazi'" <tomascohen@gmail.com>, "'koha-devel'"<br>    <koha-devel@lists.koha-community.org><br>Subject: Re: [Koha-devel] Notes about Docker Swarm / Portainer and<br>    Koha<br>Message-ID: <00fd01d76176$fdd774f0$f9865ed0$@prosentient.com.au><br>Content-Type: text/plain; charset="utf-8"<br><br>Sounds like a plan to me.<br><br> <br><br>David Cook<br><br>Software Engineer<br><br>Prosentient Systems<br><br>Suite 7.03<br><br>6a Glen St<br><br>Milsons Point NSW 2061<br><br>Australia<br><br> <br><br>Office: 02 9212 0899<br><br>Online: 02 8005 0595<br><br> <br><br>From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Tomas Cohen Arazi<br>Sent: Saturday, 12 June 2021 1:05 AM<br>To: koha-devel <koha-devel@lists.koha-community.org><br>Subject: [Koha-devel] Notes about Docker Swarm / Portainer and Koha<br><br> <br><br>Hi all, for the 21.05 release, I proposed to launch the API docs site [1]. I did it on Theke's infrastructure for simplicity, but then started thinking how management could be handed to the community.<br><br> <br><br>This site is provided by a docker image [2] that is built on each change on the Koha community repository. This is triggered by webhooks.<br><br> <br><br>With the idea that this image should be deployed in production automatically, I deployed a Portainer service. Portainer would let us configure and deploy (dockerized) services in a fairly easy way, has an API, and also provides webhooks for triggering things like redeploying/updating (what I needed for api.koha-community.org <http://api.koha-community.org> ).<br><br> <br><br>Right now this is running under Theke's umbrella, but my idea is to hand this to the community, especially those running the services we use. The short term plan would be to:<br><br> <br><br>1. Have the following domains point to the server we are providing:<br><br>- traefik.koha-community.org <http://traefik.koha-community.org> <br><br>- portainer.koha-community.org <http://portainer.koha-community.org> <br><br>- api.koha-community.org <http://api.koha-community.org> <br><br> <br><br>2. Migrate Jenkins into this server/setup<br><br> <br><br>3. Anyone running server for community purposes, can make them join this 'swarm' so we can use them.<br><br> <br><br>4. There will be some community members with admin access to this, so we can all do maintenance tasks like restarting a service, etc.<br><br> <br><br>5. Help is needed regarding backups and how we want to deal with that.<br><br> <br><br>We volunteer to help anyone running community sites migrate to this schema. <br><br> <br><br>[1] https://api.koha-community.org<br><br>[2] https://gitlab.com/koha-community/koha-api-docs/-/pipelines/316321820<br><br><br><br><br> <br><br>-- <br><br>Tomás Cohen Arazi<br><br>Theke Solutions (http://theke.io <http://theke.io/> )<br>✆ +54 9351 3513384<br>GPG: B2F3C15F<br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210615/63a997ea/attachment-0001.htm><br><br>------------------------------<br><br>Message: 2<br>Date: Tue, 15 Jun 2021 09:47:22 +1000<br>From: <dcook@prosentient.com.au><br>To: "'koha-devel'" <koha-devel@lists.koha-community.org><br>Subject: [Koha-devel] Sharing installation method with Hea<br>Message-ID: <010701d76177$9eeaa7e0$dcbff7a0$@prosentient.com.au><br>Content-Type: text/plain; charset="utf-8"<br><br>Hi all,<br><br> <br><br>I was looking at https://hea.koha-community.org/systempreferences to view<br>the different versions of Koha out there, and it got me thinking how it<br>would be nice to know how people install Koha.<br><br> <br><br>I imagine that we all think that the majority of people use the Debian<br>packages, but it would be good to know. <br><br> <br><br>What do people think?<br><br> <br><br>David Cook<br><br>Software Engineer<br><br>Prosentient Systems<br><br>Suite 7.03<br><br>6a Glen St<br><br>Milsons Point NSW 2061<br><br>Australia<br><br> <br><br>Office: 02 9212 0899<br><br>Online: 02 8005 0595<br><br> <br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210615/725c8c6c/attachment-0001.htm><br><br>------------------------------<br><br>Message: 3<br>Date: Tue, 15 Jun 2021 07:09:21 +0200<br>From: Victor Grousset/tuxayo <victor@tuxayo.net><br>To: koha-devel@lists.koha-community.org<br>Subject: Re: [Koha-devel] Sharing installation method with Hea<br>Message-ID: <aff3b159-22ad-9237-dd97-ddf4bd31d8e5@tuxayo.net><br>Content-Type: text/plain; charset=windows-1252; format=flowed<br><br>Hi :)<br><br>On 21-06-15 01:47, dcook@prosentient.com.au wrote:<br>> I was looking at https://hea.koha-community.org/systempreferences <br>> <https://hea.koha-community.org/systempreferences> to view the different <br>> versions of Koha out there, and it got me thinking how it would be nice <br>> to know how people install Koha.<br>> <br>> I imagine that we all think that the majority of people use the Debian <br>> packages, but it would be good to know.<br>> <br>> What do people think?<br><br>Does Koha already have data that would allow to deduce the install method?<br>If not, how to infer that for Debian packages?<br>For a git install, checking for a .git is enough.<br><br>Cheers,<br><br>-- <br>Victor Grousset/tuxayo<br><br><br>------------------------------<br><br>Message: 4<br>Date: Tue, 15 Jun 2021 16:04:42 +1000<br>From: <dcook@prosentient.com.au><br>To: "'Victor Grousset/tuxayo'" <victor@tuxayo.net>,<br>    <koha-devel@lists.koha-community.org><br>Subject: Re: [Koha-devel] Sharing installation method with Hea<br>Message-ID: <015001d761ac$55a6c160$00f44420$@prosentient.com.au><br>Content-Type: text/plain;    charset="utf-8"<br><br>I was wondering if Koha already had that data, but I'm not so sure.<br><br>I am thinking that "make install" would perhaps create a file containing the index method, and the Debian package build could overwrite that. <br><br>David Cook<br>Software Engineer<br>Prosentient Systems<br>Suite 7.03<br>6a Glen St<br>Milsons Point NSW 2061<br>Australia<br><br>Office: 02 9212 0899<br>Online: 02 8005 0595<br><br>-----Original Message-----<br>From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Victor Grousset/tuxayo<br>Sent: Tuesday, 15 June 2021 3:09 PM<br>To: koha-devel@lists.koha-community.org<br>Subject: Re: [Koha-devel] Sharing installation method with Hea<br><br>Hi :)<br><br>On 21-06-15 01:47, dcook@prosentient.com.au wrote:<br>> I was looking at https://hea.koha-community.org/systempreferences<br>> <https://hea.koha-community.org/systempreferences> to view the <br>> different versions of Koha out there, and it got me thinking how it <br>> would be nice to know how people install Koha.<br>> <br>> I imagine that we all think that the majority of people use the Debian <br>> packages, but it would be good to know.<br>> <br>> What do people think?<br><br>Does Koha already have data that would allow to deduce the install method?<br>If not, how to infer that for Debian packages?<br>For a git install, checking for a .git is enough.<br><br>Cheers,<br><br>--<br>Victor Grousset/tuxayo<br>_______________________________________________<br>Koha-devel mailing list<br>Koha-devel@lists.koha-community.org<br>https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/<br><br><br><br><br>------------------------------<br><br>Message: 5<br>Date: Tue, 15 Jun 2021 10:19:12 +0200<br>From: Fridolin SOMERS <fridolin.somers@biblibre.com><br>To: koha-devel <koha-devel@lists.koha-community.org><br>Subject: [Koha-devel] Perl syntax for strings<br>Message-ID: <a8a9e336-e84d-f067-8b86-abedd038064d@biblibre.com><br>Content-Type: text/plain; charset=utf-8; format=flowed<br><br>Hi,<br><br>I see in Perl code some cases where a string in written with a space <br>between q or qq or qw and string.<br>Like : qq /foo bar/ instead of qq/foo bar/<br><br>It works, but I dont find it in docs like <br>https://perldoc.perl.org/perlop#Quote-Like-Operators<br><br>Most of cases are in :<br>   use CGI qw ( -utf8 );<br><br>There are only 29 other cases :<br>   git grep -E ' q[qw]? [/({]' | grep -v 'use CGI qw '<br><br>Should we add a coding guideline ?<br>https://wiki.koha-community.org/wiki/Coding_Guidelines<br><br>I must admint for me it would be better to avoid it because it breaks <br>syntax coloring in my editor (Eclipse with EPIC).<br>But maybe other have the same issue.<br><br>Best regards,<br><br>-- <br>Fridolin SOMERS <fridolin.somers@biblibre.com><br>Software and system maintainer 🦄<br>BibLibre, France<br><br><br>------------------------------<br><br>Message: 6<br>Date: Tue, 15 Jun 2021 10:48:19 +0200<br>From: Thomas Klausner <domm@plix.at><br>To: koha-devel@lists.koha-community.org<br>Subject: [Koha-devel] some thoughts on #28519 regarding lib<br>Message-ID: <YMhpU2qjCFB2cORh@plix.at><br>Content-Type: text/plain; charset=us-ascii<br><br>Hi!<br><br>without knowing a lot of Koha-internals (still..), I'd strongly prefer <br>to have all the code in a lib dir (as is standard in Perl apps / modules <br>for ages).<br><br>There are also a lot of tools available to make using code stored `lib` <br>(but not "installed" in the system, i.e. only available in the checkout) <br>easy. The simplest is of course 'lib': https://perldoc.perl.org/lib<br><br>Or more complex like https://metacpan.org/pod/lib::projectroot (which I <br>wrote some time ago to handle a Monorepo setup; it also includes a <br>comparison of different modules in the SEE ALSO section)<br><br>OTOH, CGI::Session::Serialize is a cpan module, so technically it should <br>not be checked out into the app code `lib`, but installed as a <br>dependency. There are even more ways to handle installing of <br>dependencies and the finding them, but the currently most comfortable <br>one is https://metacpan.org/pod/Carton. Or (if running everything via <br>Carton is too much of a change), a combination of <br>https://metacpan.org/pod/local::lib and a modern CPAN client <br>(https://metacpan.org/pod/App::cpanminus or <br>https://metacpan.org/pod/App::cpm.<br><br>I did not want to spam the actuall ticket with this, as I'm not sure if <br>any of this is in fact relevant to the bug, and/or matches the current <br>plans for Koha.<br><br>Greetings,<br>domm<br><br><br>-- <br>#!/usr/bin/perl                             https://domm.plix.at<br>for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}<br><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>Koha-devel mailing list<br>Koha-devel@lists.koha-community.org<br>https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>website : https://www.koha-community.org/<br>git : https://git.koha-community.org/<br>bugs : https://bugs.koha-community.org/<br><br><br>------------------------------<br><br>End of Koha-devel Digest, Vol 187, Issue 10<br>*******************************************<br></div><br><br>NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.<br></body></html>