Skip to content

Replace docserv-write-xslt-param-file with Python code #296

@tomschr

Description

@tomschr

Situation

The scriptdocserv-write-xslt-param-file is a separate script and is called inside Docserv. It writes XSLT parameters into a file for daps2docker.

This design has some issues:

  • It's inefficient as the internal state needs to be passed to the script (that's why it takes many options)
  • Bash is slower than pure Python code

Proposed solution

  • Integrate the functionality into Docserv code as Python.
  • If really needed, provide a Python script that calls the internal code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanupClean up the code!

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions