File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 44 or delete existing test data.
55* `` /keylcloak `` includes Keycloak configuration files and Clowder theme. Used when creating a new instance.
66* `` /metadata `` includes examples of metadata definitions. Used to populate database for new or testing instances.
7+
8+ * `` /migration `` Migrate from clowder v2 to v2. It has its own readme file.
Original file line number Diff line number Diff line change 1+ # Migration
2+
3+ these scripts are used to migrate data from a clowder v1 to v2 instance
4+
5+ ## config.toml
6+
7+ This file can be used to limit what gets migrated by space or user.
8+
Original file line number Diff line number Diff line change 44import requests
55from dotenv import dotenv_values
66
7+ try :
8+ import tomllib # Python 3.11+
9+ except ImportError :
10+ import tomli as tomllib
11+
12+
713from scripts .migration .migrate_metadata_definitions import (
814 check_metadata_definition_exists ,
915 get_clowder_v1_metadata_definitions ,
You can’t perform that action at this time.
0 commit comments