Skip to content

Add YAML configuration file support#137

Open
kpinc wants to merge 1 commit into
Pylons:mainfrom
kpinc:yaml_nocopy
Open

Add YAML configuration file support#137
kpinc wants to merge 1 commit into
Pylons:mainfrom
kpinc:yaml_nocopy

Conversation

@kpinc

@kpinc kpinc commented Apr 21, 2024

Copy link
Copy Markdown
The sample YAML config files do not have %(here)s, or any other
interpolation.  (The plaster-yaml interpolation code is broken,
and, in any case, should probably be removed and replaced with
template substitution.)

The %(here)s are removed from testing.ini, in favor of a relative path.

This is the version that does not need the plaster.Loader.get_settings() 
"raw" parameter patch.

    The sample YAML config files do not have %(here)s, or any other
    interpolation.  (The plaster-yaml interpolation code is broken,
    and, in any case, should probably be removed and replaced with
    template substitution.)

    The %(here)s are removed from testing.ini, in favor of a relative path.

    At the time of this writing the plaster-yaml package must be the
    HEAD of the "main" branch.  It contains a bug fix that has not
    been released.  The plan is to not submit these changes as a PR
    until there is a new plaster-yaml release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant