gage dataset
The gage dataset command manages datasets. A dataset is a set of stored
sessions and attachments that a scan runs over. gage scan creates a dataset
from its session selection unless given one with --dataset. For background,
see Scans.
Commands that take dataset IDs accept unique ID prefixes and tag names.
dataset add
Add a dataset.
Without session arguments or selection options, the command adds an empty dataset. With them, the selected native sessions are added to the store and linked into the new dataset in a single step.
To add sessions to an existing dataset, use
gage session add --dataset. To add
attachments, use
gage attachment add --dataset. To
add sessions and attachments already in the store, use
gage dataset link.
dataset refresh
Re-add each dataset session from its source.
Every member is re-read from the source. A session whose native content grew
is updated in place. This is equivalent to running gage session add -d DATASET on every member’s native ID.
dataset list
List datasets.
The listing shows each dataset’s session and attachment counts, tags, and origin. A dataset a scan created records that scan as its origin.
dataset show
Show a dataset: its tags, sessions, attachments, and the scans that ran over it.
dataset delete
Delete datasets.
Member sessions and the scan runs that used the dataset are kept unless
--sessions is given.
dataset link
Add stored sessions and attachments to a dataset.
Each object is already in the store and is given as a tag, an ID, or a unique ID prefix. A session takes a member slot. An object that is already a member advances to its current commit.
dataset unlink
Remove sessions and attachments from a dataset.
The objects stay in the store.