Skip to content

Conversation

sagikazarmark
Copy link
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 spf13 and bep 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
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
@bep
Copy link
Collaborator

bep commented Mar 15, 2025

I think this is a great idea.

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
@sagikazarmark sagikazarmark merged commit ea38482 into master Mar 15, 2025
10 checks passed
@spf13
Copy link
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.

messikiller pushed a commit to messikiller/afero that referenced this pull request Apr 8, 2025
Split gcsfs and sftpfs into separate modules
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