-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblueprint.json
More file actions
48 lines (48 loc) · 1.85 KB
/
Copy pathblueprint.json
File metadata and controls
48 lines (48 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"landingPage": "/wp-admin/plugins.php",
"login": true,
"steps": [
{
"step": "installPlugin",
"pluginData": {
"resource": "git:directory",
"url": "https://github.com/imsimond/git-switcher",
"ref": "main",
"refType": "branch"
}
},
{
"step": "mkdir",
"path": "/wordpress/wp-content/plugins/fake-plugin/.git/refs/heads"
},
{
"step": "mkdir",
"path": "/wordpress/wp-content/plugins/fake-plugin/.git/logs/refs/heads"
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/plugins/fake-plugin/fake-plugin.php",
"data": "<?php\n/*\nPlugin Name: Fake Plugin\nVersion: 1.0\nDescription: A dummy plugin to test Git Switcher.\n*/"
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/plugins/fake-plugin/.git/HEAD",
"data": "ref: refs/heads/feature-alpha\n"
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/plugins/fake-plugin/.git/refs/heads/main",
"data": "e99a18c428cb38d5425b5acbc47ea22bc5448af3"
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/plugins/fake-plugin/.git/refs/heads/feature-alpha",
"data": "a1b2c3d4e5f6g7h8i9j0"
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/plugins/fake-plugin/.git/logs/refs/heads/feature-alpha",
"data": "0000000000000000000000000000000000000000 a1b2c3d4e5f6g7h8i9j0 Admin <admin@example.com> 1713360000 +0000\tcommit: Initial commit\na1b2c3d4e5f6g7h8i9j0 b2c3d4e5f6g7h8i9j0a1 Admin <admin@example.com> 1713363600 +0000\tcommit: Add new feature\nb2c3d4e5f6g7h8i9j0a1 c3d4e5f6g7h8i9j0a1b2 Admin <admin@example.com> 1713367200 +0000\tcommit: Fixed CSS bug\nc3d4e5f6g7h8i9j0a1b2 d4e5f6g7h8i9j0a1b2c3 Admin <admin@example.com> 1713370800 +0000\tcommit: HEAD commit (the one we are behind)"
}
]
}