-
Notifications
You must be signed in to change notification settings - Fork 54
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
feat(file): support non-path files #775
Conversation
* add citar-file-scheme-skip to define URI file schemes to pass on without validating or normalizing * citar-file--find-files-in-dirs: use citar-file-scheme-skip Close: #685
We don't need a function for this; just store it as a global variable.
@dlukes: I think I'm going to put this aside, as once I make progress in one area, I end up breaking other things. Any suggestions on easiest/best to support #775 @roshanshariff? Basically, we need to refactor the file code so it doesn't assume only ever standard file paths, with the initial case zotero links. |
I haven't been following this development very much, but I wonder if it's better to just bypass the |
So zotero resources then would be a separate type of related resource, in a separate group from "files"? And therefore also a separate command from They are still files, though, they just use a different mechanism to find them, and are opened in a different viewer, effectively. I did a few weeks ago merge a change that allow one to set But this has gotten more complicated, as I mentioned. And a separate module opens up other questions, which I'm loathe to tackle, at least anytime soon. |
I think I'm going to close this for now. |
Apologies, the whole family's been ill on and off for the past week or so, and I just can't afford to invest much time into this right now, especially as the Citar codebase is mostly unfamiliar to me. Again, sorry! |
No problem!
|
Close: #685
@dlukes - this turned out to be trickier than I thought, because the existing code was all assuming regular file paths.
EDIT: need to look now at
citar-has-files
, as the indicators aren't correctly matching returned file paths incitar-open
, and opening files in general aren't working correctly.