geesefs icon indicating copy to clipboard operation
geesefs copied to clipboard

[FEATURE] Extract goofys primitives from internal to make it exstensible?

Open philwinder opened this issue 2 years ago • 2 comments

Hi there, Would you consider extracting the files that currently reside in /internal into their own packages?

I would like to develop my own Backend but I can't because all of the core code is marked as internal. Thus the only option is to fork.

Thanks, Phil

philwinder avatar Mar 07 '22 11:03 philwinder

Hi, what files exactly do you want to me extract into other packages? Do you want some kind of a plugin interface? Beware that backend API will definitely be affected by changes in the future, so there won't be any "stable API"..

vitalif avatar Mar 08 '22 09:03 vitalif

Hi @vitalif, yes that's exactly what I mean. Exposing the interfaces required to implement a new backend, or maybe even add functionality to an existing backend. Then allowing that backend to be instantiated by the current "API" code.

So yes, maybe a plugin system. But making them public is an easier first step and allows others to reuse code.

Thanks, Phil

philwinder avatar Mar 09 '22 09:03 philwinder