A new request with request id 8868 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is :

Title : Koha-devel Digest, Vol 199, Issue 17
Category :
Description :
Send Koha-devel mailing list submissions to
    koha-devel@lists.koha-community.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
or, via email, send a message with subject or body 'help' to
    koha-devel-request@lists.koha-community.org

You can reach the person managing the list at
    koha-devel-owner@lists.koha-community.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha-devel digest..."


Today's Topics:

1. Re: Distributing Koha Plugins efficiently (Michael Hafen)
2. SIP server only supporting 1 simultaneous connection (Bug
31033) (dcook@prosentient.com.au)
3. Re: Distributing Koha Plugins efficiently
(dcook@prosentient.com.au)


----------------------------------------------------------------------

Message: 1
Date: Thu, 23 Jun 2022 10:16:19 -0600
From: Michael Hafen <michael.hafen@washk12.org>
To: dcook@prosentient.com.au
Cc: koha-devel <koha-devel@lists.koha-community.org>, Tomas Cohen
    Arazi <tomascohen@theke.io>, Kyle Hall <kyle@bywatersolutions.com>
Subject: Re: [Koha-devel] Distributing Koha Plugins efficiently
Message-ID:
    <CAAh7Udmn=-ZnD8vwnQZPexdTsrOJdbtdOV9FPjTbRdPnJzJGBw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

That's basically what I have done, except that I distribute my plugins to
my servers from my git repo.

On Wed, Jun 22, 2022 at 9:52 PM <dcook@prosentient.com.au> wrote:

> Hi all,
>
>
>
> If I were to unpack 5 different Koha plugins to /opt/koha-plugins and then
> added "<pluginsdir>/opt/koha-plugins</pluginsdir>" to the koha-conf.xml for
> all my Koha instances, I should be able to just run “koha-foreach perl
> /usr/share/koha/bin/devel/install_plugins.pl” to install/upgrade all
> those plugins within Koha, right?
>
>
>
> Once “bug 21366 – add plack reload” is done, we could then do “koha-plack
> --reload $(koha-list --enabled --plack)” to gracefully reload all those
> Koha instances to have the freshest version of the plugin.
>
>
>
> --
>
>
>
> If that’s true, a person could bundle Koha plugins however they like,
> right? They could put them into koha-common, they could do their own
> koha-plugins package (included or separate to their Koha codebase), they
> could just use a Git repo, or whatever makes sense for distributing. The
> advantage of Debian packages would be adding that “koha-foreach” and
> “koha-plack” into package install hooks.
>
>
>
> I suppose a “install plugins” hook in “koha-create” would be wise too so
> that a new instance could auto install any centralized plugins…
>
>
>
> Does that all make sense? Am I missing anything?
>
>
>
> I’d really like to use plugins in lieu of Koha customizations but I find
> distributing the code across a large number of Koha instances to be
> prohibitive.
>
>
>
> David Cook
>
> Senior Software Engineer
>
> Prosentient Systems
>
> Suite 7.03
>
> 6a Glen St
>
> Milsons Point NSW 2061
>
> Australia
>
>
>
> Office: 02 9212 0899
>
> Online: 02 8005 0595
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
>


--
Michael Hafen
Washington County School District Technology Department
Systems Analyst
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220623/58522856/attachment-0001.htm>

------------------------------

Message: 2
Date: Fri, 24 Jun 2022 11:50:38 +1000
From: <dcook@prosentient.com.au>
To: "'koha-devel'" <koha-devel@lists.koha-community.org>
Subject: [Koha-devel] SIP server only supporting 1 simultaneous
    connection (Bug 31033)
Message-ID: <03b801d8876c$d04b6790$70e236b0$@prosentient.com.au>
Content-Type: text/plain; charset="utf-8"

Hi all,



I was going through my emails when I noticed Bug 31033, which indicates that
Koha's SIP server only supports 1 simultaneous connection of the box.



I did some testing and confirmed Mark's findings. Honestly, I'd never
thought about it. While we do run some SIP servers, it's never come up as an
issue.



Have folk noticed the same thing and do they just resolve the problem by
updating their SIPconfig.xml files?



I've added a patch to Bug 31033 to make Koha's default configuration more
explicit, but curious what people's thoughts are.



David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia



Office: 02 9212 0899

Online: 02 8005 0595



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220624/613c2ae4/attachment-0001.htm>

------------------------------

Message: 3
Date: Fri, 24 Jun 2022 12:01:57 +1000
From: <dcook@prosentient.com.au>
To: "'Michael Hafen'" <michael.hafen@washk12.org>
Cc: "'koha-devel'" <koha-devel@lists.koha-community.org>
Subject: Re: [Koha-devel] Distributing Koha Plugins efficiently
Message-ID: <03bf01d8876e$66758600$33609200$@prosentient.com.au>
Content-Type: text/plain; charset="utf-8"

Thanks for replying, Michael. I am leaning towards a Git repo as well for the sake of simplicity. I imagine you have a script in that repo for running “koha-foreach perl /usr/share/koha/bin/devel/install_plugins.pl”, restarts, etc?



David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia



Office: 02 9212 0899

Online: 02 8005 0595



From: Michael Hafen <michael.hafen@washk12.org>
Sent: Friday, 24 June 2022 2:16 AM
To: dcook@prosentient.com.au
Cc: koha-devel <koha-devel@lists.koha-community.org>; Tomas Cohen Arazi <tomascohen@theke.io>; Kyle Hall <kyle@bywatersolutions.com>
Subject: Re: [Koha-devel] Distributing Koha Plugins efficiently



That's basically what I have done, except that I distribute my plugins to my servers from my git repo.



On Wed, Jun 22, 2022 at 9:52 PM <dcook@prosentient.com.au <mailto:dcook@prosentient.com.au> > wrote:

Hi all,



If I were to unpack 5 different Koha plugins to /opt/koha-plugins and then added "<pluginsdir>/opt/koha-plugins</pluginsdir>" to the koha-conf.xml for all my Koha instances, I should be able to just run “koha-foreach perl /usr/share/koha/bin/devel/install_plugins.pl <http://install_plugins.pl> ” to install/upgrade all those plugins within Koha, right?



Once “bug 21366 – add plack reload” is done, we could then do “koha-plack --reload $(koha-list --enabled --plack)” to gracefully reload all those Koha instances to have the freshest version of the plugin.



--



If that’s true, a person could bundle Koha plugins however they like, right? They could put them into koha-common, they could do their own koha-plugins package (included or separate to their Koha codebase), they could just use a Git repo, or whatever makes sense for distributing. The advantage of Debian packages would be adding that “koha-foreach” and “koha-plack” into package install hooks.



I suppose a “install plugins” hook in “koha-create” would be wise too so that a new instance could auto install any centralized plugins…



Does that all make sense? Am I missing anything?



I’d really like to use plugins in lieu of Koha customizations but I find distributing the code across a large number of Koha instances to be prohibitive.



David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia



Office: 02 9212 0899

Online: 02 8005 0595



_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org>
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/



--

Michael Hafen

Washington County School District Technology Department

Systems Analyst

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220624/2ee1e806/attachment.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


------------------------------

End of Koha-devel Digest, Vol 199, Issue 17
*******************************************


NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.