Skip to content

Commit ad1e36d

Browse files
committed
feature: flow-php/symfony-postgresql-bundle
feature: migrations cli app interface feature: basic building blocks for migrations feature: migration store feature: migrations repository feature: migrations repository feature: migrations generator feature: migration executor feature: setup migrations cli commands feauter: symfony migration bundle - move core abstractions to postgresql package - move implementations to symfony bundle feature: load catalog cofiguration from yaml feature: wrap migrations in transations refactor: catalog_providers configuration in postgresql bundles - detach catalog from connection - allow to chain providers - allow to register by tag / attribute refactor: simplify catalog congigratuin feature: add support for telemetry in postgresql bundle feature: documentation
1 parent 467cb4b commit ad1e36d

File tree

333 files changed

+12828
-532
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

333 files changed

+12828
-532
lines changed

.codecov.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ component_management:
6060
name: lib-postgresql
6161
paths:
6262
- src/lib/postgresql/**
63-
- component_id: lib-postgresql-migrations
64-
name: lib-postgresql-migrations
65-
paths:
66-
- src/lib/postgresql-migrations/**
6763
- component_id: lib-telemetry
6864
name: lib-telemetry
6965
paths:
@@ -104,6 +100,10 @@ component_management:
104100
name: bridge-symfony-http-foundation-telemetry
105101
paths:
106102
- src/bridge/symfony/http-foundation-telemetry/**
103+
- component_id: bridge-symfony-postgresql-bundle
104+
name: bridge-symfony-postgresql-bundle
105+
paths:
106+
- src/bridge/symfony/postgresql-bundle/**
107107
- component_id: bridge-symfony-telemetry-bundle
108108
name: bridge-symfony-telemetry-bundle
109109
paths:

.github/workflows/monorepo-split.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ jobs:
4444
split_repository: 'types'
4545
- local_path: 'src/lib/postgresql'
4646
split_repository: 'postgresql'
47-
- local_path: 'src/lib/postgresql-migrations'
48-
split_repository: 'postgresql-migrations'
4947
- local_path: 'src/lib/telemetry'
5048
split_repository: 'telemetry'
5149

@@ -96,6 +94,8 @@ jobs:
9694
split_repository: 'symfony-http-foundation-bridge'
9795
- local_path: 'src/bridge/symfony/http-foundation-telemetry'
9896
split_repository: 'symfony-http-foundation-telemetry-bridge'
97+
- local_path: 'src/bridge/symfony/postgresql-bundle'
98+
split_repository: 'symfony-postgresql-bundle'
9999
- local_path: 'src/bridge/symfony/telemetry-bundle'
100100
split_repository: 'symfony-telemetry-bundle'
101101
- local_path: 'src/bridge/telemetry/otlp'

bin/docs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function execute(InputInterface $input, OutputInterface $output) : int
6565
__DIR__ . '/../src/lib/postgresql/src/Flow/PostgreSql/DSL/condition.php',
6666
__DIR__ . '/../src/lib/postgresql/src/Flow/PostgreSql/DSL/parser.php',
6767
__DIR__ . '/../src/lib/postgresql/src/Flow/PostgreSql/DSL/client.php',
68-
__DIR__ . '/../src/lib/postgresql-migrations/src/Flow/PostgreSql/Migrations/DSL/functions.php',
68+
__DIR__ . '/../src/lib/postgresql/src/Flow/PostgreSql/Migrations/DSL/functions.php',
6969
__DIR__ . '/../src/lib/telemetry/src/Flow/Telemetry/DSL/functions.php',
7070
__DIR__ . '/../src/lib/azure-sdk/src/Flow/Azure/SDK/DSL/functions.php',
7171
__DIR__ . '/../src/bridge/filesystem/azure/src/Flow/Filesystem/Bridge/Azure/DSL/functions.php',

composer.json

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"ext-xmlreader": "*",
2121
"ext-xmlwriter": "*",
2222
"ext-zlib": "*",
23-
"composer-runtime-api": "^2.0",
23+
"composer-runtime-api": "^2.2",
2424
"async-aws/s3": "^2.6",
2525
"brick/math": "^0.12 || ^0.13 || ^0.14",
2626
"coduo/php-humanizer": "^5.0",
@@ -39,15 +39,15 @@
3939
"psr/http-message": "^1.0 || ^2.0",
4040
"psr/log": "^2.0 || ^3.0",
4141
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
42-
"symfony/config": "^6.4 || ^7.3 || ^8.0",
43-
"symfony/console": "^6.4 || ^7.3 || ^8.0",
44-
"symfony/dependency-injection": "^6.4 || ^7.3 || ^8.0",
45-
"symfony/event-dispatcher": "^6.4 || ^7.3 || ^8.0",
46-
"symfony/http-foundation": "^6.4 || ^7.3 || ^8.0",
47-
"symfony/http-kernel": "^6.4 || ^7.3 || ^8.0",
42+
"symfony/config": "^6.4 || ^7.4 || ^8.0",
43+
"symfony/console": "^6.4 || ^7.4 || ^8.0",
44+
"symfony/dependency-injection": "^6.4 || ^7.4 || ^8.0",
45+
"symfony/event-dispatcher": "^6.4 || ^7.4 || ^8.0",
46+
"symfony/http-foundation": "^6.4 || ^7.4 || ^8.0",
47+
"symfony/http-kernel": "^6.4 || ^7.4 || ^8.0",
4848
"symfony/polyfill-mbstring": "^1.33",
49-
"symfony/string": "^6.4 || ^7.3 || ^8.0",
50-
"symfony/uid": "^6.4 || ^7.3 || ^8.0",
49+
"symfony/string": "^6.4 || ^7.4 || ^8.0",
50+
"symfony/uid": "^6.4 || ^7.4 || ^8.0",
5151
"webmozart/glob": "^3.0 || ^4.0"
5252
},
5353
"require-dev": {
@@ -61,14 +61,14 @@
6161
"php-http/curl-client": "^2.2",
6262
"php-http/mock-client": "^1.5",
6363
"ramsey/uuid": "^4.5",
64-
"symfony/cache": "^6.4 || ^7.3 || ^8.0",
65-
"symfony/dotenv": "^6.4 || ^7.3 || ^8.0",
66-
"symfony/finder": "^6.4 || ^7.3 || ^8.0",
67-
"symfony/framework-bundle": "^6.4 || ^7.3 || ^8.0",
68-
"symfony/http-client": "^6.4 || ^7.3 || ^8.0",
69-
"symfony/messenger": "^6.4 || ^7.3 || ^8.0",
70-
"symfony/process": "^7.3 || ^8.0",
71-
"symfony/routing": "^6.4 || ^7.3 || ^8.0",
64+
"symfony/cache": "^6.4 || ^7.4 || ^8.0",
65+
"symfony/dotenv": "^6.4 || ^7.4 || ^8.0",
66+
"symfony/finder": "^6.4 || ^7.4 || ^8.0",
67+
"symfony/framework-bundle": "^6.4 || ^7.4 || ^8.0",
68+
"symfony/http-client": "^6.4 || ^7.4 || ^8.0",
69+
"symfony/messenger": "^6.4 || ^7.4 || ^8.0",
70+
"symfony/process": "^7.4 || ^8.0",
71+
"symfony/routing": "^6.4 || ^7.4 || ^8.0",
7272
"twig/twig": "^3.0"
7373
},
7474
"replace": {
@@ -104,12 +104,12 @@
104104
"flow-php/parquet": "self.version",
105105
"flow-php/parquet-viewer": "self.version",
106106
"flow-php/postgresql": "self.version",
107-
"flow-php/postgresql-migrations": "self.version",
108107
"flow-php/psr7-telemetry-bridge": "self.version",
109108
"flow-php/psr18-telemetry-bridge": "self.version",
110109
"flow-php/snappy": "self.version",
111110
"flow-php/symfony-http-foundation-bridge": "self.version",
112111
"flow-php/symfony-http-foundation-telemetry-bridge": "self.version",
112+
"flow-php/symfony-postgresql-bundle": "self.version",
113113
"flow-php/symfony-telemetry-bundle": "self.version",
114114
"flow-php/telemetry": "self.version",
115115
"flow-php/telemetry-otlp-bridge": "self.version",
@@ -145,6 +145,7 @@
145145
"src/bridge/psr18/telemetry/src/Flow",
146146
"src/bridge/symfony/http-foundation-telemetry/src/Flow",
147147
"src/bridge/symfony/http-foundation/src/Flow",
148+
"src/bridge/symfony/postgresql-bundle/src/Flow",
148149
"src/bridge/symfony/telemetry-bundle/src/Flow",
149150
"src/bridge/telemetry/otlp/src/Flow",
150151
"src/bridge/phpunit/telemetry/src/Flow",
@@ -158,7 +159,6 @@
158159
"src/lib/parquet-viewer/src/Flow",
159160
"src/lib/parquet/src/Flow",
160161
"src/lib/postgresql/src/Flow",
161-
"src/lib/postgresql-migrations/src/Flow",
162162
"src/lib/snappy/src/Flow",
163163
"src/lib/telemetry/src/Flow",
164164
"src/lib/types/src/Flow",
@@ -212,7 +212,7 @@
212212
"src/lib/postgresql/src/Flow/PostgreSql/DSL/query.php",
213213
"src/lib/postgresql/src/Flow/PostgreSql/DSL/schema.php",
214214
"src/lib/postgresql/src/stubs.php",
215-
"src/lib/postgresql-migrations/src/Flow/PostgreSql/Migrations/DSL/functions.php",
215+
"src/lib/postgresql/src/Flow/PostgreSql/Migrations/DSL/functions.php",
216216
"src/lib/snappy/polyfill.php",
217217
"src/lib/telemetry/src/Flow/Telemetry/DSL/functions.php",
218218
"src/lib/types/src/Flow/Types/DSL/functions.php"
@@ -244,6 +244,7 @@
244244
"src/bridge/psr18/telemetry/tests/Flow",
245245
"src/bridge/symfony/http-foundation-telemetry/tests/Flow",
246246
"src/bridge/symfony/http-foundation/tests/Flow",
247+
"src/bridge/symfony/postgresql-bundle/tests/Flow",
247248
"src/bridge/symfony/telemetry-bundle/tests/Flow",
248249
"src/bridge/telemetry/otlp/tests/Flow",
249250
"src/bridge/phpunit/telemetry/tests/Flow",
@@ -257,7 +258,6 @@
257258
"src/lib/parquet-viewer/tests/Flow",
258259
"src/lib/parquet/tests/Flow",
259260
"src/lib/postgresql/tests/Flow",
260-
"src/lib/postgresql-migrations/tests/Flow",
261261
"src/lib/snappy/tests/Flow",
262262
"src/lib/telemetry/tests/Flow",
263263
"src/lib/types/tests/Flow",
@@ -320,6 +320,7 @@
320320
"@test:bridge:psr18-telemetry",
321321
"@test:bridge:symfony-http-foundation",
322322
"@test:bridge:symfony-http-foundation-telemetry",
323+
"@test:bridge:symfony-postgresql-bundle",
323324
"@test:bridge:symfony-telemetry-bundle",
324325
"@test:bridge:telemetry-otlp"
325326
],
@@ -417,6 +418,10 @@
417418
"tools/phpunit/vendor/bin/phpunit --testsuite=bridge-symfony-http-foundation-telemetry-unit --log-junit ./var/phpunit/logs/bridge-symfony-http-foundation-telemetry-unit.junit.xml --coverage-clover=./var/phpunit/coverage/clover/bridge-symfony-http-foundation-telemetry-unit.coverage.xml",
418419
"tools/phpunit/vendor/bin/phpunit --testsuite=bridge-symfony-http-foundation-telemetry-integration --log-junit ./var/phpunit/logs/bridge-symfony-http-foundation-telemetry-integration.junit.xml --coverage-clover=./var/phpunit/coverage/clover/bridge-symfony-http-foundation-telemetry-integration.coverage.xml"
419420
],
421+
"test:bridge:symfony-postgresql-bundle": [
422+
"tools/phpunit/vendor/bin/phpunit --testsuite=bridge-symfony-postgresql-bundle-unit --log-junit ./var/phpunit/logs/bridge-symfony-postgresql-bundle-unit.junit.xml --coverage-clover=./var/phpunit/coverage/clover/bridge-symfony-postgresql-bundle-unit.coverage.xml",
423+
"tools/phpunit/vendor/bin/phpunit --testsuite=bridge-symfony-postgresql-bundle-integration --log-junit ./var/phpunit/logs/bridge-symfony-postgresql-bundle-integration.junit.xml --coverage-clover=./var/phpunit/coverage/clover/bridge-symfony-postgresql-bundle-integration.coverage.xml"
424+
],
420425
"test:bridge:symfony-telemetry-bundle": [
421426
"tools/phpunit/vendor/bin/phpunit --testsuite=bridge-symfony-telemetry-bundle-unit --log-junit ./var/phpunit/logs/bridge-symfony-telemetry-bundle-unit.junit.xml --coverage-clover=./var/phpunit/coverage/clover/bridge-symfony-telemetry-bundle-unit.coverage.xml",
422427
"tools/phpunit/vendor/bin/phpunit --testsuite=bridge-symfony-telemetry-bundle-integration --log-junit ./var/phpunit/logs/bridge-symfony-telemetry-bundle-integration.junit.xml --coverage-clover=./var/phpunit/coverage/clover/bridge-symfony-telemetry-bundle-integration.coverage.xml"

0 commit comments

Comments
 (0)