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

Implement local storage for Repository service #29

Closed
lonely-lockley opened this issue Aug 24, 2022 · 3 comments
Closed

Implement local storage for Repository service #29

lonely-lockley opened this issue Aug 24, 2022 · 3 comments
Assignees
Labels
Milestone

Comments

@lonely-lockley
Copy link
Owner

Repository service should be able to work with a single git directory for all projects and files.
This will be useful for single-user mode and will be improved after we get authentication.

@lonely-lockley lonely-lockley added the enhancement New feature or request label Aug 24, 2022
@lonely-lockley lonely-lockley added this to the Teamwork milestone Aug 24, 2022
@lonely-lockley lonely-lockley self-assigned this Aug 24, 2022
@lonely-lockley
Copy link
Owner Author

Repository service should allow:

  • creating a project - a directory in a workspace
  • creating a file in a project
  • list files in a workspace
  • parse files headers to detect their level
  • generate and keep file identifiers not to expose direct file system operations via API for security reasons

@lonely-lockley
Copy link
Owner Author

lonely-lockley commented Sep 9, 2023

The idea behind a local storage is making two database tables: the first one is a repository. It may be local or point to a github project.
Each entry in the table must contain a unique id, owner id, a link to github (for remote project that will be added later) and a JSON field for project directory structure.
The second table must contain file entries: id, name, file content (blob), file version for git.

@lonely-lockley
Copy link
Owner Author

Closed by #56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant