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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 23 00:30:28 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790

            Bug ID: 26790
           Summary: Refactor Koha configuration (koha-conf.xml)
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org

I propose moving /yazgfs/config out of koha-conf.xml and into koha-conf.yml (or
even several different *-conf.yml files).

The majority of the /yazgfs child nodes are actually configuration values for
zebrasrv (ie Zebra). We should respect /yazgfs as Zebra configuration and leave
it alone.

I also propose we move from XML to YAML, as it's more human-friendly and it's
easier to parse into the data structure that we need. XML::Simple, which is an
obsolete module according to its creator, is currently used to parse
koha-conf.xml and it's behaviour can be unpredictable. We should ideally
eliminate our usage of it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list