Skip to content

Conversation

@retog
Copy link
Collaborator

@retog retog commented Sep 20, 2025

A deno 2 based backend worki§ng with fuseki 5.4.0 storing blobs based on their ipfs digest.

@retog retog requested a review from nleanba September 20, 2025 21:03
Copy link
Member

@nleanba nleanba left a 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.

} 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."
Copy link
Member

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?

Copy link
Collaborator Author

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.


"containerEnv": {
"TRIDOC_PWD": "pw123",
"OCR_LANG": "deu"
Copy link
Member

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?

Copy link
Collaborator Author

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).

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