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: README.md
+25-7Lines changed: 25 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,7 @@ That's where this plugin comes in to play. It allows you to export these configs
6
6
7
7
Importing, exporting and keeping track of config changes is done in the admin page of the plugin.
8
8
9
-
*Currently only the core_store changes are being tracked.*
10
-
11
-
**THIS PLUGIN IS STILL IN DEVELOPMENT**
9
+
**THIS PLUGIN IS NOT STABLE**
12
10
13
11
**PLEASE USE WITH CARE**
14
12
@@ -45,20 +43,40 @@ PLEASE USE WITH CARE.
45
43
46
44
> `required:` NO | `type:` bool | `default:` false
47
45
46
+
#### `include`
47
+
48
+
Configs you want to include. Allowed values: `core-store`, `role-permissions`, `webhooks`. By default these are all enabled.
49
+
50
+
> `required:` NO | `type:` array | `default:`["core-store", "role-permissions", "webhooks"]
51
+
48
52
#### `exclude`
49
53
50
54
You might not want all your database config exported and managed in git. This settings allows you to add an array of config names which should not be tracked by the config-sync plugin.
51
55
52
-
For now only the `core_store` table is being tracked. Add the `key` value of a `core_store` item to the array to exclude it from being tracked.
56
+
*Currently not working*
53
57
54
58
> `required:` NO | `type:` array | `default:`[]
55
59
60
+
## Naming convention
61
+
All the config files written in the file destination have the same naming convention. It goes as follows:
62
+
63
+
[config-type].[config-name].json
64
+
65
+
-`config-type` - Corresponds to the value in from the config.include setting.
66
+
-`config-name` - The unique identifier of the config.
67
+
- For `core-store` config this is the `key` value.
68
+
- For `role-permissions` config this is the `type` value.
69
+
- For `webhooks` config this is the `id` value
70
+
71
+
56
72
## TODOs
57
-
- Exporting of user roles & permissions
58
-
- Exporting of webhooks
59
-
- Specify which tables you want to track in the plugin configurations
73
+
-~~Exporting of user roles & permissions~~
74
+
-~~Exporting of webhooks~~
75
+
-~~Specify which tables you want to track in the plugin configurations~~
0 commit comments