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/source/usage.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,11 @@ Prepares a dataset for release by uploading it to the staging area and updating
33
33
uv run datamanager prepare <dataset-name.sqlite><path/to/local/file.sqlite>
34
34
```
35
35
36
+
When preparing a dataset, you will be prompted for an optional **Temoa Repository Hash** (git commit hash). This helps track which version of the temoa repository this database works against. You can:
37
+
38
+
- Enter a valid git commit hash (e.g., `abc1234` or `a1b2c3d4e5f6...`)
39
+
- Press Enter to skip (optional field)
40
+
36
41
After running `prepare`, follow the on-screen instructions:
37
42
38
43
1.`git add manifest.json`
@@ -44,12 +49,20 @@ After running `prepare`, follow the on-screen instructions:
44
49
45
50
### `list-datasets`
46
51
47
-
Lists all datasets currently tracked in `manifest.json`.
52
+
Lists all datasets currently tracked in `manifest.json`, including the latest version, update time, SHA256 hash, and Temoa repository hash (if available).
48
53
49
54
```bash
50
55
uv run datamanager list-datasets
51
56
```
52
57
58
+
The output includes:
59
+
60
+
-**Dataset Name**: The logical name of the dataset
61
+
-**Latest Version**: The most recent version tag
62
+
-**Last Updated**: When the latest version was created (relative time and absolute timestamp)
63
+
-**SHA256**: First 12 characters of the file hash
64
+
-**Temoa Hash**: First 12 characters of the temoa repository commit hash (or "N/A" if not specified)
Copy file name to clipboardExpand all lines: docs/source/workflow.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Use the `datamanager` tool to stage your changes. The `prepare` command handles
21
21
uv run datamanager prepare energy-data.sqlite ./local-files/new-energy.sqlite
22
22
```
23
23
24
-
The tool will guide you through the process. For other maintenance tasks like `rollback` or `delete`, use the corresponding command.
24
+
The tool will guide you through the process, including an optional prompt for the **Temoa Repository Hash** (git commit hash) to track which version of the temoa repository this database works against. For other maintenance tasks like `rollback` or `delete`, use the corresponding command.
0 commit comments