Define a standard filesystem library #8776
Replies: 1 comment 1 reply
-
@jonasraoni, this is a known work in progress -- we have decided to adopt Flysystem for filesystem interaction, as per the submission file tracking stuff, but won't be doing the migration big-bang style. As components of the system relating to the filesystem are rewritten, they should adopt Flysystem. (I don't mind if this is never 100% completed, as long as we're working over time to remove the more homegrown aspects of our codebase.) Is there anything still needing to be figured out? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
At this moment the system makes use of at least 3 types of filesystem calls:
Also, we've got some generic settings, such as the
[files].umask
that might be forgotten.Ideas/Suggestions
Flysystem
is probably a good contender, as it emitsExceptions
on failures and we're already using it partially, it does support setting a default file mask.FileManager
might be interesting to keep aroundFlysystem
instance for specific places (files, public, application), probably kept at the container, for security purposes (it has protection against navigations../../..
).Beta Was this translation helpful? Give feedback.
All reactions