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

Example of recipe using duration #28

Open
MasterOdin opened this issue Jan 7, 2021 · 0 comments
Open

Example of recipe using duration #28

MasterOdin opened this issue Jan 7, 2021 · 0 comments

Comments

@MasterOdin
Copy link
Contributor

Looking at https://open-recipe-format.readthedocs.io/en/latest/topics/tutorials/using-alerts.html, I am confused on exactly where this duration field would be included on a step. Per the reference spec for the step dict, there is not duration field or anything else that might indicate duration, except perhaps embedding the duration in the step itself or in the notes field.

For a hypothetical duck procuttio recipe, a step may look like:

steps:
  - step: Hang for about 7 days in a cool (50 to 60 degrees is optimal), humid place, like a garage, a basement or in an unlit fireplace.

Now, is the intention that the 7 days in the step be replaced with 7D` (which I would argue against as potentially leading to parsing ambiguities for durations), or have something like:

steps:
  - step: Hang for about 7 days in a cool (50 to 60 degrees is optimal), humid place, like a garage, a basement or in an unlit fireplace.
    duration: 7D

Happy to add this @techhat to the reference and update the schema, just need a bit of intended direction on what this meant.

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

No branches or pull requests

1 participant