doc: Augment the "Installation" section with material by Visser & Dolstra.
[?]
Mar 16, 2011, 7:56 AM
EKNK5AHQNJDKGLFPEX6CQXNPVIOWX3JXEP2H5YUZ4UFWCZ3HEJLQCDependencies
Change contents
- edit in doc/manual/installation.xml at line 6
<para>This chapter explains how to install Hydra on your own build farm server.</para> - edit in doc/manual/installation.xml at line 15
- replacement in doc/manual/installation.xml at line 17
<listitem><para>Nix</para></listitem><listitem><para>PostgreSQL</para></listitem><listitem>Nix</listitem><listitem>either PostgreSQL or SQLite</listitem><listitem>many Perl packages, notably Catalyst,EmailSender, and NixPerl (see the <linkxlink:href="https://svn.nixos.org/repos/nix/nixpkgs/trunk/pkgs/development/tools/misc/hydra/default.nix">Hydraexpression in Nixpkgs</link> for the completelist).</listitem> - replacement in doc/manual/installation.xml at line 25
At the moment, Hydra runs only on 32 bit and 64 bit Linux (<emphasis>i686-linux</emphasis> and <emphasis>x86_64_linux</emphasis>).At the moment, Hydra runs only on GNU/Linux(<emphasis>i686-linux</emphasis> and<emphasis>x86_64_linux</emphasis>). - edit in doc/manual/installation.xml at line 30
<para>For small projects, Hydra can be run on any reasonablymodern machine. For individual projects you can even runHydra on a laptop. However, the charm of a buildfarm serveris usually that it operates without disturbing thedeveloper's working environment and can serve releases overthe internet. In conjunction you should typically have yoursource code administered in a version management system,such as subversion. Therefore, you will probably want toinstall a server that is connected to the internet. To scaleup to large and/or many projects, you will need at least aconsiderable amount of diskspace to store builds. SinceHydra can schedule multiple simultaneous build jobs, it canbe useful to have a multi-core machine, and/or attachmultiple build machines in a network to the central Hydraserver.</para><para>Of course we think it is a good idea to use the <ahref="http://nixos.org/nixos">NixOS</a> GNU/Linuxdistribution for your buildfarm server. But this is not arequirement. The Nix software deployment system can beinstalled on any GNU/Linux distribution in parallel to theregular package management system. Thus, you can use Hydraon a Debian, Fedora, SuSE, or Ubuntu system.</para> - edit in doc/manual/installation.xml at line 59
</section><section><title>Getting Nix</title><para>If your server runs NixOS you are all set to continue withinstallation of Hydra. Otherwise you first need to installNix. The latest stable version can be found one <linkxlink:href="http://nixos.org/nix/download.html">the Nix website</link>, along with a manual, which includes installationinstructions.</para> - edit in doc/manual/installation.xml at line 76
<para>Hydra can be installed using Nixpkgs:<screen>nix-env -Ai hydra -f /path/to/nixpkgs</screen>This makes the tools available in your Nix user environment,<literal>$HOME/.nix-profile</literal> by default.</para> - replacement in doc/manual/installation.xml at line 88
Hydra can be installed by visiting the URL,<screen>http://hydra.nixos.org/view/hydra/unstable</screen>and use the one-click install available at one of the build pages. You could alsoAlternatively, the latest development snapshot can beinstalled by visiting the URL<link xlink:href="http://hydra.nixos.org/view/hydra/unstable"><literal>http://hydra.nixos.org/view/hydra/unstable</literal></link>and use the one-click install available at one of the build pages. You can also - edit in doc/manual/installation.xml at line 98
</para><para>Command completion should reveal a number of command-line tools from Hydra: - replacement in doc/manual/installation.xml at line 103
</para><screen>hydra_build.pl hydra_eval_jobs hydra_server.plhydra_control.sh hydra_evaluator.pl hydra_update_gc_roots.plhydra_create.pl hydra_queue_runner.pl </screen></para>