OneupUploaderBundle icon indicating copy to clipboard operation
OneupUploaderBundle copied to clipboard

Who uses this with the flysystem storage?

Open Ilyes512 opened this issue 1 year ago • 1 comments

Bug Report

So I am experimenting with this library and I thought lets try to use it with Flysystem as it's already a dependency in my current project.

But it does not seem to work? There seem to be more and better documentation for Gaufrette. Docs and code paths clearly show that (for example by showing a Gaufrette-only comment while it should be for both Flysystem and Gaufrette).

Currently is also seems like you are FORCED to use and set the stream_wrapper config value when also using chunks. So this for me, makes this unusable in-combination with flysystem.

I would also like to see an example with using a stream_wrapper.

So, anyone successfully using the Flysystem storage in combination with chunks (oneup_uploadar.chunks.storage...)?

Ilyes512 avatar Feb 13 '24 17:02 Ilyes512

So, anyone successfully using the Flysystem storage in combination with chunks (oneup_uploadar.chunks.storage...)?

I do, and it works. Please paste your configuration and package versions so one is able to help you (in case this is a bug report).

There seem to be more and better documentation for Gaufrette.

In regards of this bundle? Sure. But Gaufrette lacks maintainers https://github.com/KnpLabs/Gaufrette/issues/466 and won't be actively developed anymore. I suggest to stick with league/flysystem. That being said, I plan to remove this bundle as it lacks modern (and maintained) upload javascript interfaces (see #431, for years #52 ).

As you already figured out documentation is outdated (Gaufrette-first, lacking Flysystem documentation). However, in open-source help is welcome any time. Just open a PR :-)

mvhirsch avatar Jan 29 '25 11:01 mvhirsch