Skip to content

Instantly share code, notes, and snippets.

@krasnikovdev
Created October 13, 2017 12:07
Show Gist options
  • Save krasnikovdev/0a1bbe4557e23924ad926e02427b4447 to your computer and use it in GitHub Desktop.
Save krasnikovdev/0a1bbe4557e23924ad926e02427b4447 to your computer and use it in GitHub Desktop.
Gitify file
data_directory: _data/
backup_directory: _backup/
data:
contexts:
class: modContext
primary: key
context_settings:
class: modContextSetting
primary:
- context_key
- key
template_variables:
class: modTemplateVar
primary: name
template_variables_access:
class: modTemplateVarTemplate
primary:
- tmplvarid
- templateid
categories:
class: modCategory
primary: category
truncate_on_force:
- modCategoryClosure
templates:
class: modTemplate
primary: templatename
extension: .html
chunks:
class: modChunk
primary: name
extension: .html
snippets:
class: modSnippet
primary: name
extension: .php
plugins:
class: modPlugin
primary: name
extension: .php
plugin_events:
class: modPluginEvent
primary:
- pluginid
- event
events:
class: modEvent
primary: name
namespaces:
class: modNamespace
primary: name
system_settings:
class: modSystemSetting
primary: key
exclude_keys:
- editedon
where:
- 'key:NOT IN': ['emailsender','ms2_email_manager','date_timezone','site_file_version','finance_description','site_name', 'site_uri', 'recaptchav2.secret_key', 'recaptchav2.site_key', 'email_to', 'formit.user_email', 'formit.user_name']
- 'AND:key:NOT LIKE': 'ms2_email_%'
- 'AND:key:NOT LIKE': 'mail_%'
system_settings_exclude:
class: modSystemSetting
primary: key
exclude_keys:
- editedon
- value
where:
- 'key:IN': ['emailsender','date_timezone','site_file_version','finance_description','site_name','site_uri','recaptchav2.secret_key','recaptchav2.site_key', 'email_to', 'formit.user_email', 'formit.user_name']
- 'OR:key:LIKE': 'ms2_email_%'
- 'OR:key:LIKE': 'mail_%'
extension_packages:
class: modExtensionPackage
primary: namespace
exclude_keys:
- created_at
- updated_at
fc_sets:
class: modFormCustomizationSet
primary: id
fc_profiles:
class: modFormCustomizationProfile
primary: id
fc_profile_usergroups:
class: modFormCustomizationProfileUserGroup
primary:
- usergroup
- profile
fc_action_dom:
class: modActionDom
primary:
- set
- name
mediasources:
class: modMediaSource
primary: id
exclude_keys:
- properties
mediasource_elements:
class: sources.modMediaSourceElement
primary:
- source
- object_class
- object
- context_key
dashboards:
class: modDashboard
primary:
- id
- name
dashboard_widgets:
class: modDashboardWidget
primary: id
dashboard_widget_placement:
class: modDashboardWidgetPlacement
primary:
- dashboard
- widget
packages:
modx.com:
service_url: 'https://rest.modx.com/extras/'
description: 'The official MODX transport provider for 3rd party components.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment