-
Notifications
You must be signed in to change notification settings - Fork 0
Deno 2, Hash-Blobs, Fuseki Update #34
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
base: master
Are you sure you want to change the base?
Conversation
and fixed GET /doc/:id/title
nleanba
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes are too big for me to properly review them all -- I will take your word if you say you’ve tested it and it all works.
I have however commented on some smaller issues in the changed code.
src/server/server.ts
Outdated
| } catch (error) { | ||
| let message; | ||
| if (error instanceof Deno.errors.PermissionDenied) { | ||
| message = "Got “Permission Denied” trying to access the file on disk.\n\n Please run ```docker exec -u 0 [name of backend-container] chmod -R a+r ./blobs/ rdf.ttl``` on the host server to fix this and similar issues for the future." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this error message still accurate / current?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error could come from any handler. The extended error message seems potentially useful, mainly in the scenario of mounted host dirs. I suggest keeping it.
.devcontainer/devcontainer.json
Outdated
|
|
||
| "containerEnv": { | ||
| "TRIDOC_PWD": "pw123", | ||
| "OCR_LANG": "deu" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not have FUSKEI_PWD here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A change would require recreating all containers of the multi-container dev container. A normal rebuild / full rebuild leaves the fuseki contatiner untouched. @nleanba, do you know how to do that? Because we should instruct users on what needs to be done for changes to have effect (or else not present the option to change).
…t the fallback is hardcoded in shell-script
A deno 2 based backend worki§ng with fuseki 5.4.0 storing blobs based on their ipfs digest.