@lando/symfony 1.5.0 → 1.6.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.
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":1841,"argv":["/opt/hostedtoolcache/node/18.20.3/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":1717186728340,"ppid":1840,"coverageFilename":"/home/runner/work/symfony/symfony/.nyc_output/4ed427dc-02b6-43ca-b0c2-f579149c83dc.json","externalId":"","uuid":"4ed427dc-02b6-43ca-b0c2-f579149c83dc","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":1852,"argv":["/opt/hostedtoolcache/node/18.20.3/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":1717186728503,"ppid":1841,"coverageFilename":"/home/runner/work/symfony/symfony/.nyc_output/6f0c983e-dc2f-4a49-82b2-0305c8fca917.json","externalId":"","uuid":"6f0c983e-dc2f-4a49-82b2-0305c8fca917","files":[]}
@@ -1 +1 @@
1
- {"processes":{"9eb5a242-d175-4832-b066-fcad35ff990b":{"parent":null,"children":[]},"bbc6227c-0e57-4656-ad5b-874f12785892":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
1
+ {"processes":{"4ed427dc-02b6-43ca-b0c2-f579149c83dc":{"parent":null,"children":[]},"6f0c983e-dc2f-4a49-82b2-0305c8fca917":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
package/CHANGELOG.md CHANGED
@@ -1,11 +1,18 @@
1
+ ## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
2
+
3
+ ## v1.6.0 - [May 31, 2024](https://github.com/lando/symfony/releases/tag/v1.6.0)
4
+
5
+ * Use mysql command for MariaDB 10.3.x and below [#52](https://github.com/lando/symfony/issues/52)
6
+
1
7
  ## v1.5.0 - [March 8, 2024](https://github.com/lando/symfony/releases/tag/v1.5.0)
2
- * Updated to latest database services.
8
+
9
+ * Updated to latest database services.
3
10
 
4
11
  ## v1.4.1 - [March 4, 2024](https://github.com/lando/symfony/releases/tag/v1.4.1)
5
12
 
6
13
  ### Fixes
7
14
 
8
- * Improved `database` selection for purposes of `config` loading, fixes some `database` bootup issues when the `database` type is overriden downstream
15
+ * Improved `database` selection for purposes of `config` loading, fixes some `database` bootup issues when the `database` type is overridden downstream
9
16
 
10
17
  ## v1.4.0 - [February 22, 2024](https://github.com/lando/symfony/releases/tag/v1.4.0)
11
18
 
package/README.md CHANGED
@@ -40,6 +40,12 @@ If you'd like to report a bug or submit a feature request then please [use the i
40
40
 
41
41
  We try to log all changes big and small in both [THE CHANGELOG](https://github.com/lando/symfony/blob/main/CHANGELOG.md) and the [release notes](https://github.com/lando/symfony/releases).
42
42
 
43
+
44
+ ## Maintainers
45
+
46
+ * [@pirog](https://github.com/pirog)
47
+ * [@reynoldsalec](https://github.com/reynoldsalec)
48
+
43
49
  ## Contributors
44
50
 
45
51
  <a href="https://github.com/lando/symfony/graphs/contributors">
@@ -133,13 +133,19 @@ const toolingDefaults = {
133
133
  */
134
134
  const getDbTooling = database => {
135
135
  // Make sure we strip out any version number
136
- database = database.split(':')[0];
136
+ const db = database.split(':')[0];
137
+ const ver = database.split(':')[1];
137
138
  // Choose wisely
138
- if (_.includes(['mysql', 'mariadb'], database)) {
139
+ if (db === 'mysql') {
139
140
  return {mysql: mysqlCli};
140
- } else if (database === 'postgres') {
141
+ } else if (db === 'mariadb' && ver < 10.4) {
142
+ // mariadb command not available in 10.3.x and below
143
+ return {mysql: mysqlCli};
144
+ } else if (db === 'mariadb') {
145
+ return {mariadb: mariadbCli};
146
+ } else if (db === 'postgres') {
141
147
  return {psql: postgresCli};
142
- } else if (database === 'mongo') {
148
+ } else if (db === 'mongo') {
143
149
  return {mongo: {
144
150
  service: 'database',
145
151
  description: 'Drop into the mongo shell',
@@ -147,7 +153,20 @@ const getDbTooling = database => {
147
153
  }
148
154
  };
149
155
 
150
- // Default DB cli commands
156
+ // MariaDB cli commands
157
+ const mariadbCli = {
158
+ service: ':host',
159
+ description: 'Drops into a MariaDB shell on a database service',
160
+ cmd: 'mariadb -uroot',
161
+ options: {
162
+ host: {
163
+ description: 'The database service to use',
164
+ default: 'database',
165
+ alias: ['h'],
166
+ },
167
+ },
168
+ };
169
+ // MySQL DB cli commands
151
170
  const mysqlCli = {
152
171
  service: ':host',
153
172
  description: 'Drops into a MySQL shell on a database service',
@@ -160,6 +179,7 @@ const mysqlCli = {
160
179
  },
161
180
  },
162
181
  };
182
+ // Postgres cli commands
163
183
  const postgresCli = {
164
184
  service: ':host',
165
185
  description: 'Drops into a psql shell on a database service',
@@ -209,7 +229,6 @@ const getConfigDefaults = options => {
209
229
  */
210
230
  const getTooling = options => _.merge({}, toolingDefaults, getDbTooling(options.database));
211
231
 
212
-
213
232
  /*
214
233
  * Build Symfony
215
234
  */
@@ -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-03-11T17:57:47.203Z
89
+ at 2024-05-31T20:18:48.695Z
90
90
  </div>
91
91
  <script src="prettify.js"></script>
92
92
  <script>
@@ -1,3 +1,11 @@
1
+ ## v1.3.0 - [April 11, 2024](https://github.com/lando/mariadb/releases/tag/v1.3.0)
2
+
3
+ * Updated available version of Mariadb to 11.3. [#53](https://github.com/lando/mariadb/pull/53)
4
+
5
+ ## v1.2.0 - [March 19, 2024](https://github.com/lando/mariadb/releases/tag/v1.2.0)
6
+
7
+ * Updated available version of Mariadb. [#45](https://github.com/lando/mariadb/pull/45)
8
+
1
9
  ## v1.1.0 - [March 8, 2024](https://github.com/lando/mariadb/releases/tag/v1.1.0)
2
10
 
3
11
  ### Fixes
@@ -33,6 +33,12 @@ If you'd like to report a bug or submit a feature request then please [use the i
33
33
 
34
34
  We try to log all changes big and small in both [THE CHANGELOG](https://github.com/lando/mariadb/blob/main/CHANGELOG.md) and the [release notes](https://github.com/lando/mariadb/releases).
35
35
 
36
+
37
+ ## Maintainers
38
+
39
+ * [@pirog](https://github.com/pirog)
40
+ * [@reynoldsalec](https://github.com/reynoldsalec)
41
+
36
42
  ## Contributors
37
43
 
38
44
  <a href="https://github.com/lando/mariadb/graphs/contributors">
@@ -9,9 +9,19 @@ module.exports = {
9
9
  name: 'mariadb',
10
10
  config: {
11
11
  version: '10.3',
12
- supported: ['10.6', '10.5', '10.4', '10.3', '10.2', '10.1'],
13
- legacy: ['10.1'],
12
+ supported: ['11.3', '11.2', '11.1', '11.0', '10.11', '10.10', '10.9',
13
+ '10.8', '10.7', '10.6', '10.5', '10.4', '10.3', '10.2', '10.1'],
14
+ legacy: ['10.10', '10.9', '10.8', '10.7', '10.3', '10.2', '10.1'],
14
15
  pinPairs: {
16
+ '11.3': 'bitnami/mariadb:11.3.2-debian-12-r1',
17
+ '11.2': 'bitnami/mariadb:11.2.3-debian-12-r4',
18
+ '11.1': 'bitnami/mariadb:11.1.4-debian-12-r4',
19
+ '11.0': 'bitnami/mariadb:11.0.5-debian-12-r5',
20
+ '10.11': 'bitnami/mariadb:10.11.7-debian-12-r6',
21
+ '10.10': 'bitnami/mariadb:10.10.7-debian-11-r6',
22
+ '10.9': 'bitnami/mariadb:10.9.8-debian-11-r22',
23
+ '10.8': 'bitnami/mariadb:10.8.8-debian-11-r5',
24
+ '10.7': 'bitnami/mariadb:10.7.8-debian-11-r6',
15
25
  '10.6': 'bitnami/mariadb:10.6.5-debian-10-r30',
16
26
  '10.5': 'bitnami/mariadb:10.5.8-debian-10-r74',
17
27
  '10.4': 'bitnami/mariadb:10.4.17-debian-10-r84',
@@ -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.1.0",
4
+ "version": "1.3.0",
5
5
  "author": "Mike Pirog @pirog",
6
6
  "license": "GPL-3.0",
7
7
  "repository": "lando/mariadb",
@@ -46,8 +46,8 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@babel/eslint-parser": "^7.16.0",
49
- "@lando/leia": "^0.6.5",
50
- "@lando/vitepress-theme-default-plus": "^1.0.0-beta.40",
49
+ "@lando/leia": "^1.0.0-beta.3",
50
+ "@lando/vitepress-theme-default-plus": "^1.0.1",
51
51
  "chai": "^4.3.4",
52
52
  "command-line-test": "^1.0.10",
53
53
  "eslint": "^7.32.0",
@@ -61,9 +61,9 @@
61
61
  "lodash"
62
62
  ],
63
63
  "dist": {
64
- "integrity": "sha512-WfVKHB9WNfAnYmcUtvHD1mnEtzTrJPnC8IxxXD7bXlGHzCg0fTDMCDq/E4KULzPv3gzSv/Y/qVckwk6PBHrTPQ==",
65
- "shasum": "3e46a4aa9c131181ed9fbe403e060c90ef9dff67",
66
- "filename": "lando-mariadb-1.1.0.tgz",
67
- "unpackedSize": 1469176
64
+ "integrity": "sha512-KS+XSsRaPbNKzzIqFgWeqzrZdW1u9687rDNby+ubOXHiIswReyil+lXOkQ6qYIl13kF3zINihEKzlMpWU/e+YQ==",
65
+ "shasum": "ddda15f427edcd3c39c6c0de143c04eda6eb48d9",
66
+ "filename": "lando-mariadb-1.3.0.tgz",
67
+ "unpackedSize": 1470246
68
68
  }
69
69
  }
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.5.0",
4
+ "version": "1.6.0",
5
5
  "author": "Mike Pirog @pirog",
6
6
  "license": "GPL-3.0",
7
7
  "repository": "lando/symfony",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@lando/apache": "^1.0.0",
46
- "@lando/mariadb": "^1.1.0",
46
+ "@lando/mariadb": "^1.3.0",
47
47
  "@lando/memcached": "^1.1.0",
48
48
  "@lando/mssql": "^1.0.0",
49
49
  "@lando/mysql": "^1.1.0",
@@ -55,8 +55,8 @@
55
55
  },
56
56
  "devDependencies": {
57
57
  "@babel/eslint-parser": "^7.23.10",
58
- "@lando/leia": "^0.6.7",
59
- "@lando/vitepress-theme-default-plus": "^1.0.0-beta.40",
58
+ "@lando/leia": "^1.0.0-beta.3",
59
+ "@lando/vitepress-theme-default-plus": "^1.0.2",
60
60
  "chai": "^4.3.4",
61
61
  "command-line-test": "^1.0.10",
62
62
  "eslint": "^8.56.0",
@@ -79,9 +79,9 @@
79
79
  "lodash"
80
80
  ],
81
81
  "dist": {
82
- "integrity": "sha512-ofPWBhMRRt/t2AX6X2vvrBgPeO5iCU03rTAIyjo+5T79BUlgJtqlp+F/PSkEPSvZIL9RlWf70+lTkcZi4lw66A==",
83
- "shasum": "0f436a366a954c50f3e8621b4b0d05e88944cd9f",
84
- "filename": "lando-symfony-1.5.0.tgz",
85
- "unpackedSize": 16652524
82
+ "integrity": "sha512-B8Phc+St499Q95K7DX4PZBDb9p58JPP90EXhMCEVJsnKGT2TXU/lRHBUIuJpfwTL4GfYJ2E8kOKXNJl7sAXyXw==",
83
+ "shasum": "0a5ca7d528be49179ae9302bfde1d0f5cfcd9d1f",
84
+ "filename": "lando-symfony-1.6.0.tgz",
85
+ "unpackedSize": 16654474
86
86
  }
87
87
  }
@@ -1 +0,0 @@
1
- {"parent":null,"pid":1823,"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":1710179866846,"ppid":1822,"coverageFilename":"/home/runner/work/symfony/symfony/.nyc_output/9eb5a242-d175-4832-b066-fcad35ff990b.json","externalId":"","uuid":"9eb5a242-d175-4832-b066-fcad35ff990b","files":[]}
@@ -1 +0,0 @@
1
- {"parent":null,"pid":1834,"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":1710179867001,"ppid":1823,"coverageFilename":"/home/runner/work/symfony/symfony/.nyc_output/bbc6227c-0e57-4656-ad5b-874f12785892.json","externalId":"","uuid":"bbc6227c-0e57-4656-ad5b-874f12785892","files":[]}