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

Suggested partial fix for splitting installation process #2055

Merged
merged 2 commits into from
Nov 25, 2023

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented May 17, 2023

I tried the suggestion of @eldering (#862 (comment)) as I think that is the correct solution. It gave some non trivial problems which given my experience with autoconf were difficult to solve.

This should already be a start to annotate what can be moved to other autoconf files and might even by a temporary fix to make everything work as expected. So even if we merge this I think we should leave the issue open as debt.

@vmcj vmcj force-pushed the 20230509_split_configure branch from 377bcdd to 3affd5f Compare May 17, 2023 20:14
@meisterT meisterT requested a review from eldering May 18, 2023 08:44
Copy link
Member

@eldering eldering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general the idea looks fine, but see some comments, mostly on consistency.

configure.ac Outdated Show resolved Hide resolved
configure.ac Outdated Show resolved Hide resolved
configure.ac Outdated Show resolved Hide resolved
@vmcj vmcj marked this pull request as draft September 13, 2023 19:53
@vmcj
Copy link
Member Author

vmcj commented Oct 4, 2023

I'll work on this again in the future but we need some extra tests for this before I'm confident that we can work on this.

@vmcj vmcj closed this Oct 4, 2023
@vmcj vmcj reopened this Nov 20, 2023
@vmcj vmcj force-pushed the 20230509_split_configure branch 3 times, most recently from f0df561 to 6be7f4a Compare November 20, 2023 21:03
@vmcj vmcj marked this pull request as ready for review November 20, 2023 21:22
@nickygerritsen nickygerritsen changed the title Suggested partial fix for https://github.com/DOMjudge/domjudge/issues/862 Suggested partial fix for splitting installation process Nov 21, 2023
Copy link
Member

@eldering eldering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase/squash before merging.

@vmcj vmcj force-pushed the 20230509_split_configure branch from 6be7f4a to 7ace1cf Compare November 25, 2023 14:03
vmcj and others added 2 commits November 25, 2023 15:33
The default configure will still configure both the judgehost &
domserver. New is that we now disable checks if you remove the
domserver/judgehost section with --disable-domserver-build.

Nothing limits a user from running configure without the required
settings for the domserver (--disable-domserver-build), this detects this and
warns the user as this would now be an poorly tested state.

The code only fills variables those with possible defaults but as we might skip
crucial steps either before or after it is better to leave those blank
and make this easier to spot.
It is not needed for demonstration and somehow fedora can't find the
libraries. This is something which should be check independant from this
PR.
@vmcj vmcj force-pushed the 20230509_split_configure branch from 7ace1cf to 2527944 Compare November 25, 2023 14:42
@vmcj vmcj added this pull request to the merge queue Nov 25, 2023
Merged via the queue into DOMjudge:main with commit fb7871f Nov 25, 2023
21 checks passed
@vmcj vmcj deleted the 20230509_split_configure branch November 25, 2023 15: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