civex release
Freeze the data as a named, citable release (its records with a content hash and a citation; the files stay where they are and the release keeps them), check it, cite it, get its files out, see what changed since, and withdraw or yank it.
| Command | Description |
|---|---|
cite |
Print how to cite a release. |
correct |
Correct a release's citation details (a typo in the title, a DOI issued later). Its content never changes; the correction is in history. |
create |
Freeze the data as a release. |
diff |
Compare a release with the data now, record by record: records added to its scope, changed and removed, per collection, and the schemas and fields changed since. Worked out from the data, not from history, so every computer gives the same answer. |
download |
Write a release's bundle of records to a file. To get the records back as they were, read it into a new project with civex bundle import; its files come out with civex release export. |
export |
Make a folder of a release's files, laid out like any export (a folder per record), with manifest-sha256.txt (each file's hash and path), release.json and CITATION.cff beside them. |
gather |
Put a release's files on one drive, as any move does (Ctrl+C pauses). Only the release's own copies move: a copy its records use elsewhere is copied, not moved. |
list |
List the project's releases, newest first. |
show |
Show a release's citation details and manifest. |
verify |
Check a release still holds exactly what it was made with: its records' content hash, and every file it cites recorded on a drive here. With --deep, every file is read back against its hash too. |
withdraw |
Mark a release withdrawn. It keeps its data, so work that cited it can still be checked, and it says why wherever it is shown. To give the data up, yank it. |
yank |
Give a release's data up for good. It stops keeping its files and its bundle, so the next clean-up removes whatever nothing else uses; what is left is a record of it that a citation still finds. Says first how much would go. Can't be undone. |
civex release cite
Print how to cite a release.
Usage
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
NAME |
str |
yes | The release's name or id |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--format, -f |
str |
text |
text, bibtex or cff (CITATION.cff) |
civex release correct
Correct a release's citation details (a typo in the title, a DOI issued later). Its content never changes; the correction is in history.
Usage
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
NAME |
str |
yes | The release's name or id |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--title, -t |
str |
The new title | |
--description, -d |
str |
A longer account of the data | |
--author, -a |
str |
The authors, all of them, as Name or Name|ORCID|Affiliation (repeatable) | |
--licence, --license |
str |
An SPDX id (e.g. CC-BY-4.0) or a name | |
--doi |
str |
The DOI it was given | |
--keyword, -k |
str |
The keywords, all of them (repeatable) |
civex release create
Freeze the data as a release.
Writes the records of the whole project, some collections, the records a query lists or chosen records into a small bundle, hashes it (each cited file by its hash, so no file is read), adds a CITATION.cff, and keeps it in the project's storage. The files stay where they are: the release keeps them, so a clean-up never removes them. A release never changes afterwards: its citation details can be corrected, and it can be withdrawn or yanked, each recorded in history.
Usage
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
NAME |
str |
yes | The version, e.g. v1 or 2026-thesis |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--title, -t |
str |
What the data is (required) | |
--description, -d |
str |
A longer account of the data | |
--author, -a |
str |
An author, as Name or Name|ORCID|Affiliation (repeatable, in citation order) | |
--licence, --license |
str |
An SPDX id, e.g. CC-BY-4.0 | |
--doi |
str |
A DOI, if it has one | |
--keyword, -k |
str |
A keyword (repeatable) | |
--collection, -c |
str |
Only these collections (repeatable); default the whole project | |
--query-json |
str |
Only the records a query lists (and the records above them), as JSON, e.g. | |
--record, -r |
str |
Exactly these records, by id (repeatable) | |
--only-chosen |
flag | false |
With --record or --query-json: leave out the records inside the ones chosen (they are taken by default) |
--with-workflows |
flag | false |
Also carry the project's workflows and plugins (their code); left out unless asked for |
--dry-run |
flag | false |
Say what it would hold without making it |
civex release diff
Compare a release with the data now, record by record: records added to its scope, changed and removed, per collection, and the schemas and fields changed since. Worked out from the data, not from history, so every computer gives the same answer.
Usage
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
NAME |
str |
yes | The release's name or id |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--show |
str |
List the records one kind of difference means: added, changed or removed |
civex release download
Write a release's bundle of records to a file. To get the records back
as they were, read it into a new project with civex bundle import; its
files come out with civex release export.
Usage
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
NAME |
str |
yes | The release's name or id |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--output, -o |
path |
Where to write it (default release- |
civex release export
Make a folder of a release's files, laid out like any export (a folder per record), with manifest-sha256.txt (each file's hash and path), release.json and CITATION.cff beside them.
Usage
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
NAME |
str |
yes | The release's name or id |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--mode |
str |
link |
link: a folder on the drive holding most of the files; copy: copies on --volume |
--volume |
str |
Where copies go | |
--name |
str |
The folder's name | |
--partial |
flag | false |
Make it with what can be reached |
civex release gather
Put a release's files on one drive, as any move does (Ctrl+C pauses). Only the release's own copies move: a copy its records use elsewhere is copied, not moved.
Usage
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
NAME |
str |
yes | The release's name or id |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--to |
str |
The drive to put its files on (required) | |
--dry-run |
flag | false |
Say what would move |
civex release list
List the project's releases, newest first.
Usage
civex release show
Show a release's citation details and manifest.
Usage
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
NAME |
str |
yes | The release's name or id |
civex release verify
Check a release still holds exactly what it was made with: its records' content hash, and every file it cites recorded on a drive here. With --deep, every file is read back against its hash too.
Usage
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
NAME |
str |
yes | The release's name or id |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--deep |
flag | false |
Also read every file back against its hash (long, for a large release) |
civex release withdraw
Mark a release withdrawn. It keeps its data, so work that cited it can still be checked, and it says why wherever it is shown. To give the data up, yank it.
Usage
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
NAME |
str |
yes | The release's name or id |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--reason, -r |
str |
Why it is withdrawn (required) |
civex release yank
Give a release's data up for good. It stops keeping its files and its bundle, so the next clean-up removes whatever nothing else uses; what is left is a record of it that a citation still finds. Says first how much would go. Can't be undone.
Usage
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
NAME |
str |
yes | The release's name or id |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--reason, -r |
str |
Why its data goes (required) | |
--yes, -y |
flag | false |
Don't ask to confirm |