Sqlite backend & simplifying of config variables #158

Merged
Jef Roosens merged 8 commits from Chewing_Bever/vieter:sqlite-backend into dev 2022-05-05 23:18:44 +02:00

This PR replaces the old storage system for Git repositories with an Sqlite database.

Besides that, I've simplified configuration. Instead of having separate download_dir, repos_dir & repos_file variables, we now only have pkg_dir & data_dir. data_dir is where we store the repositories, log file & sqlite database. Package uploads are stored in the root of pkg_dir.

Lastly, this PR updates the CI config so that contributors can properly lint & test their code.

Closes #51

This PR replaces the old storage system for Git repositories with an Sqlite database. Besides that, I've simplified configuration. Instead of having separate `download_dir`, `repos_dir` & `repos_file` variables, we now only have `pkg_dir` & `data_dir`. `data_dir` is where we store the repositories, log file & sqlite database. Package uploads are stored in the root of `pkg_dir`. Lastly, this PR updates the CI config so that contributors can properly lint & test their code. Closes #51
Jef Roosens added this to the 0.3.0 milestone 2022-05-05 10:22:00 +02:00
Jef Roosens added the
enhancement
label 2022-05-05 10:22:00 +02:00
Jef Roosens added 9 commits 2022-05-05 10:22:01 +02:00
7419144f97
feat: removed git.GitRepo type
feat(cli): updated to new GitRepo format
c818273790
feat: simplified config down to pkg_dir & data_dir
BREAKING: downloads are now stored inside the root of pkg_dir, the log
file is always stored in the root of data_dir
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
5781796e99
doc: added docstrings to all db/git functions
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
b6d5bd3228
doc: listed new config variables in docs
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/docs Pipeline is pending Details
ci/woodpecker/push/lint Pipeline is pending Details
ci/woodpecker/push/test Pipeline is pending Details
ci/woodpecker/pr/arch Pipeline is pending Details
ci/woodpecker/pr/build Pipeline is pending Details
ci/woodpecker/pr/build_experimental unknown status Details
ci/woodpecker/pr/docs Pipeline is pending Details
ci/woodpecker/pr/lint unknown status Details
ci/woodpecker/pr/test unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/pr/docker unknown status Details
ci/woodpecker/pr/deploy unknown status Details
ci/woodpecker/push/build Pipeline failed Details
9c3af34118
ci: removed a comment
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
73633a69b6
ci: updated config for use with forks & PRs
Jef Roosens added 1 commit 2022-05-05 10:43:58 +02:00
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
514d621884
ci: make build upload step failable
Jef Roosens force-pushed sqlite-backend from 514d621884 to 8c5652c230 2022-05-05 23:11:33 +02:00 Compare
Jef Roosens changed title from WIP: Sqlite backend & simplifying of config variables to Sqlite backend & simplifying of config variables 2022-05-05 23:17:47 +02:00
Jef Roosens merged commit 1a076a7a8c into dev 2022-05-05 23:18:44 +02:00
Sign in to join this conversation.
There is no content yet.