Sámediggi > Divvun
new seed
powered by the dispatcher
spacer

Project infrastructure

by Trond Trosterud

Work environment

The projects files live in a cvs repository on victorio.uit.no. Victorio's predecessor cochise was part of The High Performance Computing Program at the University of Tromsø, but victorio now runs our project only. All the lexicas, project internal scripts and documentation lives here.

From this central, the websites and the web interfaces are built, and gives the disambiguation and spellchecking websites.

The most comfortable way to do development and write documentation is to copy the files from the cvs repository to a local computer, although it is possible to work directly on victorio, too.

CVS Infrastructure

To make CVS commit mailings work, one has to edit the file CVSROOT/loginfo. It should already be set-up correctly, but for the sake of documentation and understanding, it is repeated here:

^gt          mail -s %s samicvs
^kt          mail -s %s samicvs
^st          mail -s %s samicvs
^termdb      mail -s %s samicvs
^xtdoc       mail -s %s samicvs

After that file is created/modified, we need to ensure that the mail alias samicvs is working by editing /etc/aliases. At the bottom of that file, that alias is defined as follows:

samicvs: trond,boerre,sjur,tomi

More names can and will be added when we see that it works, and all has been informed. When the alias is changed, or a new one created, one has to run the command newaliases as root or superuser. Then all mail to the alias samicvs will be forwarded to the local users listed.

Finally, to forward your e-mail to your regular account, create the following file in your home directory: .forward, containing only the mail address of the account you want to receive commit mails on. Remember to add a linefeed at the end (that is, type return). For this forward file to work correctly, it has to have correct permissions, which you ensure with the following command:

chmod 644 .forward

That's it! Now we should all get an e-mail each time someone commits a file. Hint: as the amount of e-mail this generates can be quite high, it is advisable to create a filter in your mail application that will put all cvs and Bugzilla e-mails in a dedicated folder.

Last modified: $Date: 2008-11-05 18:52:54 +0100 (ons, 05 nov 2008) $, by $Author: boerre $

Copyright © 2004-2010 Norgga sámediggi · The Norwegian Sámi Parliament.
Send feedback about the website to: the Webmaster