Skip to content

WIP: two small fixes in Server and Account#36

Draft
poef wants to merge 8 commits into
mainfrom
fixes/auke
Draft

WIP: two small fixes in Server and Account#36
poef wants to merge 8 commits into
mainfrom
fixes/auke

Conversation

@poef

@poef poef commented Jun 24, 2026

Copy link
Copy Markdown
Member

No description provided.

Comment thread docker-compose.yml
- ./data/db:/opt/solid/db
- ./data/pods:/opt/solid/pods
- ./data/profiles:/opt/solid/profiles
- ./frontend:/opt/solid/frontend

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a developer thing, but should not be in the default docker compose. Only the data (and maybe config) should persist to the host by default

Comment thread init-devusers.php

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one can be removed - there is already a script for this in the testsuite directory that can be reused, it already creates the 'alice' and 'bob' accounts.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this file split up? This change is adding a layer of indirection I think we don't need to add. This change reduces the file to a glue layer, but we already have a glue layer www directory.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so that I can write unit tests for the SolidStorageHandler, which accepts request/response objects. This avoids adding complex mocks/stubs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the www directory, would it be a good idea to move the construction of the request/response objects there, and pass them to all the separate route handlers? That fixes the problem without adding another layer.

@poef poef changed the title two small fixes in Server and Account WIP: two small fixes in Server and Account Jun 24, 2026
@poef poef marked this pull request as draft June 24, 2026 12:07
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.

2 participants