@lando/drupal 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nyc_output/processinfo/01d8ff22-9438-4554-b087-ab7603b629f0.json +1 -0
- package/.nyc_output/processinfo/f814aa13-2c41-4f20-8996-54b86b27fa3e.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +10 -0
- package/config/drupal10/default.conf.tpl +2 -0
- package/config/drupal10/mysql.cnf +3 -2
- package/config/drupal10/mysql8.cnf +3 -2
- package/config/drupal10/php.ini +3 -2
- package/config/drupal6/default.conf.tpl +9 -7
- package/config/drupal6/mysql.cnf +4 -3
- package/config/drupal6/mysql8.cnf +3 -2
- package/config/drupal6/php.ini +3 -5
- package/config/drupal7/default.conf.tpl +2 -0
- package/config/drupal7/mysql.cnf +3 -2
- package/config/drupal7/mysql8.cnf +3 -2
- package/config/drupal7/php.ini +3 -2
- package/config/drupal8/default.conf.tpl +2 -0
- package/config/drupal8/mysql.cnf +4 -3
- package/config/drupal8/mysql8.cnf +3 -2
- package/config/drupal8/php.ini +3 -2
- package/config/drupal9/default.conf.tpl +2 -0
- package/config/drupal9/mysql.cnf +3 -2
- package/config/drupal9/mysql8.cnf +3 -2
- package/config/drupal9/php.ini +3 -2
- package/coverage/index.html +1 -1
- package/coverage/utils.js.html +1 -1
- package/coverage/warnings.js.html +1 -1
- package/netlify.toml +2 -4
- package/node_modules/@lando/mariadb/.eslintignore +3 -2
- package/node_modules/@lando/mariadb/CHANGELOG.md +5 -0
- package/node_modules/@lando/mariadb/netlify.toml +19 -4
- package/node_modules/@lando/mariadb/package.json +11 -11
- package/node_modules/@lando/mariadb/tmpfile +0 -0
- package/node_modules/@lando/mariadb/utils/get-default-healthcheck.js +12 -5
- package/node_modules/@lando/mysql/.eslintignore +3 -2
- package/node_modules/@lando/mysql/CHANGELOG.md +5 -0
- package/node_modules/@lando/mysql/netlify.toml +19 -4
- package/node_modules/@lando/mysql/package.json +11 -11
- package/node_modules/@lando/mysql/tmpfile +0 -0
- package/node_modules/@lando/mysql/utils/get-default-healthcheck.js +12 -5
- package/node_modules/@lando/php/.eslintignore +3 -2
- package/node_modules/@lando/php/.nyc_output/processinfo/927b5cd6-2a94-4b26-ac08-3ff93f5da197.json +1 -0
- package/node_modules/@lando/php/.nyc_output/processinfo/b107e51d-27b5-4645-90dd-ca6c345830fa.json +1 -0
- package/node_modules/@lando/php/.nyc_output/processinfo/index.json +1 -1
- package/node_modules/@lando/php/CHANGELOG.md +14 -7
- package/node_modules/@lando/php/builders/php.js +2 -2
- package/node_modules/@lando/php/coverage/index.html +1 -1
- package/node_modules/@lando/php/images/8.3-apache/Dockerfile +83 -0
- package/node_modules/@lando/php/images/8.3-fpm/Dockerfile +84 -0
- package/node_modules/@lando/php/netlify.toml +20 -5
- package/node_modules/@lando/php/package.json +11 -11
- package/node_modules/@lando/php/tmpfile +0 -0
- package/node_modules/@lando/postgres/.eslintignore +3 -2
- package/node_modules/@lando/postgres/.nyc_output/processinfo/3380cdae-4eeb-4e34-9b80-ce510e7ff922.json +1 -0
- package/node_modules/@lando/postgres/.nyc_output/processinfo/4a260cab-351e-4105-aba4-06e6f872bf12.json +1 -0
- package/node_modules/@lando/postgres/.nyc_output/processinfo/index.json +1 -1
- package/node_modules/@lando/postgres/CHANGELOG.md +5 -0
- package/node_modules/@lando/postgres/coverage/index.html +1 -1
- package/node_modules/@lando/postgres/netlify.toml +20 -5
- package/node_modules/@lando/postgres/package.json +13 -13
- package/node_modules/@lando/postgres/tmpfile +0 -0
- package/node_modules/@lando/postgres/utils/get-default-healthcheck.js +9 -4
- package/package.json +10 -10
- package/.nyc_output/processinfo/2fa3fbd3-7ca0-4e2e-8cf3-3e35a2ba8f22.json +0 -1
- package/.nyc_output/processinfo/53e67f35-dbc9-471d-b81e-ec93eb363afe.json +0 -1
- package/node_modules/@lando/php/.nyc_output/processinfo/0d3f9936-7351-4e73-b720-0191b83fa2ed.json +0 -1
- package/node_modules/@lando/php/.nyc_output/processinfo/ce923446-2865-4698-835b-17780656b791.json +0 -1
- package/node_modules/@lando/postgres/.nyc_output/processinfo/2687c51a-1087-45b1-b5dd-1c557d4a9030.json +0 -1
- package/node_modules/@lando/postgres/.nyc_output/processinfo/8b1ac11a-c036-44b8-8ee5-b34875c4541c.json +0 -1
- /package/.nyc_output/{2fa3fbd3-7ca0-4e2e-8cf3-3e35a2ba8f22.json → 01d8ff22-9438-4554-b087-ab7603b629f0.json} +0 -0
- /package/.nyc_output/{53e67f35-dbc9-471d-b81e-ec93eb363afe.json → f814aa13-2c41-4f20-8996-54b86b27fa3e.json} +0 -0
- /package/node_modules/@lando/php/.nyc_output/{0d3f9936-7351-4e73-b720-0191b83fa2ed.json → 927b5cd6-2a94-4b26-ac08-3ff93f5da197.json} +0 -0
- /package/node_modules/@lando/php/.nyc_output/{ce923446-2865-4698-835b-17780656b791.json → b107e51d-27b5-4645-90dd-ca6c345830fa.json} +0 -0
- /package/node_modules/@lando/postgres/.nyc_output/{2687c51a-1087-45b1-b5dd-1c557d4a9030.json → 3380cdae-4eeb-4e34-9b80-ce510e7ff922.json} +0 -0
- /package/node_modules/@lando/postgres/.nyc_output/{8b1ac11a-c036-44b8-8ee5-b34875c4541c.json → 4a260cab-351e-4105-aba4-06e6f872bf12.json} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1903,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/drupal/drupal/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/drupal/drupal","time":1710179737590,"ppid":1892,"coverageFilename":"/home/runner/work/drupal/drupal/.nyc_output/01d8ff22-9438-4554-b087-ab7603b629f0.json","externalId":"","uuid":"01d8ff22-9438-4554-b087-ab7603b629f0","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1892,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/drupal/drupal/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/drupal/drupal","time":1710179737183,"ppid":1891,"coverageFilename":"/home/runner/work/drupal/drupal/.nyc_output/f814aa13-2c41-4f20-8996-54b86b27fa3e.json","externalId":"","uuid":"f814aa13-2c41-4f20-8996-54b86b27fa3e","files":["/home/runner/work/drupal/drupal/lib/utils.js","/home/runner/work/drupal/drupal/lib/warnings.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"processes":{"
|
|
1
|
+
{"processes":{"01d8ff22-9438-4554-b087-ab7603b629f0":{"parent":null,"children":[]},"f814aa13-2c41-4f20-8996-54b86b27fa3e":{"parent":null,"children":[]}},"files":{"/home/runner/work/drupal/drupal/lib/utils.js":["f814aa13-2c41-4f20-8996-54b86b27fa3e"],"/home/runner/work/drupal/drupal/lib/warnings.js":["f814aa13-2c41-4f20-8996-54b86b27fa3e"]},"externalIds":{}}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## v1.3.0 - [March 8, 2024](https://github.com/lando/drupal/releases/tag/v1.3.0)
|
|
2
|
+
* Updated to latest database services.
|
|
3
|
+
|
|
4
|
+
## v1.2.0 - [February 26, 2024](https://github.com/lando/drupal/releases/tag/v1.2.0)
|
|
5
|
+
|
|
6
|
+
### Internal
|
|
7
|
+
|
|
8
|
+
* Updated to `@lando/php@1.2.0`
|
|
9
|
+
* Config tests.
|
|
10
|
+
|
|
1
11
|
## v1.1.0 - [February 20, 2024](https://github.com/lando/drupal/releases/tag/v1.1.0)
|
|
2
12
|
|
|
3
13
|
* Included ability to specify `database: mssql` in the `config` section to maintain backwards compatibility. [@lando/mssql#31](https://github.com/lando/mssql/issues/31)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The MySQL database server configuration file for Lando
|
|
3
3
|
#
|
|
4
|
+
# LANDODRUPALMYSQLCNF
|
|
4
5
|
|
|
5
6
|
[mysqld]
|
|
6
7
|
#
|
|
@@ -71,7 +72,7 @@ max_binlog_size = 100M
|
|
|
71
72
|
#innodb_buffer_pool_size = 384M
|
|
72
73
|
#innodb_additional_mem_pool_size = 20M
|
|
73
74
|
# Set .._log_file_size to 25 % of buffer pool size
|
|
74
|
-
innodb_log_file_size =
|
|
75
|
+
innodb_log_file_size = 101M
|
|
75
76
|
#innodb_log_buffer_size = 8M
|
|
76
77
|
innodb_flush_log_at_trx_commit = 0
|
|
77
78
|
#innodb_lock_wait_timeout = 50
|
|
@@ -82,7 +83,7 @@ innodb_open_files = 256
|
|
|
82
83
|
innodb_io_capacity = 512
|
|
83
84
|
innodb_flush_method = O_DIRECT
|
|
84
85
|
innodb_thread_concurrency = 8
|
|
85
|
-
innodb_lock_wait_timeout =
|
|
86
|
+
innodb_lock_wait_timeout = 121
|
|
86
87
|
#
|
|
87
88
|
# * Security Features
|
|
88
89
|
#
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The MySQL database server configuration file for Lando
|
|
3
3
|
#
|
|
4
|
+
# LANDODRUPALMYSQL8CNF
|
|
4
5
|
|
|
5
6
|
[mysqld]
|
|
6
7
|
#
|
|
@@ -49,7 +50,7 @@ read_buffer_size = 2M
|
|
|
49
50
|
#server-id = 1
|
|
50
51
|
#log_bin = /src/.lando/log/mysql-bin.log
|
|
51
52
|
expire_logs_days = 10
|
|
52
|
-
max_binlog_size =
|
|
53
|
+
max_binlog_size = 101M
|
|
53
54
|
#binlog_do_db = include_database_name
|
|
54
55
|
#binlog_ignore_db = include_database_name
|
|
55
56
|
#
|
|
@@ -77,7 +78,7 @@ innodb_open_files = 256
|
|
|
77
78
|
innodb_io_capacity = 512
|
|
78
79
|
innodb_flush_method = O_DIRECT
|
|
79
80
|
innodb_thread_concurrency = 8
|
|
80
|
-
innodb_lock_wait_timeout =
|
|
81
|
+
innodb_lock_wait_timeout = 127
|
|
81
82
|
#
|
|
82
83
|
# * Security Features
|
|
83
84
|
#
|
package/config/drupal10/php.ini
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
[PHP]
|
|
2
2
|
|
|
3
|
+
; LANDODRUPALPHPINI
|
|
3
4
|
;;;;;;;;;;;;;;;
|
|
4
5
|
; PHP Globals ;
|
|
5
6
|
;;;;;;;;;;;;;;;
|
|
@@ -36,8 +37,8 @@ xdebug.mode = ${XDEBUG_MODE}
|
|
|
36
37
|
|
|
37
38
|
; Globals
|
|
38
39
|
expose_php = on
|
|
39
|
-
max_execution_time =
|
|
40
|
-
max_input_time =
|
|
40
|
+
max_execution_time = 91
|
|
41
|
+
max_input_time = 901
|
|
41
42
|
max_input_vars = 10000
|
|
42
43
|
memory_limit = ${PHP_MEMORY_LIMIT}
|
|
43
44
|
upload_max_filesize = 100M
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# LANDODRUPALNGINXCONF
|
|
2
|
+
|
|
1
3
|
server {
|
|
2
4
|
listen 80 default_server;
|
|
3
5
|
listen 443 ssl;
|
|
@@ -57,8 +59,8 @@ server {
|
|
|
57
59
|
}
|
|
58
60
|
|
|
59
61
|
location / {
|
|
60
|
-
try_files $uri @rewrite; # For Drupal <= 6
|
|
61
|
-
|
|
62
|
+
# try_files $uri @rewrite; # For Drupal <= 6
|
|
63
|
+
try_files $uri /index.php?$query_string; # For Drupal >= 7
|
|
62
64
|
}
|
|
63
65
|
|
|
64
66
|
location @rewrite {
|
|
@@ -103,16 +105,16 @@ server {
|
|
|
103
105
|
}
|
|
104
106
|
|
|
105
107
|
# Fighting with Styles? This little gem is amazing.
|
|
106
|
-
location ~ ^/sites/.*/files/imagecache/ { # For Drupal <= 6
|
|
107
|
-
|
|
108
|
+
# location ~ ^/sites/.*/files/imagecache/ { # For Drupal <= 6
|
|
109
|
+
location ~ ^(/[a-z\-]+)?/sites/.*/files/styles/ { # For Drupal >= 7
|
|
108
110
|
try_files $uri @rewrite;
|
|
109
111
|
}
|
|
110
112
|
|
|
111
113
|
# Handle private files through Drupal. Private file's path can come
|
|
112
114
|
# with a language prefix.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
location ~ ^(/[a-z\-]+)?/system/files/ { # For Drupal >= 7
|
|
116
|
+
try_files $uri /index.php?$query_string;
|
|
117
|
+
}
|
|
116
118
|
|
|
117
119
|
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
|
|
118
120
|
expires max;
|
package/config/drupal6/mysql.cnf
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The MySQL database server configuration file for Lando
|
|
3
3
|
#
|
|
4
|
+
# LANDODRUPALMYSQLCNF
|
|
4
5
|
|
|
5
6
|
[mysqld]
|
|
6
7
|
#
|
|
7
8
|
# * Basic Settings
|
|
8
9
|
#
|
|
9
10
|
# Data is stored in a volume on the db container /sql
|
|
10
|
-
default-storage-engine = innodb
|
|
11
|
+
# default-storage-engine = innodb
|
|
11
12
|
|
|
12
13
|
#
|
|
13
14
|
# * Fine Tuning
|
|
@@ -71,7 +72,7 @@ max_binlog_size = 100M
|
|
|
71
72
|
#innodb_buffer_pool_size = 384M
|
|
72
73
|
#innodb_additional_mem_pool_size = 20M
|
|
73
74
|
# Set .._log_file_size to 25 % of buffer pool size
|
|
74
|
-
innodb_log_file_size =
|
|
75
|
+
innodb_log_file_size = 101M
|
|
75
76
|
#innodb_log_buffer_size = 8M
|
|
76
77
|
innodb_flush_log_at_trx_commit = 0
|
|
77
78
|
#innodb_lock_wait_timeout = 50
|
|
@@ -82,7 +83,7 @@ innodb_open_files = 256
|
|
|
82
83
|
innodb_io_capacity = 512
|
|
83
84
|
innodb_flush_method = O_DIRECT
|
|
84
85
|
innodb_thread_concurrency = 8
|
|
85
|
-
innodb_lock_wait_timeout =
|
|
86
|
+
innodb_lock_wait_timeout = 121
|
|
86
87
|
#
|
|
87
88
|
# * Security Features
|
|
88
89
|
#
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The MySQL database server configuration file for Lando
|
|
3
3
|
#
|
|
4
|
+
# LANDODRUPALMYSQL8CNF
|
|
4
5
|
|
|
5
6
|
[mysqld]
|
|
6
7
|
#
|
|
@@ -49,7 +50,7 @@ read_buffer_size = 2M
|
|
|
49
50
|
#server-id = 1
|
|
50
51
|
#log_bin = /src/.lando/log/mysql-bin.log
|
|
51
52
|
expire_logs_days = 10
|
|
52
|
-
max_binlog_size =
|
|
53
|
+
max_binlog_size = 101M
|
|
53
54
|
#binlog_do_db = include_database_name
|
|
54
55
|
#binlog_ignore_db = include_database_name
|
|
55
56
|
#
|
|
@@ -77,7 +78,7 @@ innodb_open_files = 256
|
|
|
77
78
|
innodb_io_capacity = 512
|
|
78
79
|
innodb_flush_method = O_DIRECT
|
|
79
80
|
innodb_thread_concurrency = 8
|
|
80
|
-
innodb_lock_wait_timeout =
|
|
81
|
+
innodb_lock_wait_timeout = 127
|
|
81
82
|
#
|
|
82
83
|
# * Security Features
|
|
83
84
|
#
|
package/config/drupal6/php.ini
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
[PHP]
|
|
2
2
|
|
|
3
|
+
; LANDODRUPALPHPINI
|
|
3
4
|
;;;;;;;;;;;;;;;
|
|
4
5
|
; PHP Globals ;
|
|
5
6
|
;;;;;;;;;;;;;;;
|
|
@@ -36,8 +37,8 @@ xdebug.mode = ${XDEBUG_MODE}
|
|
|
36
37
|
|
|
37
38
|
; Globals
|
|
38
39
|
expose_php = on
|
|
39
|
-
max_execution_time =
|
|
40
|
-
max_input_time =
|
|
40
|
+
max_execution_time = 91
|
|
41
|
+
max_input_time = 901
|
|
41
42
|
max_input_vars = 10000
|
|
42
43
|
memory_limit = ${PHP_MEMORY_LIMIT}
|
|
43
44
|
upload_max_filesize = 100M
|
|
@@ -47,6 +48,3 @@ ignore_repeated_errors = on
|
|
|
47
48
|
html_errors = off
|
|
48
49
|
display_errors = on
|
|
49
50
|
log_errors = on
|
|
50
|
-
|
|
51
|
-
mbstring.http_input = pass
|
|
52
|
-
mbstring.http_output = pass
|
package/config/drupal7/mysql.cnf
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The MySQL database server configuration file for Lando
|
|
3
3
|
#
|
|
4
|
+
# LANDODRUPALMYSQLCNF
|
|
4
5
|
|
|
5
6
|
[mysqld]
|
|
6
7
|
#
|
|
@@ -71,7 +72,7 @@ max_binlog_size = 100M
|
|
|
71
72
|
#innodb_buffer_pool_size = 384M
|
|
72
73
|
#innodb_additional_mem_pool_size = 20M
|
|
73
74
|
# Set .._log_file_size to 25 % of buffer pool size
|
|
74
|
-
innodb_log_file_size =
|
|
75
|
+
innodb_log_file_size = 101M
|
|
75
76
|
#innodb_log_buffer_size = 8M
|
|
76
77
|
innodb_flush_log_at_trx_commit = 0
|
|
77
78
|
#innodb_lock_wait_timeout = 50
|
|
@@ -82,7 +83,7 @@ innodb_open_files = 256
|
|
|
82
83
|
innodb_io_capacity = 512
|
|
83
84
|
innodb_flush_method = O_DIRECT
|
|
84
85
|
innodb_thread_concurrency = 8
|
|
85
|
-
innodb_lock_wait_timeout =
|
|
86
|
+
innodb_lock_wait_timeout = 121
|
|
86
87
|
#
|
|
87
88
|
# * Security Features
|
|
88
89
|
#
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The MySQL database server configuration file for Lando
|
|
3
3
|
#
|
|
4
|
+
# LANDODRUPALMYSQL8CNF
|
|
4
5
|
|
|
5
6
|
[mysqld]
|
|
6
7
|
#
|
|
@@ -49,7 +50,7 @@ read_buffer_size = 2M
|
|
|
49
50
|
#server-id = 1
|
|
50
51
|
#log_bin = /src/.lando/log/mysql-bin.log
|
|
51
52
|
expire_logs_days = 10
|
|
52
|
-
max_binlog_size =
|
|
53
|
+
max_binlog_size = 101M
|
|
53
54
|
#binlog_do_db = include_database_name
|
|
54
55
|
#binlog_ignore_db = include_database_name
|
|
55
56
|
#
|
|
@@ -77,7 +78,7 @@ innodb_open_files = 256
|
|
|
77
78
|
innodb_io_capacity = 512
|
|
78
79
|
innodb_flush_method = O_DIRECT
|
|
79
80
|
innodb_thread_concurrency = 8
|
|
80
|
-
innodb_lock_wait_timeout =
|
|
81
|
+
innodb_lock_wait_timeout = 127
|
|
81
82
|
#
|
|
82
83
|
# * Security Features
|
|
83
84
|
#
|
package/config/drupal7/php.ini
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
[PHP]
|
|
2
2
|
|
|
3
|
+
; LANDODRUPALPHPINI
|
|
3
4
|
;;;;;;;;;;;;;;;
|
|
4
5
|
; PHP Globals ;
|
|
5
6
|
;;;;;;;;;;;;;;;
|
|
@@ -36,8 +37,8 @@ xdebug.mode = ${XDEBUG_MODE}
|
|
|
36
37
|
|
|
37
38
|
; Globals
|
|
38
39
|
expose_php = on
|
|
39
|
-
max_execution_time =
|
|
40
|
-
max_input_time =
|
|
40
|
+
max_execution_time = 91
|
|
41
|
+
max_input_time = 901
|
|
41
42
|
max_input_vars = 10000
|
|
42
43
|
memory_limit = ${PHP_MEMORY_LIMIT}
|
|
43
44
|
upload_max_filesize = 100M
|
package/config/drupal8/mysql.cnf
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The MySQL database server configuration file for Lando
|
|
3
3
|
#
|
|
4
|
+
# LANDODRUPALMYSQLCNF
|
|
4
5
|
|
|
5
6
|
[mysqld]
|
|
6
7
|
#
|
|
7
8
|
# * Basic Settings
|
|
8
9
|
#
|
|
9
10
|
# Data is stored in a volume on the db container /sql
|
|
10
|
-
default-storage-engine = innodb
|
|
11
|
+
# default-storage-engine = innodb
|
|
11
12
|
|
|
12
13
|
#
|
|
13
14
|
# * Fine Tuning
|
|
@@ -71,7 +72,7 @@ max_binlog_size = 100M
|
|
|
71
72
|
#innodb_buffer_pool_size = 384M
|
|
72
73
|
#innodb_additional_mem_pool_size = 20M
|
|
73
74
|
# Set .._log_file_size to 25 % of buffer pool size
|
|
74
|
-
innodb_log_file_size =
|
|
75
|
+
innodb_log_file_size = 101M
|
|
75
76
|
#innodb_log_buffer_size = 8M
|
|
76
77
|
innodb_flush_log_at_trx_commit = 0
|
|
77
78
|
#innodb_lock_wait_timeout = 50
|
|
@@ -82,7 +83,7 @@ innodb_open_files = 256
|
|
|
82
83
|
innodb_io_capacity = 512
|
|
83
84
|
innodb_flush_method = O_DIRECT
|
|
84
85
|
innodb_thread_concurrency = 8
|
|
85
|
-
innodb_lock_wait_timeout =
|
|
86
|
+
innodb_lock_wait_timeout = 121
|
|
86
87
|
#
|
|
87
88
|
# * Security Features
|
|
88
89
|
#
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The MySQL database server configuration file for Lando
|
|
3
3
|
#
|
|
4
|
+
# LANDODRUPALMYSQL8CNF
|
|
4
5
|
|
|
5
6
|
[mysqld]
|
|
6
7
|
#
|
|
@@ -49,7 +50,7 @@ read_buffer_size = 2M
|
|
|
49
50
|
#server-id = 1
|
|
50
51
|
#log_bin = /src/.lando/log/mysql-bin.log
|
|
51
52
|
expire_logs_days = 10
|
|
52
|
-
max_binlog_size =
|
|
53
|
+
max_binlog_size = 101M
|
|
53
54
|
#binlog_do_db = include_database_name
|
|
54
55
|
#binlog_ignore_db = include_database_name
|
|
55
56
|
#
|
|
@@ -77,7 +78,7 @@ innodb_open_files = 256
|
|
|
77
78
|
innodb_io_capacity = 512
|
|
78
79
|
innodb_flush_method = O_DIRECT
|
|
79
80
|
innodb_thread_concurrency = 8
|
|
80
|
-
innodb_lock_wait_timeout =
|
|
81
|
+
innodb_lock_wait_timeout = 127
|
|
81
82
|
#
|
|
82
83
|
# * Security Features
|
|
83
84
|
#
|
package/config/drupal8/php.ini
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
[PHP]
|
|
2
2
|
|
|
3
|
+
; LANDODRUPALPHPINI
|
|
3
4
|
;;;;;;;;;;;;;;;
|
|
4
5
|
; PHP Globals ;
|
|
5
6
|
;;;;;;;;;;;;;;;
|
|
@@ -36,8 +37,8 @@ xdebug.mode = ${XDEBUG_MODE}
|
|
|
36
37
|
|
|
37
38
|
; Globals
|
|
38
39
|
expose_php = on
|
|
39
|
-
max_execution_time =
|
|
40
|
-
max_input_time =
|
|
40
|
+
max_execution_time = 91
|
|
41
|
+
max_input_time = 901
|
|
41
42
|
max_input_vars = 10000
|
|
42
43
|
memory_limit = ${PHP_MEMORY_LIMIT}
|
|
43
44
|
upload_max_filesize = 100M
|
package/config/drupal9/mysql.cnf
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The MySQL database server configuration file for Lando
|
|
3
3
|
#
|
|
4
|
+
# LANDODRUPALMYSQLCNF
|
|
4
5
|
|
|
5
6
|
[mysqld]
|
|
6
7
|
#
|
|
@@ -71,7 +72,7 @@ max_binlog_size = 100M
|
|
|
71
72
|
#innodb_buffer_pool_size = 384M
|
|
72
73
|
#innodb_additional_mem_pool_size = 20M
|
|
73
74
|
# Set .._log_file_size to 25 % of buffer pool size
|
|
74
|
-
innodb_log_file_size =
|
|
75
|
+
innodb_log_file_size = 101M
|
|
75
76
|
#innodb_log_buffer_size = 8M
|
|
76
77
|
innodb_flush_log_at_trx_commit = 0
|
|
77
78
|
#innodb_lock_wait_timeout = 50
|
|
@@ -82,7 +83,7 @@ innodb_open_files = 256
|
|
|
82
83
|
innodb_io_capacity = 512
|
|
83
84
|
innodb_flush_method = O_DIRECT
|
|
84
85
|
innodb_thread_concurrency = 8
|
|
85
|
-
innodb_lock_wait_timeout =
|
|
86
|
+
innodb_lock_wait_timeout = 121
|
|
86
87
|
#
|
|
87
88
|
# * Security Features
|
|
88
89
|
#
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The MySQL database server configuration file for Lando
|
|
3
3
|
#
|
|
4
|
+
# LANDODRUPALMYSQL8CNF
|
|
4
5
|
|
|
5
6
|
[mysqld]
|
|
6
7
|
#
|
|
@@ -49,7 +50,7 @@ read_buffer_size = 2M
|
|
|
49
50
|
#server-id = 1
|
|
50
51
|
#log_bin = /src/.lando/log/mysql-bin.log
|
|
51
52
|
expire_logs_days = 10
|
|
52
|
-
max_binlog_size =
|
|
53
|
+
max_binlog_size = 101M
|
|
53
54
|
#binlog_do_db = include_database_name
|
|
54
55
|
#binlog_ignore_db = include_database_name
|
|
55
56
|
#
|
|
@@ -77,7 +78,7 @@ innodb_open_files = 256
|
|
|
77
78
|
innodb_io_capacity = 512
|
|
78
79
|
innodb_flush_method = O_DIRECT
|
|
79
80
|
innodb_thread_concurrency = 8
|
|
80
|
-
innodb_lock_wait_timeout =
|
|
81
|
+
innodb_lock_wait_timeout = 127
|
|
81
82
|
#
|
|
82
83
|
# * Security Features
|
|
83
84
|
#
|
package/config/drupal9/php.ini
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
[PHP]
|
|
2
2
|
|
|
3
|
+
; LANDODRUPALPHPINI
|
|
3
4
|
;;;;;;;;;;;;;;;
|
|
4
5
|
; PHP Globals ;
|
|
5
6
|
;;;;;;;;;;;;;;;
|
|
@@ -36,8 +37,8 @@ xdebug.mode = ${XDEBUG_MODE}
|
|
|
36
37
|
|
|
37
38
|
; Globals
|
|
38
39
|
expose_php = on
|
|
39
|
-
max_execution_time =
|
|
40
|
-
max_input_time =
|
|
40
|
+
max_execution_time = 91
|
|
41
|
+
max_input_time = 901
|
|
41
42
|
max_input_vars = 10000
|
|
42
43
|
memory_limit = ${PHP_MEMORY_LIMIT}
|
|
43
44
|
upload_max_filesize = 100M
|
package/coverage/index.html
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2024-
|
|
119
|
+
at 2024-03-11T17:55:37.787Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="prettify.js"></script>
|
|
122
122
|
<script>
|
package/coverage/utils.js.html
CHANGED
|
@@ -469,7 +469,7 @@ const getDrushUrl = <span class="cstat-no" title="statement not covered" ><span
|
|
|
469
469
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
470
470
|
Code coverage generated by
|
|
471
471
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
472
|
-
at 2024-
|
|
472
|
+
at 2024-03-11T17:55:37.787Z
|
|
473
473
|
</div>
|
|
474
474
|
<script src="prettify.js"></script>
|
|
475
475
|
<script>
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
110
110
|
Code coverage generated by
|
|
111
111
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
112
|
-
at 2024-
|
|
112
|
+
at 2024-03-11T17:55:37.787Z
|
|
113
113
|
</div>
|
|
114
114
|
<script src="prettify.js"></script>
|
|
115
115
|
<script>
|
package/netlify.toml
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## v1.1.0 - [March 8, 2024](https://github.com/lando/mariadb/releases/tag/v1.1.0)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
* Allow empty password and other creds fields to pass healthcheck [lando/lamp#51](https://github.com/lando/lamp/issues/51)
|
|
5
|
+
|
|
1
6
|
## v1.0.0 - [December 7, 2023](https://github.com/lando/mariadb/releases/tag/v1.0.0)
|
|
2
7
|
|
|
3
8
|
* Dialed fully for `lando update`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[build]
|
|
2
2
|
base = "./"
|
|
3
|
-
publish = "docs/.
|
|
3
|
+
publish = "docs/.vitepress/dist"
|
|
4
4
|
command = "npm run docs:build"
|
|
5
5
|
|
|
6
6
|
# Sets our asset optimization
|
|
@@ -20,13 +20,28 @@
|
|
|
20
20
|
for = "/images/*"
|
|
21
21
|
[headers.values]
|
|
22
22
|
Cache-Control = "public, max-age=31536000"
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
# pluginz
|
|
25
|
+
# https://github.com/netlify/netlify-plugin-lighthouse#readme
|
|
26
|
+
[[plugins]]
|
|
27
|
+
package = "@netlify/plugin-lighthouse"
|
|
28
|
+
[plugins.inputs.audits]
|
|
29
|
+
output_path = "reports/lighthouse.html"
|
|
30
|
+
|
|
31
|
+
# https://github.com/munter/netlify-plugin-checklinks#readme
|
|
32
|
+
[[plugins]]
|
|
33
|
+
package = "netlify-plugin-checklinks"
|
|
34
|
+
[plugins.inputs]
|
|
35
|
+
todoPatterns = [ "load", "CHANGELOG.html", "x.com", "twitter.com" ]
|
|
36
|
+
skipPatterns = [ ".rss", ".gif", ".jpg" ]
|
|
37
|
+
checkExternal = true
|
|
38
|
+
|
|
24
39
|
# We need this so preview environments and the base site look ok on their own
|
|
25
40
|
[[redirects]]
|
|
26
41
|
from = "/"
|
|
27
|
-
to = "/mariadb"
|
|
42
|
+
to = "/plugins/mariadb"
|
|
28
43
|
status = 200
|
|
29
44
|
[[redirects]]
|
|
30
|
-
from = "/mariadb/*"
|
|
45
|
+
from = "/plugins/mariadb/*"
|
|
31
46
|
to = "/:splat"
|
|
32
47
|
status = 200
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/mariadb",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with mariadb.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": "lando/mariadb",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
36
|
-
"docs:dev": "
|
|
37
|
-
"docs:build": "
|
|
38
|
-
"docs:
|
|
39
|
-
"lint": "eslint --
|
|
36
|
+
"docs:dev": "vitepress dev docs",
|
|
37
|
+
"docs:build": "vitepress build docs",
|
|
38
|
+
"docs:preview": "vitepress preview docs",
|
|
39
|
+
"lint": "eslint . --ext .js --ext .mjs ",
|
|
40
40
|
"test:unit": "nyc --reporter=html --reporter=text mocha --timeout 5000 test/**/*.spec.js",
|
|
41
41
|
"test:leia": "leia \"examples/**/README.md\" -c 'Destroy tests' --stdin",
|
|
42
42
|
"test": "npm run lint && npm run test:unit"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/eslint-parser": "^7.16.0",
|
|
49
49
|
"@lando/leia": "^0.6.5",
|
|
50
|
-
"@lando/
|
|
50
|
+
"@lando/vitepress-theme-default-plus": "^1.0.0-beta.40",
|
|
51
51
|
"chai": "^4.3.4",
|
|
52
52
|
"command-line-test": "^1.0.10",
|
|
53
53
|
"eslint": "^7.32.0",
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"eslint-plugin-vue": "^8.0.3",
|
|
56
56
|
"mocha": "^9.1.2",
|
|
57
57
|
"nyc": "^15.1.0",
|
|
58
|
-
"
|
|
58
|
+
"vitepress": "^1.0.0-rc.42"
|
|
59
59
|
},
|
|
60
60
|
"bundledDependencies": [
|
|
61
61
|
"lodash"
|
|
62
62
|
],
|
|
63
63
|
"dist": {
|
|
64
|
-
"integrity": "sha512-
|
|
65
|
-
"shasum": "
|
|
66
|
-
"filename": "lando-mariadb-1.
|
|
67
|
-
"unpackedSize":
|
|
64
|
+
"integrity": "sha512-WfVKHB9WNfAnYmcUtvHD1mnEtzTrJPnC8IxxXD7bXlGHzCg0fTDMCDq/E4KULzPv3gzSv/Y/qVckwk6PBHrTPQ==",
|
|
65
|
+
"shasum": "3e46a4aa9c131181ed9fbe403e060c90ef9dff67",
|
|
66
|
+
"filename": "lando-mariadb-1.1.0.tgz",
|
|
67
|
+
"unpackedSize": 1469176
|
|
68
68
|
}
|
|
69
69
|
}
|
|
File without changes
|
|
@@ -2,14 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
// checks to see if a setting is disabled
|
|
4
4
|
module.exports = options => {
|
|
5
|
-
|
|
5
|
+
let healthcheck = [
|
|
6
6
|
'mysql',
|
|
7
7
|
`--host=${options.name}`,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
// Only include whatever creds are available.
|
|
11
|
+
options.creds.user ? healthcheck.push(`--user=${options.creds.user}`) : false;
|
|
12
|
+
options.creds.database ? healthcheck.push(`--database=${options.creds.database}`) : false;
|
|
13
|
+
options.creds.password ? healthcheck.push(`--password=${options.creds.password}`) : false;
|
|
14
|
+
|
|
15
|
+
healthcheck = healthcheck.concat([
|
|
11
16
|
'--silent',
|
|
12
17
|
'--execute',
|
|
13
18
|
'"SHOW TABLES;"',
|
|
14
|
-
]
|
|
19
|
+
]);
|
|
20
|
+
|
|
21
|
+
return healthcheck.join(' ');
|
|
15
22
|
};
|