JarvusInnovations / gitsheets

Distributed recordkeeping built on top of Git
https://docs.gitsheets.com
Apache License 2.0
8 stars 3 forks source link

Support multiple datasets in a repository #24

Open timwis opened 5 years ago

timwis commented 5 years ago

They should be inside folders named after the dataset, each with their own config file, e.g.

.gitsheets/
  students.toml
  teachers.toml
students/
  1
  2
teachers/
  1
  2
themightychris commented 5 years ago

To add to that, each sheet config should have a configuable root and path template, e.g.

[gitsheet]
root = "slate/students"
path = "{{ graduation_year }}/{{ status }}/{{ student_number }}"

This will provide a lot of flexibility for integration gitsheet storage into any project, and opens the door to a submodule-compatible solution for referencing arbitrary remote gitsheet datasets