Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Maintenance] Introduce Flysystem and use it in place of Gaufrette by default #14298

Merged
merged 11 commits into from
Sep 19, 2022

Conversation

coldic3
Copy link
Contributor

@coldic3 coldic3 commented Sep 14, 2022

Q A
Branch? 1.12
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Related tickets #13233
License MIT

Using Gaufrette becomes deprecated in favor of Flysystem.

@probot-autolabeler probot-autolabeler bot added Admin AdminBundle related issues and PRs. API APIs related issues and PRs. labels Sep 14, 2022
@coldic3 coldic3 force-pushed the feature/introduce-flysystem branch 3 times, most recently from c955638 to 325b4d7 Compare September 15, 2022 10:13
@coldic3 coldic3 added the Feature New feature proposals. label Sep 15, 2022
@coldic3 coldic3 force-pushed the feature/introduce-flysystem branch from 860075f to 14dd51f Compare September 15, 2022 10:44
@probot-autolabeler probot-autolabeler bot added Maintenance CI configurations, READMEs, releases, etc. Documentation Documentation related issues and PRs - requests, fixes, proposals. labels Sep 15, 2022
@coldic3 coldic3 marked this pull request as ready for review September 15, 2022 11:45
@coldic3 coldic3 requested a review from a team as a code owner September 15, 2022 11:45
@coldic3 coldic3 added the DX Issues and PRs aimed at improving Developer eXperience. label Sep 15, 2022
@coldic3 coldic3 force-pushed the feature/introduce-flysystem branch 2 times, most recently from 5ecd65a to 3294afd Compare September 15, 2022 13:25
@coldic3 coldic3 force-pushed the feature/introduce-flysystem branch from 3294afd to ef19593 Compare September 15, 2022 13:48
FilesystemAdapterInterface::class,
match($config['filesystem']['adapter']) {
'default', 'flysystem' => FlysystemFilesystemAdapter::class,
'gaufrette' => 'Sylius\Component\Core\Filesystem\Adapter\GaufretteFilesystemAdapter',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because /** @psalm-suppress DeprecatedClass */ doesn't work for the ::class constant :/

@coldic3 coldic3 force-pushed the feature/introduce-flysystem branch from d1f500e to d95310a Compare September 16, 2022 03:09
@coldic3 coldic3 force-pushed the feature/introduce-flysystem branch from d95310a to b960b05 Compare September 16, 2022 03:40
@coldic3 coldic3 force-pushed the feature/introduce-flysystem branch from 884b0af to 704aeda Compare September 19, 2022 07:47
@@ -29,7 +29,7 @@ references related issues.
This version contains service with a wrong constructor arguments:
`Invalid definition for service ".container.private.profiler": argument 4 of "JMS\SerializerBundle\Debug\DataCollector::__construct()" accepts "JMS\SerializerBundle\Debug\TraceableDriver", "JMS\SerializerBundle\Debug\TraceableMetadataFactory" passed.`

References: https://github.com/schmittjoh/JMSSerializerBundle/issues/844
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated

@NoResponseMate NoResponseMate removed Admin AdminBundle related issues and PRs. API APIs related issues and PRs. labels Sep 19, 2022
@lchrusciel lchrusciel merged commit c607782 into Sylius:1.12 Sep 19, 2022
@coldic3 coldic3 deleted the feature/introduce-flysystem branch September 20, 2022 10:34
NoResponseMate added a commit that referenced this pull request Oct 4, 2022
…e upgrade file (coldic3)

This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12                  |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets | #14298                      |
| License         | MIT                                                          |

Commits
-------

37cd6c0 [Maintenance] Mention Gaufrette filesystem adapter in the upgrade file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Documentation related issues and PRs - requests, fixes, proposals. DX Issues and PRs aimed at improving Developer eXperience. Feature New feature proposals. Maintenance CI configurations, READMEs, releases, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants