DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
712 stars 250 forks source link

To request options of configure script to enable/disable domserver/judgehost #305

Closed easior closed 6 years ago

easior commented 6 years ago

According to the documentation of domjudge, it is divided into three parts, that is, domserver, judgehost, docs. Although I still feel confusion regarding the relationship between domserver and judgehost(e.g. judgehost part is independent of domserver part or not?) , I request that configure script should afford some options to enable/disable domserver/judgehost during compiling phase. In fact, autotools will complain that libcgroup can't be found when domserver is only built. These options would be very useful to build domjudge by virtual of Gentoo ebuild while they are useless to Debian/Redhat Linux users.

P.S. Could you tell me how to create an account for domjudge?

eldering commented 6 years ago

The domserver and judgehost are separate binary/installation targets of a single source: they share a good chunck of common code, but would typically be installed on separate machines. Since the dependencies largely overlap, we haven't looked into splitting this up yet. That would require some significant changes to the build process. Instead, as asked in #301 I propose to implement #304 instead, to keep the dependencies shared. See also the Debian packaging in https://github.com/DOMjudge/domjudge-packaging/tree/master/debian for examples how to build separate domserver and judgehost packages.

Finally, what kind of account are you looking for?

easior commented 6 years ago

@eldering Thank you for your comments. I hope that some of implements you mentioned would be carried out soon. I have written an ebuild script for Gentoo in one of my GitHub repositories. It seemly works on my Gentoo box although it needs more testing. At the same time, I have also made a RPM spec for Fedora to build RPM packages. The domserver part works well on my Fedora box. I don't know how to create many accounts for domserver in the batches. Is there any bash/PHP/SQL script to reach this purpose? On the other hand, It's well-know that the systemd package has taken charge of the initial scripts on Fedora/CentOS instead of sysinit. Hence, I ask for some helps to adapt /etc/init.d/domjudge-judgehost daemon to the control of systemd package.

eldering commented 6 years ago

For extended questions and discussions, please subscribe to the domjudge-devel mailinglist and ask there: we're happy to help (and could maybe even include your Gentoo/RPM packaging in https://github.com/DOMjudge/domjudge-packaging if it has reached mature quality), but this issue tracker is intended for bugs and features and not really meant or well-suited for discussions.