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

Some fixes to dump/load DB commands in dj_setup_database: #2824

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

eldering
Copy link
Member

  • Don't use sudo: we assume we can access the DB (like in other commands), the user can call this with sudo if necessary.
  • Fetch DB name from config instead of hardcoded domjudge.
  • Don't exit within case unless with non-zero status.

- Don't use sudo: we assume we can access the DB (like in other
  commands), the user can call this with sudo if necessary.
- Fetch DB name from config instead of hardcoded `domjudge`.
- Don't exit within case unless with non-zero status.
@eldering eldering requested a review from vmcj November 22, 2024 13:46
@eldering eldering enabled auto-merge November 22, 2024 13:54
@eldering eldering added this pull request to the merge queue Nov 22, 2024
Merged via the queue into main with commit 4aacc80 Nov 22, 2024
33 checks passed
@eldering eldering deleted the sql-setup-fixes branch November 22, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants