Skip to content
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

Seed empty folder for Texture #1

Open
obuchtala opened this issue Dec 4, 2017 · 0 comments
Open

Seed empty folder for Texture #1

obuchtala opened this issue Dec 4, 2017 · 0 comments

Comments

@obuchtala
Copy link
Member

This will be implemented in Texture but we record it here, as we use Texture as an initial dot adoption environment.

.dot/
  main.log
manifest.xml (Manifest)
document.xml (JATS4M)
entities.json (EntityDB)
assets/ (Folder)

with main.log looking like so:

V0
<time> <user> manifest <change for creating document.xml entry>
<time> <user> manifest <change for creating entities.json entry>
<time> <user> manifest <change for creating assets entry>
<time> <user> <uuid for document.xml> <initial changes for document.xml>
<time> <user> <uuid for entities.json> <initial changes for entities.json>
V1

Notes:

  • every entry in the log has a timestamp and a user-id
  • the third column is the id of the changed resource
  • there is a built-in resource called manifest, which has a special schema, and is used to
    add and remove resources
  • the change is stored after the resource-id and can be custom to the specific resource type, e.g. for manifest it is always a serialized ObjectOperation; for other document.xml it is an array of serialized operations; for entities.json it is an array of serialized ObjectOperations
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

No branches or pull requests

1 participant