[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2024-04-23 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #23 from David Cook --- (In reply to Marcel de Rooy from comment #22) > Does this report include thinking about how we could secure more sensitive > data in our koha-conf file? Like DB password, encryption key, etc. Note

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2024-04-23 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 Marcel de Rooy changed: What|Removed |Added CC||m.de.r...@rijksmuseum.nl

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2023-08-09 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #21 from David Cook --- Tried to use Koha::Config->read_from_file($file) to create a data structure I wanted using XML but couldn't do it. Going to be much nicer to use YAML... -- You are receiving this mail because:

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2023-08-09 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 David Cook changed: What|Removed |Added Resolution|WISHLIST|---

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2022-12-05 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 David Cook changed: What|Removed |Added Status|NEW |RESOLVED

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-12-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #18 from David Cook --- (In reply to David Cook from comment #17) > > my $mq_crud_conf = Koha::Config->relative_file('mq_crud.yml'); > Oh but this wouldn't work with Tomas's ideas, which were very good. (In reply to

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-12-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #17 from David Cook --- I was thinking more today about how this all could work and I'm thinking something like this: my $mq_crud_conf = Koha::Config->relative_file('mq_crud.yml'); The "relative" here means relative to

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-12-02 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #16 from Julian Maurice --- (In reply to David Cook from comment #15) > Btw, just sharing an experience using the https://metacpan.org/pod/TOML > library. > > It takes a TOML Boolean false and converts it into a Perl

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-12-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #15 from David Cook --- Btw, just sharing an experience using the https://metacpan.org/pod/TOML library. It takes a TOML Boolean false and converts it into a Perl string that says "false". I'm regretting using TOML

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-11-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #14 from David Cook --- I've only used k8s once to play around on my desktop, so I don't know it very well, but I think it has more robust methods than AWS ECS for deploying configuration files and managing secrets.

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-11-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #13 from David Cook --- (In reply to Tomás Cohen Arazi from comment #12) > My vote would be: > - Use separate files with expected names (config.yaml, shibboleth.yaml, etc) > - No includes > - Have C4::Context->config

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-11-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #12 from Tomás Cohen Arazi --- (In reply to Julian Maurice from comment #11) > Yet another alternative would be to replace the main configuration file by > environment variables. > This is the approach recommended by

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-11-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #11 from Julian Maurice --- Yet another alternative would be to replace the main configuration file by environment variables. This is the approach recommended by https://12factor.net/config and can make working with

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-11-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #10 from David Cook --- (In reply to Tomás Cohen Arazi from comment #9) > My idea with bug 14162 was to move this into a file that would be > manipulated using a CLI tool, or the UI, and we can maintain with our >

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-11-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 Tomás Cohen Arazi changed: What|Removed |Added See Also|

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-11-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 Martin Renvoize changed: What|Removed |Added CC||n...@bywatersolutions.com

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-11-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 Martin Renvoize changed: What|Removed |Added CC||tomasco...@gmail.com --

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-07-01 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #8 from Julian Maurice --- (In reply to Martin Renvoize from comment #7) > How mature is the TOML support in perl... I note David looked > at the TOML module (which is pure perl) and hasn't been updated since 2016.. >

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-05-04 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 Martin Renvoize changed: What|Removed |Added See Also|

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-05-04 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #7 from Martin Renvoize --- +1 for moving Koha config out of zebra config file +1 for not using XML As for the TOML vs YAML debate, I don't really have a horse in the race. The YAML support in Perl seems to have

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2021-05-04 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 Martin Renvoize changed: What|Removed |Added CC|

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2020-10-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #6 from David Cook --- Julian, after reviewing your comments, I used TOML in a small Perl project, and found it very nice to work with. -- You are receiving this mail because: You are the assignee for the bug. You are

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2020-10-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #5 from David Cook --- I have other priorities/interests at the moment, but why don't we go with TOML for this refactoring? There's no harm in trying it out. -- You are receiving this mail because: You are watching all

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2020-10-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #4 from David Cook --- (In reply to Julian Maurice from comment #3) > Can't remember the exact details and can't reproduce either... it was about > the ES mappings file, MARC fields being changed when >

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2020-10-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #3 from Julian Maurice --- (In reply to David Cook from comment #2) > (In reply to Julian Maurice from comment #1) > > +1 for moving Koha config out of zebra config file > > +1 for not using XML > > > > But -1 for using

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2020-10-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 --- Comment #2 from David Cook --- (In reply to Julian Maurice from comment #1) > +1 for moving Koha config out of zebra config file > +1 for not using XML > > But -1 for using YAML. I know we already use YAML > for everything in

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2020-10-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 Julian Maurice changed: What|Removed |Added CC|

[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

2020-10-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790 Magnus Enger changed: What|Removed |Added CC||mag...@libriotech.no --