simplesurance / baur

An incremental task runner for mono repositories.
GNU General Public License v2.0
362 stars 11 forks source link

Add support for sqlite #150

Closed alimeerutech closed 4 years ago

alimeerutech commented 4 years ago

with sqlite supported you would not need to have a postgres instance hosted somewhere 24x7 would just keep the db with the code, makes life easier.

fho commented 4 years ago

How would you keep the db with the code?

alimeerutech commented 4 years ago

my suggestion would be to initialize the sqllite db with something like a

baur init

and save it as .baur.sqlite in the root of the same repo you want to use the baur tool with.

On Mon, Jun 15, 2020 at 12:58 AM Fabian Holler notifications@github.com wrote:

How would you keep the db with the code?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/simplesurance/baur/issues/150#issuecomment-643968330, or unsubscribe https://github.com/notifications/unsubscribe-auth/AONGMYPLOKUCO763ZNM5ER3RWXIEFANCNFSM4N4PGTPA .

fho commented 4 years ago

I assume you mean a Git repository and a workflow like:

Some issues that come to my mind with this approach:

alimeerutech commented 4 years ago

makes sense, to overcome those issues I guess we would need a directory structure and one baur separate sqllite per branch but i guess that makes things more complicated, my thought is to somehow remove that dependency on an external db so the tool would be self sufficient

fho commented 4 years ago

Making the tool self sufficient would be great. I currently don't know how this could be achieved without loosing major features though.