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

Add option to create database dump from sql script #2180

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented Oct 19, 2023

Loosely copied from the domjudge-scripts repo.

I did sneak in another optimization (DOMjudge/domjudge-scripts#98) which we didn't have before.

@vmcj vmcj requested review from meisterT and eldering October 19, 2023 20:35
configure.ac Outdated Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
configure.ac Outdated Show resolved Hide resolved
sql/dj_setup_database.in Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
@vmcj vmcj force-pushed the setup_database_dump branch from 5c468b7 to 167a99c Compare October 20, 2023 22:42
sql/dj_setup_database.in Outdated Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
configure.ac Outdated Show resolved Hide resolved
@vmcj vmcj force-pushed the setup_database_dump branch from 0fc22ca to bc51b99 Compare October 21, 2023 16:18
Makefile Outdated Show resolved Hide resolved
Loosely copied from the domjudge-scripts repo to add
an option for reloading an existing dump.

We've used this sort of script for multiple years, this makes sure we
have the right setups around the tables by making sure the database is
in a current state (users etc.).

Co-authored-by: Jaap Eldering <[email protected]>
@vmcj vmcj force-pushed the setup_database_dump branch from 9987c52 to 63f8d1d Compare February 13, 2024 06:52
@vmcj vmcj requested a review from meisterT February 17, 2024 23:41
@vmcj vmcj added this pull request to the merge queue Mar 13, 2024
Merged via the queue into DOMjudge:main with commit 4acbb89 Mar 13, 2024
21 checks passed
@vmcj vmcj deleted the setup_database_dump branch March 13, 2024 18:10
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.

3 participants