You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/commands/build.md
+102-1Lines changed: 102 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This document provides detailed information about the build commands available i
4
4
5
5
## Overview
6
6
7
-
The `build` command group provides operations for generating derived artifacts from RO-Crates. These artifacts include datasheets, visualizations, and evidence graphsthat make the RO-Crate content more accessible and understandable.
7
+
The `build` command group provides operations for generating derived artifacts from RO-Crates and creating release packages. These artifacts include datasheets, visualizations, evidence graphs, and release RO-Crates that make the content more accessible and understandable.
-[`datasheet`](#datasheet) - Generate an HTML datasheet for an RO-Crate
16
16
-[`evidence-graph`](#evidence-graph) - Generate a provenance graph for a specific ARK identifier
17
+
-[`release`](#release) - Build a release RO-Crate from a directory containing multiple RO-Crates
17
18
18
19
## Command Details
19
20
@@ -100,3 +101,103 @@ The evidence graph shows:
100
101
- All relevant metadata for each node in the graph
101
102
102
103
The HTML visualization provides an interactive graph that can be viewed in a web browser, making it easy to explore the provenance of datasets, software, and computations in the RO-Crate.
104
+
105
+
### `release`
106
+
107
+
Build a release RO-Crate in a directory, scanning for and linking existing sub-RO-Crates. This creates a parent RO-Crate that references and contextualizes the sub-crates.
--citation "Example Research Institute (2023). Genomic Data Example Release."
171
+
```
172
+
173
+
This command:
174
+
175
+
1. Creates a new parent RO-Crate in the specified directory
176
+
2. Scans the directory for existing RO-Crates to include as subcrates
177
+
3. Links the subcrates to the parent crate
178
+
4. Combines metadata from subcrates and the provided options
179
+
5. Outputs the ARK identifier of the created release RO-Crate
180
+
181
+
## Release Workflow
182
+
183
+
A typical release workflow involves:
184
+
185
+
1.**Create individual RO-Crates** for specific datasets, software, and computations
186
+
2.**Place these RO-Crates** in a common directory structure
187
+
3.**Build a release** using the `build release` command to create a parent RO-Crate
188
+
4.**Generate a datasheet** using the `build datasheet` command
189
+
5.**Publish the release** using the `publish` commands
190
+
191
+
The parent release RO-Crate provides context and relationships between the individual RO-Crates, making it easier to understand and work with complex datasets that span multiple files, processes, and research objects.
192
+
193
+
## Metadata Inheritance
194
+
195
+
When building a release, metadata is handled in the following ways:
196
+
197
+
-**Author information** is combined from all subcrates unless explicitly provided
198
+
-**Keywords** include both the specified keywords and those from subcrates
199
+
-**Version** defaults to "1.0" unless specified
200
+
-**License** defaults to CC-BY 4.0 unless specified
201
+
-**Publication date** defaults to the current date unless specified
202
+
203
+
All other metadata must be explicitly provided through the command options.
Copy file name to clipboardExpand all lines: docs/commands/schema.md
+63-1Lines changed: 63 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This document provides detailed information about the schema commands available
4
4
5
5
## Overview
6
6
7
-
The `schema` command group provides operations for creating, modifying, and working with data schemas. Schemas describe the structure and constraints of datasets, enabling validation and improved interoperability.
7
+
The `schema` command group provides operations for creating, modifying, working with data schemas, and validating data against schemas. Schemas describe the structure and constraints of datasets, enabling validation and improved interoperability.
0 commit comments