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
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790
Marcel de Rooy changed:
What|Removed |Added
CC||m.de.r...@rijksmuseum.nl
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:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790
David Cook changed:
What|Removed |Added
Resolution|WISHLIST|---
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790
David Cook changed:
What|Removed |Added
Status|NEW |RESOLVED
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
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
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
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
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.
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
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
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
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
>
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790
Tomás Cohen Arazi changed:
What|Removed |Added
See Also|
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790
Martin Renvoize changed:
What|Removed |Added
CC||n...@bywatersolutions.com
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790
Martin Renvoize changed:
What|Removed |Added
CC||tomasco...@gmail.com
--
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..
>
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790
Martin Renvoize changed:
What|Removed |Added
See Also|
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
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790
Martin Renvoize changed:
What|Removed |Added
CC|
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
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
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
>
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
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
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790
Julian Maurice changed:
What|Removed |Added
CC|
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790
Magnus Enger changed:
What|Removed |Added
CC||mag...@libriotech.no
--
28 matches
Mail list logo