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
Owner

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
feat(cli): updated to new GitRepo format
BREAKING: downloads are now stored inside the root of pkg_dir, the log
file is always stored in the root of data_dir
doc: added docstrings to all db/git functions
Some checks failed
ci/woodpecker/push/arch unknown status
ci/woodpecker/push/deploy unknown status
ci/woodpecker/push/docker unknown status
ci/woodpecker/push/build_experimental Pipeline failed
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
5781796e99
doc: listed new config variables in docs
Some checks failed
ci/woodpecker/push/arch unknown status
ci/woodpecker/push/deploy unknown status
ci/woodpecker/push/docker unknown status
ci/woodpecker/push/build_experimental Pipeline failed
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
b6d5bd3228
ci: removed a comment
Some checks failed
ci/woodpecker/push/deploy unknown status
ci/woodpecker/push/docker unknown status
ci/woodpecker/push/docs Pipeline is pending
ci/woodpecker/push/lint Pipeline is pending
ci/woodpecker/push/test Pipeline is pending
ci/woodpecker/push/arch unknown status
ci/woodpecker/pr/arch Pipeline is pending
ci/woodpecker/pr/build Pipeline is pending
ci/woodpecker/pr/build_experimental unknown status
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint unknown status
ci/woodpecker/pr/test unknown status
ci/woodpecker/push/build_experimental Pipeline failed
ci/woodpecker/pr/docker unknown status
ci/woodpecker/pr/deploy unknown status
ci/woodpecker/push/build Pipeline failed
9c3af34118
ci: updated config for use with forks & PRs
All checks were successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/docker Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
73633a69b6
Jef Roosens added 1 commit 2022-05-05 10:43:58 +02:00
ci: make build upload step failable
All checks were successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/docker Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
514d621884
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
This repository is archived. You cannot comment on pull requests.
No description provided.