@lando/symfony 1.3.0 → 1.4.1
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/61859fb3-ac68-45b8-b65b-22bcf941c388.json +1 -0
- package/.nyc_output/processinfo/a404ca81-f26d-4a98-b687-edb7c07118ad.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +12 -0
- package/builders/symfony.js +16 -4
- package/config/default.conf.tpl +2 -0
- package/config/{mysql.conf → mysql.cnf} +4 -2
- package/config/mysql8.cnf +3 -2
- package/config/php.ini +4 -2
- package/coverage/index.html +1 -1
- package/package.json +5 -5
- package/.nyc_output/processinfo/ab9d0f17-1878-4f8b-9fdc-274a42304209.json +0 -1
- package/.nyc_output/processinfo/dcd4683f-c215-4a0e-bf8e-0b85e0ab5e93.json +0 -1
- /package/.nyc_output/{ab9d0f17-1878-4f8b-9fdc-274a42304209.json → 61859fb3-ac68-45b8-b65b-22bcf941c388.json} +0 -0
- /package/.nyc_output/{dcd4683f-c215-4a0e-bf8e-0b85e0ab5e93.json → a404ca81-f26d-4a98-b687-edb7c07118ad.json} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1955,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/symfony/symfony/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/symfony/symfony","time":1709611417411,"ppid":1944,"coverageFilename":"/home/runner/work/symfony/symfony/.nyc_output/61859fb3-ac68-45b8-b65b-22bcf941c388.json","externalId":"","uuid":"61859fb3-ac68-45b8-b65b-22bcf941c388","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1944,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/symfony/symfony/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/symfony/symfony","time":1709611417254,"ppid":1943,"coverageFilename":"/home/runner/work/symfony/symfony/.nyc_output/a404ca81-f26d-4a98-b687-edb7c07118ad.json","externalId":"","uuid":"a404ca81-f26d-4a98-b687-edb7c07118ad","files":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"processes":{"
|
|
1
|
+
{"processes":{"61859fb3-ac68-45b8-b65b-22bcf941c388":{"parent":null,"children":[]},"a404ca81-f26d-4a98-b687-edb7c07118ad":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## v1.4.1 - [March 4, 2024](https://github.com/lando/symfony/releases/tag/v1.4.1)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
|
|
5
|
+
* Improved `database` selection for purposes of `config` loading, fixes some `database` bootup issues when the `database` type is overriden downstream
|
|
6
|
+
|
|
7
|
+
## v1.4.0 - [February 22, 2024](https://github.com/lando/symfony/releases/tag/v1.4.0)
|
|
8
|
+
|
|
9
|
+
### Fixes
|
|
10
|
+
|
|
11
|
+
* Fixed `CRITICAL` issue with default config files not loading correctly.
|
|
12
|
+
|
|
1
13
|
## v1.3.0 - [February 21, 2024](https://github.com/lando/symfony/releases/tag/v1.3.0)
|
|
2
14
|
|
|
3
15
|
* Updated memcached plugin to [v1.1.0](https://github.com/lando/memcached/releases/tag/v1.1.0).
|
package/builders/symfony.js
CHANGED
|
@@ -74,7 +74,16 @@ const getServiceConfig = (options, types = ['php', 'server', 'vhosts']) => {
|
|
|
74
74
|
return config;
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
/*
|
|
78
|
+
* Helper to get database type
|
|
79
|
+
*/
|
|
80
|
+
const getDatabaseType = options => {
|
|
81
|
+
return _.get(options, '_app.config.services.database.type', options.database) ?? 'mysql';
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/*
|
|
85
|
+
* Tooling defaults
|
|
86
|
+
*/
|
|
78
87
|
const toolingDefaults = {
|
|
79
88
|
'composer': {
|
|
80
89
|
service: 'appserver',
|
|
@@ -172,11 +181,12 @@ const getConfigDefaults = options => {
|
|
|
172
181
|
// Get the viaconf
|
|
173
182
|
if (_.startsWith(options.via, 'nginx')) options.defaultFiles.vhosts = 'default.conf.tpl';
|
|
174
183
|
|
|
175
|
-
//
|
|
176
|
-
|
|
184
|
+
// attempt to discover the database that is actually being used
|
|
185
|
+
// @NOTE: this will look to see if database is overridden
|
|
186
|
+
const dbConfig = getDatabaseType(options);
|
|
177
187
|
const database = _.first(dbConfig.split(':'));
|
|
178
188
|
const version = _.last(dbConfig.split(':')).substring(0, 2);
|
|
179
|
-
if (database === 'mysql' || database === 'mariadb') {
|
|
189
|
+
if (database === 'symfony-mysql' || database === 'mysql' || database === 'mariadb') {
|
|
180
190
|
if (version === '8.') {
|
|
181
191
|
options.defaultFiles.database = 'mysql8.cnf';
|
|
182
192
|
} else {
|
|
@@ -190,6 +200,8 @@ const getConfigDefaults = options => {
|
|
|
190
200
|
delete options.defaultFiles[type];
|
|
191
201
|
}
|
|
192
202
|
});
|
|
203
|
+
|
|
204
|
+
return options.defaultFiles;
|
|
193
205
|
};
|
|
194
206
|
|
|
195
207
|
/*
|
package/config/default.conf.tpl
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The MySQL database server configuration file for Lando
|
|
3
3
|
#
|
|
4
|
+
# LANDOSYMFONYMYSQLCNF
|
|
5
|
+
|
|
4
6
|
|
|
5
7
|
[mysqld]
|
|
6
8
|
#
|
|
@@ -71,7 +73,7 @@ max_binlog_size = 100M
|
|
|
71
73
|
#innodb_buffer_pool_size = 384M
|
|
72
74
|
#innodb_additional_mem_pool_size = 20M
|
|
73
75
|
# Set .._log_file_size to 25 % of buffer pool size
|
|
74
|
-
innodb_log_file_size =
|
|
76
|
+
innodb_log_file_size = 101M
|
|
75
77
|
#innodb_log_buffer_size = 8M
|
|
76
78
|
innodb_flush_log_at_trx_commit = 0
|
|
77
79
|
#innodb_lock_wait_timeout = 50
|
|
@@ -82,7 +84,7 @@ innodb_open_files = 256
|
|
|
82
84
|
innodb_io_capacity = 512
|
|
83
85
|
innodb_flush_method = O_DIRECT
|
|
84
86
|
innodb_thread_concurrency = 8
|
|
85
|
-
innodb_lock_wait_timeout =
|
|
87
|
+
innodb_lock_wait_timeout = 121
|
|
86
88
|
#
|
|
87
89
|
# * Security Features
|
|
88
90
|
#
|
package/config/mysql8.cnf
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# The MySQL database server configuration file for Lando
|
|
3
3
|
#
|
|
4
|
+
# LANDOSYMFONYMYSQL8CNF
|
|
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/php.ini
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
[PHP]
|
|
2
2
|
|
|
3
|
+
; LANDOSYMFONYPHPINI
|
|
4
|
+
|
|
3
5
|
;;;;;;;;;;;;;;;
|
|
4
6
|
; PHP Globals ;
|
|
5
7
|
;;;;;;;;;;;;;;;
|
|
@@ -33,8 +35,8 @@ xdebug.collect_params = 0
|
|
|
33
35
|
|
|
34
36
|
; Globals
|
|
35
37
|
expose_php = on
|
|
36
|
-
max_execution_time =
|
|
37
|
-
max_input_time =
|
|
38
|
+
max_execution_time = 91
|
|
39
|
+
max_input_time = 901
|
|
38
40
|
max_input_vars = 10000
|
|
39
41
|
memory_limit = ${PHP_MEMORY_LIMIT}
|
|
40
42
|
upload_max_filesize = 100M
|
package/coverage/index.html
CHANGED
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
87
87
|
Code coverage generated by
|
|
88
88
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
89
|
-
at 2024-
|
|
89
|
+
at 2024-03-05T04:03:37.605Z
|
|
90
90
|
</div>
|
|
91
91
|
<script src="prettify.js"></script>
|
|
92
92
|
<script>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/symfony",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with Symfony.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.1",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": "lando/symfony",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"lodash"
|
|
80
80
|
],
|
|
81
81
|
"dist": {
|
|
82
|
-
"integrity": "sha512-
|
|
83
|
-
"shasum": "
|
|
84
|
-
"filename": "lando-symfony-1.
|
|
85
|
-
"unpackedSize":
|
|
82
|
+
"integrity": "sha512-Wc0sW0+RQdHjOdiOsi7qHVzNjL6TGlYDMcOaITuwHTg+dljPXKD1opSxq/Mgj7EH4nFNo+30s3NbsizFJToICA==",
|
|
83
|
+
"shasum": "512c730edf345aa78a66f0efee9eca2a6e44627f",
|
|
84
|
+
"filename": "lando-symfony-1.4.1.tgz",
|
|
85
|
+
"unpackedSize": 16649716
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":1864,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/symfony/symfony/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/symfony/symfony","time":1708544782819,"ppid":1853,"coverageFilename":"/home/runner/work/symfony/symfony/.nyc_output/ab9d0f17-1878-4f8b-9fdc-274a42304209.json","externalId":"","uuid":"ab9d0f17-1878-4f8b-9fdc-274a42304209","files":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":1853,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/symfony/symfony/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/symfony/symfony","time":1708544782660,"ppid":1852,"coverageFilename":"/home/runner/work/symfony/symfony/.nyc_output/dcd4683f-c215-4a0e-bf8e-0b85e0ab5e93.json","externalId":"","uuid":"dcd4683f-c215-4a0e-bf8e-0b85e0ab5e93","files":[]}
|
|
File without changes
|
|
File without changes
|