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

Extend setup database create dump #2184

Merged
merged 2 commits into from
Nov 26, 2023

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented Oct 22, 2023

This is the first half of #2180 but due to the amount of comments and needed tests I prefer to already merge the good parts.

This should create the same structure as the file we already had so together with load-db from the scripts repo this should work.

@eldering
Copy link
Member

I don't think that taking parts out of #2180 helps: now all the comments are lost and it's more difficult to track what's going on where.

@vmcj
Copy link
Member Author

vmcj commented Oct 22, 2023

I don't think that taking parts out of #2180 helps: now all the comments are lost and it's more difficult to track what's going on where.

Those should be all the handled parts (and only the simple command). I think the last remarks were about the behaviour of loading the dump and that seems to be a discussion on itself (but can take place in the other PR). But if you still find issues with this PR I'm fine with handling it within the other one but for me it's a lot harder if I need to handle multiple things and keep on testing.

@vmcj vmcj force-pushed the extend_setup_database_create_dump branch from ea42be8 to ab77a17 Compare October 29, 2023 11:11
@vmcj
Copy link
Member Author

vmcj commented Oct 29, 2023

@eldering as discussed yesterday, I prefer to already merge this part and then address the last issues on the load behaviour.

@vmcj vmcj requested a review from eldering October 29, 2023 11:12
@vmcj vmcj force-pushed the extend_setup_database_create_dump branch from ab77a17 to 51bb554 Compare October 29, 2023 11:34
sql/dj_setup_database.in Outdated Show resolved Hide resolved
sql/dj_setup_database.in Outdated Show resolved Hide resolved
@vmcj vmcj requested a review from eldering October 29, 2023 21:57
Small alignment fixes for the next commit where a new option will be
added.
@vmcj vmcj force-pushed the extend_setup_database_create_dump branch from 5958ce3 to dd7ec15 Compare November 25, 2023 15:57
Loosely copied from the domjudge-scripts repo.

This does remove the prefix question as just exiting and letting the
user reword less restrictive.
@vmcj vmcj force-pushed the extend_setup_database_create_dump branch from dd7ec15 to 87a7286 Compare November 26, 2023 10:26
@vmcj vmcj added this pull request to the merge queue Nov 26, 2023
Merged via the queue into DOMjudge:main with commit 02b38d0 Nov 26, 2023
18 of 19 checks passed
@vmcj vmcj deleted the extend_setup_database_create_dump branch November 26, 2023 10:27
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