Open Source Content Management System

midcom.services.rcs

  1. MidCOM Revision Control Service (RCS)
    1. A note on the /var/lib/midgard/rcs directory
    2. Configuration options

MidCOM Revision Control Service (RCS)

This applies to MidCOM version 2.6 and upwards.

The MidCOM RCS is backwards compatible with the older revision control service found in Aegir and also supported by MidCOM Datamanager, however to user the new revision control service, you will have to enable it spesificly in your MidCOM configuration file (usually found in /etc/midgard/midcom.conf).

The simpliest way to do this is to use the autoconf.php file found in the MidCOM support directory. For PEAR installed versions of MidCOM look in the /usr/share/php/midcom/support/midcom/support/ directory for this file.

Just run php autoconf.php and it will generate a suggested configuration for you.

A note on the /var/lib/midgard/rcs directory

It seems that Datagard creates this directory for you, but with the wrong file permissions. Therefore you should check this and make sure that the Apache user can write to the directory.

Also, if you are running several Midgard databases you should use different root directories for each database.

Configuration options

There are three configuration options that may be used with the RCS service:

  • midcom_services_rcs_bin_dir: the prefix for the RCS utilities (usually /usr/bin)
  • midcom_services_rcs_root: the directory where the RCS files get placed. Usually /var/lib/midgard/rcs.
  • midcom_services_rcs_use: If set to true, MidCOM will fail hard if the RCS service is not operational. It is useful to ensure that the service is working.
Designed by Nemein, hosted by Anykey