Skip to content

Commit b9d1267

Browse files
authored
feature: flow-php/symfony-filesystem-bundle (#2291)
* feature: flow-php/symfony-filesystem-bundle feature: flow filesystem bundle skeleton feature: bundle configuration tree feature: filesystem factory contracts feature: built in filesystem factories feature: filesystem commands * fix: failing arrow extension tests
1 parent 5d8c2bb commit b9d1267

File tree

80 files changed

+5662
-3
lines changed

Some content is hidden

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

80 files changed

+5662
-3
lines changed

.codecov.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ component_management:
100100
name: bridge-symfony-http-foundation-telemetry
101101
paths:
102102
- src/bridge/symfony/http-foundation-telemetry/**
103+
- component_id: bridge-symfony-filesystem-bundle
104+
name: bridge-symfony-filesystem-bundle
105+
paths:
106+
- src/bridge/symfony/filesystem-bundle/**
103107
- component_id: bridge-symfony-postgresql-bundle
104108
name: bridge-symfony-postgresql-bundle
105109
paths:

.github/workflows/job-arrow-extension.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,18 @@ jobs:
5858
- name: Set LIBCLANG_PATH (Ubuntu)
5959
if: runner.os == 'Linux'
6060
run: |
61-
LIBCLANG_SO=$(find /usr/lib -name 'libclang*.so' -o -name 'libclang*.so.*' 2>/dev/null | head -1)
61+
# Find the canonical libclang.so shared library, excluding the
62+
# Clang runtime support libraries under llvm-*/lib/clang/*/lib/.
63+
LIBCLANG_SO=$(find /usr/lib \
64+
\( -name 'libclang.so' -o -name 'libclang.so.*' -o -name 'libclang-*.so' -o -name 'libclang-*.so.*' \) \
65+
-not -path '*/clang/*/lib/*' \
66+
2>/dev/null | head -1)
67+
if [ -z "$LIBCLANG_SO" ]; then
68+
echo "Could not locate libclang.so under /usr/lib" >&2
69+
exit 1
70+
fi
6271
echo "LIBCLANG_PATH=$(dirname "$LIBCLANG_SO")" >> $GITHUB_ENV
72+
echo "Detected libclang at: $LIBCLANG_SO"
6373
6474
- name: Build extension
6575
working-directory: src/extension/arrow-ext
@@ -130,8 +140,18 @@ jobs:
130140
- name: Set LIBCLANG_PATH (Ubuntu)
131141
if: runner.os == 'Linux'
132142
run: |
133-
LIBCLANG_SO=$(find /usr/lib -name 'libclang*.so' -o -name 'libclang*.so.*' 2>/dev/null | head -1)
143+
# Find the canonical libclang.so shared library, excluding the
144+
# Clang runtime support libraries under llvm-*/lib/clang/*/lib/.
145+
LIBCLANG_SO=$(find /usr/lib \
146+
\( -name 'libclang.so' -o -name 'libclang.so.*' -o -name 'libclang-*.so' -o -name 'libclang-*.so.*' \) \
147+
-not -path '*/clang/*/lib/*' \
148+
2>/dev/null | head -1)
149+
if [ -z "$LIBCLANG_SO" ]; then
150+
echo "Could not locate libclang.so under /usr/lib" >&2
151+
exit 1
152+
fi
134153
echo "LIBCLANG_PATH=$(dirname "$LIBCLANG_SO")" >> $GITHUB_ENV
154+
echo "Detected libclang at: $LIBCLANG_SO"
135155
136156
- name: Install PIE
137157
run: |

.github/workflows/monorepo-split.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ jobs:
9090
split_repository: 'psr7-telemetry-bridge'
9191
- local_path: 'src/bridge/psr18/telemetry'
9292
split_repository: 'psr18-telemetry-bridge'
93+
- local_path: 'src/bridge/symfony/filesystem-bundle'
94+
split_repository: 'symfony-filesystem-bundle'
9395
- local_path: 'src/bridge/symfony/http-foundation'
9496
split_repository: 'symfony-http-foundation-bridge'
9597
- local_path: 'src/bridge/symfony/http-foundation-telemetry'

composer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
"flow-php/psr7-telemetry-bridge": "self.version",
108108
"flow-php/psr18-telemetry-bridge": "self.version",
109109
"flow-php/snappy": "self.version",
110+
"flow-php/symfony-filesystem-bundle": "self.version",
110111
"flow-php/symfony-http-foundation-bridge": "self.version",
111112
"flow-php/symfony-http-foundation-telemetry-bridge": "self.version",
112113
"flow-php/symfony-postgresql-bundle": "self.version",
@@ -143,6 +144,7 @@
143144
"src/bridge/openapi/specification/src/Flow",
144145
"src/bridge/psr7/telemetry/src/Flow",
145146
"src/bridge/psr18/telemetry/src/Flow",
147+
"src/bridge/symfony/filesystem-bundle/src/Flow",
146148
"src/bridge/symfony/http-foundation-telemetry/src/Flow",
147149
"src/bridge/symfony/http-foundation/src/Flow",
148150
"src/bridge/symfony/postgresql-bundle/src/Flow",
@@ -242,6 +244,7 @@
242244
"src/bridge/openapi/specification/tests/Flow",
243245
"src/bridge/psr7/telemetry/tests/Flow",
244246
"src/bridge/psr18/telemetry/tests/Flow",
247+
"src/bridge/symfony/filesystem-bundle/tests/Flow",
245248
"src/bridge/symfony/http-foundation-telemetry/tests/Flow",
246249
"src/bridge/symfony/http-foundation/tests/Flow",
247250
"src/bridge/symfony/postgresql-bundle/tests/Flow",
@@ -318,6 +321,7 @@
318321
"@test:bridge:phpunit-telemetry",
319322
"@test:bridge:psr7-telemetry",
320323
"@test:bridge:psr18-telemetry",
324+
"@test:bridge:symfony-filesystem-bundle",
321325
"@test:bridge:symfony-http-foundation",
322326
"@test:bridge:symfony-http-foundation-telemetry",
323327
"@test:bridge:symfony-postgresql-bundle",
@@ -410,6 +414,10 @@
410414
"tools/phpunit/vendor/bin/phpunit --testsuite=bridge-psr18-telemetry-unit --log-junit ./var/phpunit/logs/bridge-psr18-telemetry-unit.junit.xml --coverage-clover=./var/phpunit/coverage/clover/bridge-psr18-telemetry-unit.coverage.xml",
411415
"tools/phpunit/vendor/bin/phpunit --testsuite=bridge-psr18-telemetry-integration --log-junit ./var/phpunit/logs/bridge-psr18-telemetry-integration.junit.xml --coverage-clover=./var/phpunit/coverage/clover/bridge-psr18-telemetry-integration.coverage.xml"
412416
],
417+
"test:bridge:symfony-filesystem-bundle": [
418+
"tools/phpunit/vendor/bin/phpunit --testsuite=bridge-symfony-filesystem-bundle-unit --log-junit ./var/phpunit/logs/bridge-symfony-filesystem-bundle-unit.junit.xml --coverage-clover=./var/phpunit/coverage/clover/bridge-symfony-filesystem-bundle-unit.coverage.xml",
419+
"tools/phpunit/vendor/bin/phpunit --testsuite=bridge-symfony-filesystem-bundle-integration --log-junit ./var/phpunit/logs/bridge-symfony-filesystem-bundle-integration.junit.xml --coverage-clover=./var/phpunit/coverage/clover/bridge-symfony-filesystem-bundle-integration.coverage.xml"
420+
],
413421
"test:bridge:symfony-http-foundation": [
414422
"tools/phpunit/vendor/bin/phpunit --testsuite=bridge-symfony-http-foundation-unit --log-junit ./var/phpunit/logs/bridge-symfony-http-foundation-unit.junit.xml --coverage-clover=./var/phpunit/coverage/clover/bridge-symfony-http-foundation-unit.coverage.xml",
415423
"tools/phpunit/vendor/bin/phpunit --testsuite=bridge-symfony-http-foundation-integration --log-junit ./var/phpunit/logs/bridge-symfony-http-foundation-integration.junit.xml --coverage-clover=./var/phpunit/coverage/clover/bridge-symfony-http-foundation-integration.coverage.xml"

0 commit comments

Comments
 (0)