Skip to content

init with unicode characters causes build to fail #31

Open
@fdrozdowski

Description

@fdrozdowski

Unicode characters don't convert well in yml so the plugin_config.yml is generated but the build fails

dvp init -n mongodb☃ -s staged --pretty-name MongoDB

plugin_config.yml

name: !!python/str "mongodb\u2603"
prettyName: MongoDB
version: 0.1.0
language: PYTHON27
hostTypes:
- UNIX
pluginType: staged
manualDiscovery: true
entryPoint: plugin_runner:plugin
srcDir: src
schemaFile: schema.json 

dvp build fails with

Command failed because the plugin config file provided as input '/Users/jngo/Documents/workspace/bugathon/plugin_config.yml' was not valid yaml. Verify the file contents. Error position: 1:7 

┆Issue is synchronized with this Jira Bug by Unito

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions