Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How should we deal with "asset" references in recipes? #5

Open
scymtym opened this issue Mar 5, 2019 · 0 comments
Open

How should we deal with "asset" references in recipes? #5

scymtym opened this issue Mar 5, 2019 · 0 comments

Comments

@scymtym
Copy link
Member

scymtym commented Mar 5, 2019

Problem

Some recipes use "asset" references in their catalog sections. There are two kinds of such references:

  1. References to images. Example:

    catalog:
      title: Nightly Builds of CogIMon Core Components
      version: nightly
      image:
      - catalog://cosima.png
      - catalog://kuka-lwr-sim.png

    The catalog export turns these into image links such as https://toolkit.cit-ec.uni-bielefeld.de/sites/toolkit.cit-ec.uni-bielefeld.de/files/cosima.png

  2. References to descriptions. Example:

    catalog:
      title: Robotics Service Bus
      version: nightly
      description: opensource://rsb-generic.md

    There are two issues:

    • The opensource schema doesn't make a lot of sense now

    • Having this special treatment for a certain magic syntax within the description field is no longer necessary since the more general include syntax should be usable to achieve the same result.

Solution

  1. Not sure. Maybe store the images alongside the recipes in the recipe repository?

  2. The YAML include syntax seems like a good replacement.

@scymtym scymtym changed the title How should we deal with "asset" references in recipes How should we deal with "asset" references in recipes? Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant