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

Support multiple formats in the same run #9

Closed
bentsherman opened this issue Sep 28, 2023 · 2 comments · Fixed by #15
Closed

Support multiple formats in the same run #9

bentsherman opened this issue Sep 28, 2023 · 2 comments · Fixed by #15

Comments

@bentsherman
Copy link
Member

bentsherman commented Sep 28, 2023

Proposed syntax:

prov {
  formats {
    legacy {
      file = 'manifest.json'
      overwrite = true
    }
    bco {
      file = 'bco.json'
      overwrite = true
      // could put extra bco-specific fields here, etc
    }
  }
  // ...
}
@simleo
Copy link

simleo commented Oct 11, 2023

For Workflow Run RO-Crate the output is actually a directory. It could be output as a zip archive though.

@bentsherman
Copy link
Member Author

This is another reason why I want to have separate config for each format, since not every format is guaranteed to output a single file. So an RO-crate for example could have a directory setting instead of file.

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 a pull request may close this issue.

2 participants