You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current object filer design, as inherited from TESK-core), is a bit messy. To make it easier to add support for different file protocols in the future, it would be nice to clean up the filer-related code and make it a bit more pluggable.
For example, we could have the following directory layout:
with an abstract Filer class/interfact defined in tesk.services.abstract.filer that has some methods that individual file protocol plugins in tesk.services.filers then can inherit from and implement.
@JaeAeich: It may be good for you to keep in mind/consider this design principle during your GSoC project. However, I think this particular issue is mostly beyond the scope of the project.
@lvarin, @jemaltahir, @trispera: Is this something that you could perhaps look into? If so, please assign yourself :)
Whenever services and its tests are being refactor, please take in consideration that all those files have been ignored from linter (ruff), so change that in pyproject.toml.
Activity
uniqueg commentedon May 21, 2024
@JaeAeich: It may be good for you to keep in mind/consider this design principle during your GSoC project. However, I think this particular issue is mostly beyond the scope of the project.
@lvarin, @jemaltahir, @trispera: Is this something that you could perhaps look into? If so, please assign yourself :)
jemaltahir commentedon May 24, 2024
I can have a look into this. What @uniqueg suggested file structure is great in terms of separation of concern and modularity.
JaeAeich commentedon Jun 27, 2024
Whenever services and its tests are being refactor, please take in consideration that all those files have been ignored from linter (ruff), so change that in
pyproject.toml.