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: CHANGELOG.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,22 @@
4
4
5
5
Features:
6
6
7
-
-**Partitioned split structure:** The `--split` option now organizes concept files into subdirectories by ID range (1000 IDs per directory, e.g., `IDs0001xxx/`). This avoids GitHub UI limitations with large directories. The `--join` option supports both the new partitioned structure and the previous flat structure.
7
+
-**Partitioned storage:** The `--split` option now organizes concept files into subdirectories by ID range (1000 IDs per directory, e.g., `IDs0001xxx/`). This avoids GitHub UI limitations with large directories. The `--join` option supports both the new partitioned structure and the previous flat structure. [#328](https://github.com/nfdi4cat/voc4cat-tool/pull/328)
8
+
-**Namespace prefixes in RDF:** The `transform` command now uses namespace bindings/prefixes in output (as convert already did). [#327](https://github.com/nfdi4cat/voc4cat-tool/pull/327)
9
+
-**Longturtle format:** Turtle files are now written in longturtle format everywhere (this was not the case in rc1/2). [#327](https://github.com/nfdi4cat/voc4cat-tool/pull/327)
10
+
-**Improved `--prov-from-git`:** Git history evaluation now follows file moves/renames. [#329](https://github.com/nfdi4cat/voc4cat-tool/pull/329)
8
11
9
12
Changes:
10
13
14
+
- Improved migration guide and template update guide.
15
+
11
16
Fixes:
12
17
18
+
- Fix BASE declaration in vp4cat profile; allow `dct:provenance` with IRI value (Req. 2.2.2). [#325](https://github.com/nfdi4cat/voc4cat-tool/pull/325), [#326](https://github.com/nfdi4cat/voc4cat-tool/issues/326)
19
+
- Fix reporting for `check --detect-hierarchy-redundancy`. [#323](https://github.com/nfdi4cat/voc4cat-tool/pull/323)
20
+
- Fix openpyxl warning about worksheet selection.
21
+
- Fix xlsx generation to mark only one sheet as selected.
Copy file name to clipboardExpand all lines: docs/migration-to-v1.0.md
+33-15Lines changed: 33 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,12 @@ This guide explains how to migrate vocabularies created with voc4cat-tool v0.10.
8
8
-**ConceptScheme metadata**: No longer editable in xlsx; managed via `idranges.toml` and shown as read-only in xlsx.
9
9
-**RDF changes**: `skos:historyNote` converted to `skos:changeNote`.
10
10
-**Excel template**: Dynamically generated based on config; no longer distributed as a static file.
11
+
-**Partitioned file storage**: Files are stored in folders with at most 1000 entries named IDx0000xxx (for IDs 001 - 999), IDx0001xxx (for IDs 1000 - 1999), etc.
11
12
12
13
## Migration steps
13
14
15
+
Make sure you have a version 1.0.x of voc4cat-tool installed before
16
+
14
17
### Step 0: Upgrade to latest release of voc4cat-template
15
18
16
19
If you based your repository on voc4cat-template, update to its latest release first (See {ref}`keeping-in-sync-with-the-template`).
@@ -27,46 +30,61 @@ Start with the template from `src/voc4cat/templates/vocab/idranges.toml` and fil
27
30
28
31
The `idrange.toml` files now include a mandatory version number (`config_version = "v1.0"`) to help with future updates.
29
32
30
-
### Step 2: Convert RDF from 043 to v1.0
33
+
### Step 2: Convert to new partitioned storage
34
+
35
+
To convert a 043 repository, join and split the vocabulary. The files may not change.
36
+
This is important to make git detect this as file move.
37
+
The files will only be unmodified, if NO config is passed (which would trigger prefix-substitution and a large diff).
This command assumes that your version-tracked files are stored in the `vocabularies/` folder which is the default for `voc4cat-template`-based repositories.
51
69
52
-
**Step 2c**
70
+
**Step 3c**
53
71
54
-
Add provenance info based on git history (dct:created and dct:updated) to the split RDF files from step 2b.
72
+
Add provenance info based on git history (dct:created and dct:updated) to the split RDF files from Step 3b.
0 commit comments