Expose all required fields in container listings for the filesystem backend
See original GitHub issueContainer listings detail all resources within a container, and add some metadata for each.
With the acceptance of https://github.com/solid/specification/pull/352, we have determined that 4 pieces of metadata need to be present per item as per the 0.9 specification
rdf:type
withhttp://www.w3.org/ns/iana/media-types/{+iana-media-type}#Resource
stat:size
dcterms:modified
stat:mtime
This functionality is currently implemented in an external module https://github.com/RubenVerborgh/solid-metadata-extender, but given that it is now part of the 0.9 spec, we need to move this to the main codebase.
Additionally, I would suggest that we write the corresponding tests for https://github.com/solid/specification-tests
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Expose Pod Information to Containers Through Files
This page shows how a Pod can use a downwardAPI volume, to expose information about itself to containers running in the Pod.
Read more >Bind mounts - Docker Documentation
In the case of bind mounts, the first field is the path to the file or directory on the host machine. The second...
Read more >Container permission denied: How to diagnose this error
Learn what is causing a container permissions error and how to work around the issue without resorting to the --privileged flag.
Read more >The DockerRun backend - ContainerSSH: Launch containers ...
ContainerSSH is a standalone, customizable SSH server that launches containers in Kubernetes, Docker, Podman, and can proxy to external SSH servers.
Read more >Use Read-Only filesystem for containers where possible
The container should only write on mounted volumes that can persist, even if the container exits. Using an immutable root filesystem and a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ResponseMetadata
is specifically used for metadata that was generated as part of a response, and should not be stored in a resource. The ones above are generated on a higher level and should be stored. It’s just that the file data accessor stores them by how the file system works, but the other data accessors store those as actual metadata.Potentially that we need to rethink some things there after the metadata PR is finished.
Added in #1237. Will be part of v4.0.0