webgme-engine
Version:
WebGME server and Client API without a GUI
49 lines • 1.45 kB
JSON
{
"id": "MergeExample",
"name": "Merge Example",
"version": "1.7.0",
"description": "Example plugin to show how to use the merge capabilities of webgme.",
"icon": {
"src": "",
"class": "fa fa-share-alt fa-rotate-90"
},
"disableServerSideExecution": false,
"disableBrowserSideExecution": false,
"writeAccessRequired": true,
"configStructure": [
{
"name": "mergeFrom",
"displayName": "Merge from",
"description": "Merging changes from this branch or commit hash.",
"value": "development",
"valueType": "string",
"readOnly": false
},
{
"name": "mergeTo",
"displayName": "Merge to",
"description": "Merging changes to this branch or commit hash.",
"value": "master",
"valueType": "string",
"readOnly": false
},
{
"name": "createNewBranch",
"displayName": "Create a new branch for target",
"description": "Creates a new branch for \"to\" first then merges changes \"from\"",
"value": false,
"valueType": "boolean",
"readOnly": false
},
{
"name": "newBranchName",
"displayName": "Name of the new branch",
"regex": "^[a-zA-Z]+$",
"regexMessage": "Name can only contain English characters!",
"description": "Name of the new branch where the result of the merge will be stored.",
"value": "merge",
"valueType": "string",
"readOnly": false
}
]
}