Skip to content

Support for symlinks in generators.yaml #487

@mzuenni

Description

@mzuenni

The new spec makes the usage of .statement, and *.download way more verbose. Therefore, it would be nice if we could specify symlinks in the generators.yaml. More specifically, it would be nice if instead of only allowing to "hardcoded" file content by extension we could also say that it is supposed to be a symlink to another file (It is sufficient to only allow symlinking to other known extensions). The question is: how should the yaml syntax for this look like?

Option 1 (tags):

- testcase:
    generate: gen.py {seed}
    in.statement: "blub"
    in.download: !!link in.statement #!!link ensures that we can distinguish this from the string "in.statement". 

Option 2 (map):

- testcase:
    generate: gen.py {seed}
    in.statement: "blub"
    in.download: {link: in.statement}

Metadata

Metadata

Assignees

No one assigned

    Labels

    generators.yamlFeatures for the the generators.yaml

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions