[Koha-devel] Plack only
Julian Maurice
julian.maurice at biblibre.com
Wed Feb 7 17:49:34 CET 2018
Are they really in sync ? They look very different (I cannot use the
rest api with misc/plack/koha.psgi for instance).
IMO a good starting point would be to move debian/templates/plack.psgi
outside of debian/ and make it the .psgi reference file for all types of
install (and remove misc/plack in the process).
Any thoughts ?
Le 07/02/2018 à 13:37, Tomas Cohen Arazi a écrit :
> Good point, Julian. You are right.
>
> Basically, we ship misc/plack/* which we keep in sync with
> debian/templates/plack.psgi.
>
> I would love to spend some time de-debianizing hte multi-tenant
> management tools, but its been hard to find sponsorship or time for it.
> Most people are comfortable with Debian it seems.
>
> Regards
>
> El mié., 7 feb. 2018 a las 9:26, Julian Maurice
> (<julian.maurice at biblibre.com <mailto:julian.maurice at biblibre.com>>)
> escribió:
>
> What about people that do not use Debian ? It seems that there is no
> "standard" way to use Plack outside of the Debian world, and it looks
> like 90% of https://wiki.koha-community.org/wiki/Plack is outdated.
> If we abandon CGI support, I think we should first provide a clear setup
> documentation. I would happily rewrite the wiki page, but I'm not sure
> of what to write (how to setup Plack on dev install for instance, or
> 'standard' install without debian packages).
> Or maybe I'm missing some important up-to-date documentation about
> Plack ?
>
> (somewhat) related bug:
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18377
>
> Le 06/02/2018 à 19:50, Tomas Cohen Arazi a écrit :
> > For running in Plack-mode, people needs to:
> >
> > sudo koha-plack --enable <instance>
> > sudo koha-plack --start <instance>
> > sudo systemctl restart apache2
> >
> > after creating the <instance>.
> >
> > What I meant is that we should have people avoid the need for those
> > commands. And people with specific needs that require non-Plack setups
> > can do it.
> >
> > I started thinking of this in the context of bug 20134 [1] BUT also in
> > the context of bugs 18315 [2] and 7174 [3].
> >
> > Both of the latter bugs propose interesting ways of refactoring
> > authentication, and I'm sure abandoning CGI-mode could help
> simplify the
> > process.
> >
> > [1] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20134
> > [2] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18315
> > [3] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7174
> >
> > El mar., 6 feb. 2018 a las 11:00, Julian Maurice
> > (<julian.maurice at biblibre.com <mailto:julian.maurice at biblibre.com>
> <mailto:julian.maurice at biblibre.com
> <mailto:julian.maurice at biblibre.com>>>)
> > escribió:
> >
> > What does that mean to "make Plack the default" exactly ?
> >
> > Le 06/02/2018 à 14:31, Tomas Cohen Arazi a écrit :
> > > I would like to know if you think there's any reason to keep
> the CGI
> > > mode as default in Koha deployments. I think we should make
> Plack the
> > > default. There are some issues, tough.
> > >
> > > But if we set that goal, we could focus on fixing them.
> > >
> > > What do you think?
> > > --
> > > Tomás Cohen Arazi
> > > Theke Solutions (https://theke.io <http://theke.io/>)
> > > ✆ +54 9351 3513384 <tel:+54%209%20351%20351-3384>
> <tel:+54%209%20351%20351-3384>
> > > GPG: B2F3C15F
> > >
> > >
> > > _______________________________________________
> > > Koha-devel mailing list
> > > Koha-devel at lists.koha-community.org
> <mailto:Koha-devel at lists.koha-community.org>
> > <mailto:Koha-devel at lists.koha-community.org
> <mailto:Koha-devel at lists.koha-community.org>>
> > >
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> > > website : http://www.koha-community.org/
> > > git : http://git.koha-community.org/
> > > bugs : http://bugs.koha-community.org/
> > >
> >
> > --
> > Julian Maurice <julian.maurice at biblibre.com
> <mailto:julian.maurice at biblibre.com>
> > <mailto:julian.maurice at biblibre.com
> <mailto:julian.maurice at biblibre.com>>>
> > BibLibre
> > _______________________________________________
> > Koha-devel mailing list
> > Koha-devel at lists.koha-community.org
> <mailto:Koha-devel at lists.koha-community.org>
> > <mailto:Koha-devel at lists.koha-community.org
> <mailto:Koha-devel at lists.koha-community.org>>
> >
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> > website : http://www.koha-community.org/
> > git : http://git.koha-community.org/
> > bugs : http://bugs.koha-community.org/
> >
> > --
> > Tomás Cohen Arazi
> > Theke Solutions (https://theke.io <http://theke.io/>)
> > ✆ +54 9351 3513384 <tel:+54%209%20351%20351-3384>
> > GPG: B2F3C15F
> >
> >
> > _______________________________________________
> > Koha-devel mailing list
> > Koha-devel at lists.koha-community.org
> <mailto:Koha-devel at lists.koha-community.org>
> > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> > website : http://www.koha-community.org/
> > git : http://git.koha-community.org/
> > bugs : http://bugs.koha-community.org/
> >
>
> --
> Julian Maurice <julian.maurice at biblibre.com
> <mailto:julian.maurice at biblibre.com>>
> BibLibre
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> <mailto:Koha-devel at lists.koha-community.org>
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
> --
> Tomás Cohen Arazi
> Theke Solutions (https://theke.io <http://theke.io/>)
> ✆ +54 9351 3513384
> GPG: B2F3C15F
--
Julian Maurice <julian.maurice at biblibre.com>
BibLibre
More information about the Koha-devel
mailing list