lonely-lockley / archinsight

Simplicity in Code, Power in Design
https://archinsight.org
GNU Affero General Public License v3.0
51 stars 5 forks source link

Implement local storage for Repository service #29

Closed lonely-lockley closed 10 months ago

lonely-lockley commented 2 years ago

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 commented 2 years ago

Repository service should allow:

lonely-lockley commented 1 year ago

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 commented 10 months ago

Closed by #56