-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fs-irods#18] when closing data objects at process exit, close iRODSFS handles first #611
base: main
Are you sure you want to change the base?
Conversation
a9644b4
to
eec75d8
Compare
why do we need this here? importing a project that depends on this one? |
If the iRODSFS class is successfully loaded into the interpreter, it means there can be file handles needing to be closed. |
Shouldn't... they worry about that? Can discush. |
Yes they should, in an ideal design. |
I wouldn't normally refer to higher abstractions within a lower-level code base, but this one might be special. iRODSFS library has very good potential for making high level file objects with all the nice abstractions one is used to seeing in I/O libraries - such as a choice of Unicode encodings, for example.
I admit this code change to be introducing an ugly reverse dependency, inserted in a surprising way, so I've made it a draft PR now. In its defense though, there is a built-in fallback in case the other library isn't there. Potentially there's a way to make this into a more generic interface, the way we did for progress bars. I'll have to give that some thought. |
I haven't heard from @hechth in a while, so I'm wondering if we should not just make our own fork for internal use - or, just bring it in as part of PRC. Maybe fs-irods would then get imported as |
interesting. his project is MIT Licensed... so we'd need to work that out... |
@d-w-moore Let's discush this. |
So any use of or reference to it is protected in some way?... hmm. But he did mention at some point it would be desirable to turn it over to us. |
Certainly. We've got time too, there is no rush on this. |
Ok, we wouldn't have to make it part of the PRC - probably not a good idea anyway. Theoretically we wouldn't have to adopt the MIT license if we treated |
correct, separate modules can be licensed independently (as they are right now). right, all cleanup should/must happen on the importer's side, not ours. |
No description provided.