Skip to content

Split gcsfs and sftpfs into separate modules#462

Merged
sagikazarmark merged 3 commits intomasterfrom
dependencies
Mar 15, 2025
Merged

Split gcsfs and sftpfs into separate modules#462
sagikazarmark merged 3 commits intomasterfrom
dependencies

Conversation

@sagikazarmark
Copy link
Copy Markdown
Collaborator

@sagikazarmark sagikazarmark commented Feb 18, 2025

This PR splits the library into three modules:

  • the main module contains all code without external dependencies
  • gcsfs and sftpfs are FS implementations with external dependencies

This change is modeled after a similar, recent change in Viper to reduce dependencies.

@bep @spf13 let me know what you think.

Todo

  • Make sure to run tests for submodules

@sagikazarmark sagikazarmark requested review from bep and spf13 February 18, 2025 21:00
@sagikazarmark sagikazarmark force-pushed the dependencies branch 2 times, most recently from 330f94c to 8d0699c Compare February 18, 2025 21:03
@bep
Copy link
Copy Markdown
Collaborator

bep commented Mar 15, 2025

I think this is a great idea.

Signed-off-by: Mark Sagi-Kazar <[email protected]>
Signed-off-by: Mark Sagi-Kazar <[email protected]>
@sagikazarmark sagikazarmark merged commit ea38482 into master Mar 15, 2025
10 checks passed
@spf13
Copy link
Copy Markdown
Owner

spf13 commented Mar 18, 2025

Y'all move fast. I think this is a brilliant idea. Something we couldn't have easily done without modules, but now with modules, it's a no brainer to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants