-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add migration instructions for older apps #607
Comments
I started making Solid apps exclusively on NSS and trying other servers (not just CSS) I've found a couple of things I needed to change, so maybe it's useful if I share the main ones that come to mind. To clarify, these are things that Solid apps should NOT depend on:
|
Great list @NoelDeMartin. I would change your second paragraph to "things your app should NOT depend on". We certainly can use typeIndex, mtime, etc. when they are available, there is nothing wrong with a server making them available, what's wrong is counting on them to be there. The use of solid-auth-client probably, unlike the others, should be in the do not use list. |
Thanks for the suggestion @jeff-zucker, I just edited it. I'll leave |
@NoelDeMartin
So it looks like we should be able to assume we can determine the storage, and that the fact that CSS doesn't is a bug in CSS. @matthieubosquet said he was going to respond to that (which is why I didn't report a bug), because he believed profiles didn't need to list storages (which is why CSS doesn't), but he hasn't responded yet at this point in time. |
I didn't report it because Matthieu said it was intentionally left out, but reported here now: CommunitySolidServer/CommunitySolidServer#910 Listing it in the template sounds perfectly fine to me. |
The Protocol does not require that a profile includes pim:storage. I don't think it is a CSS bug. But @Vinnl I think what @NoelDeMartin is referring to this instead:
and for that yes the server is required to:
I don't know if that's a CSS bug or not.
Some claiming "legacy" is not the same as consensus :) |
This is not a bug in CSS.
So to your question @Vinnl:
I'm afraid, there is no answer. An application can not and for that matters, will never be able to consistently determine where to store data based on the WebID used in the session. Probably that moving up the path URI can help a little in some cases, that is if: the server decides to advertise its owner AND the WebID is stored in a Solid server AND the Solid server used to serve the WebID is where the user wants to store that "particular data". In truth, the user will need and should have a way to determine where data is stored and that's quite complex and prone to judgement calls and errors. As @justinwb mentioned in gitter, those questions are being addressed in the data interoperability panel. But I'm afraid, there is no consensus or standard way to answer your question. In any case, I think apps will need to keep track of storages and provide adequate help for users to chose where to store their data. |
@matthieubosquet I took it back to Gitter since it's not really related to this issue or even this repository, so hard to track for people it might be relevant to: https://gitter.im/solid/specification?at=611a44153eec6d41d15c0c09 |
An issue for implementers to keep in mind : CSS does not label the iana media type of resources in the listing of a container. On NSS we counted on being able to look for a triple with the content-type in the container's RDF. Things that count on knowing the content-type of contained resources (like the mashlib databrowser's slideshow) will not work. See SolidOS/solid-panes#301. Am I right in assuming that the specs do not require the content-type and that therefore this is an issue on solid-panes rather than on CSS? |
Some specifications are the result of existing specifications and implementations depending on maturing ideas and server implementations. Here the problem has I see it is that :
The argument of representation does seem to me something else and not related to returning the resource contentType used on creation or update So yes there is an issue in dataBrowser and all apps using the container to find the contentType, if the contentType is not available in the container. |
No description provided.
The text was updated successfully, but these errors were encountered: