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

Drop --dbpath in favor of --datadir #9

Open
reynir opened this issue Dec 19, 2024 · 0 comments
Open

Drop --dbpath in favor of --datadir #9

reynir opened this issue Dec 19, 2024 · 0 comments

Comments

@reynir
Copy link
Contributor

reynir commented Dec 19, 2024

Some commands take a --dbpath argument instead of assuming it lives in $BUILDER_WEB_DATADIR/builder.sqlite3 (passed by BUILDER_WEB_DATADIR environment variable or --datadir argument). This is inconsistent as some commands will take --datadir and look for the database file inside the datadir while other commands don't take --datadir as argument at all. I am thinking the flexibility of having the database file in other locations is not useful, so let's always assume it's in $BUILDER_WEB_DATADIR/builder.sqlite3

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

No branches or pull requests

1 participant