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

What if the database was a git-repo? #16

Open
runar-rkmedia opened this issue Aug 29, 2022 · 0 comments
Open

What if the database was a git-repo? #16

runar-rkmedia opened this issue Aug 29, 2022 · 0 comments
Labels
enhancement New feature or request long-shot Ideas that probably will not be implemented, but would be cool to get implemeted

Comments

@runar-rkmedia
Copy link
Owner

What if we used a flat structure of files, say in toml-files (configurable), which are at least mostly easily understood by humans, and then put folder into a git-repository. I am sure this has already been invented (no-sql document-database), but I don't think they are friendly for human-consumption.

The organizations could then have all their data stored in their own repository. We would need a git-token to be able to push and pull.

Pushing would occur on any change.

Pulling would occur on startup, and at regular intervals.

A project could be just a branch, which could reduce the number of repositories needed.

We could start this route by simply having the bbolt-file be commited to source-control. This would of course not make it possible to do reverts and most git operations, but it would make it trivial to backup the database.

@runar-rkmedia runar-rkmedia added enhancement New feature or request long-shot Ideas that probably will not be implemented, but would be cool to get implemeted labels Aug 29, 2022
@runar-rkmedia runar-rkmedia changed the title What if the database was a git-repo What if the database was a git-repo? Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request long-shot Ideas that probably will not be implemented, but would be cool to get implemeted
Projects
None yet
Development

No branches or pull requests

1 participant